题解列表

筛选

九宫重排 (C++代码)

摘要://使用哈希技术,提高检索效率,哈哈哈 #include<cstdio> #include<cstring> using namespace std; typedef int State[……

九宫重排 (C++代码)

摘要:#include<cstdio> #include<cstring> using namespace std; typedef int state[9]; const int maxn = 1……

P1002 (C语言代码)

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

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

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

C语言训练-素数问题 (C语言代码)

摘要:解题思路:用记数器,如果取余为零则记数器为1,如果取余不为零,则记数器为0;当记数器为零时输出1;当记数器为1时输出0注意事项:参考代码: #include<stdio.h> int main……