题解列表

筛选

简短易懂的

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){     char a; while ((a = getchar()) != EOF) { if (a == ……

成绩排序c语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> struct student{    char name[200];    int age; ……

求和训练[小白代码简单易懂][C语言方法]

摘要:解题思路:    1.定义三个基本量a,b,c    2.定义三个计合数量——————    3.输入    4.循环    5.输出注意事项:    主要注意C中各种数据类型的混合计算模式,

c语言函数的链式调用-实例

摘要:解题思路:注意事项:参考代码:‘#include <stdio.h> #pragma warning(disable : 4996 int gcd(int x, int y) {     if……

宏定义函数

摘要:参考代码 #include #define min(x,y,z) xz?y:z) int main(void) { int a,b,c,m,n……

输出Tom数(C++)

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int station = 10;int main(){            ……

循环嵌套实现DNA(C++)

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){         int N, a, b, n = 1;         cin >> N;……