题解列表

筛选

题解c语言代码

摘要:解题思路:用字符的特性来解题,每个字符+4即得到想要的字母。注意事项:这样的代码理解起来非常简单,而且可以加深gets()与puts()的记忆。PS:之前见过大佬这样写的,但是后来找不到了,如果重复纯……

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

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

输出Tom数(C++)

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

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

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

成绩排序c语言

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

二级C语言-计算素数和

摘要:解题思路: 本题主要是解决自定义的函数问题。第一:输入范围m,nscanf("%d%d",&m,&n);第二:利用for循环,从m到n依次检查是否为素数;第三自定义一个函数(关键)    if(x<=……

链表合并(c语言)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>typedef struct Stu{    int id;    int score;    ……

python, 很简单

摘要:解题思路:注意事项:参考代码:print(&#39;**************************&#39;)print(&#39;Hello World!&#39;)print(&#39;**……