题解列表

筛选

明明的随机数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int N,k,*V; int ……

母牛的故事 (C语言代码)

摘要:解题思路:利用数组叠加注意事项:第8年牛的数量和第九年牛的数量要搞清楚参考代码:#include<stdio.h>#include<string.h>#define N 55int main(){  ……

字符逆序 (C++代码)

摘要:解题思路:algorithm头文件注意事项:参考代码:#include <iostream>#include <algorithm>#include <string> using namespace ……

日期排序 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<algorithm> using namespace std; cons……

人民币问题 (C语言代码)

摘要:解题思路:默认各个面额各有一张然后逐次循环注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int n,i=0,j=0,five=1,……

简单的a+b (C语言代码)

摘要:解题思路:注意事项:参考代码#include "stdio.h"int main(){    int a,b;    scanf("%d %d",&a,&b);    printf("a+b=%d",……