题解列表
[编程入门]利润计算
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i; scanf("%d", &i); if (i <= 100000) ……
绝对值排序(c语言代码,会排序的都会写,不会输出超限)
摘要:解题思路:按照绝对值大小排序注意事项:避免输出超限,以文件结尾符结尾,数组清0参考代码:#include#include#includeint main(){ int n; int i,x……
爱琴海——Huffuman树——超详细注释
摘要:解题思路:看注释注意事项:看注释参考代码:#include
int main()
{
int n;//第一行
int i,j,k,t;//控制循环
int a[1005];//存放数据
s……
找到计算规律(c++)
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ long long a,b,n,i,k=0,sum=0; cin>>n; ……
yes sbsbsbsbsb
摘要:解题思路:sbsbsbsb注意事项:sbsbsbsb参考代码:#include <stdio.h>#include <stdlib.h>#define N 10//输入10个数,求它们的平均值,并输出……
1036 带参数宏定义练习
摘要:参考代码: #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数a,b = map(int,input().split())print(b,a)……
小南解题--纸张尺寸--58ms
摘要:zgn946 13:48 2022/6/12省赛时写的--小南'''for i in range(9): d=[max(b,c)//2,min(b,c)] d.s……