题解列表

筛选

1210: 小明A+B(简单解法)

摘要:解题思路:对于小于100的数,对100取余得它本身对于大于100的数,对100取余得后两位参考代码:#include<stdio.h> int main(){ int c,i,n,a,b; sc……

1240: 生日日数

摘要:```cpp #include using namespace std; bool check(int n) { if(n%4==0&&n%100||n%400==0) ……

计算(a+b)*c的值

摘要:解题思路:输入后直接输出注意事项:无参考代码:#include<iostream>  using namespace std;  int main( ){  int a,b,c;  cin>>a>>b……

结构体之成绩记录(简单易懂)

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

1239: 班级人数

摘要:```cpp #include using namespace std; float least_stu(float a,float b) { int N=1; bool ……

1238: 演讲大赛评分

摘要:```cpp #include #include #include using namespace std; int main() { float a[7],b,c,d,e,f,……

1245: 神奇的fans

摘要:```cpp #include using namespace std; int main() { int cmp(const void *a,const void *b),i,n,……

1200: 回文串

摘要:参考代码:#include<stdio.h> #include<string.h> int main(){ int i,j=0; char a[260],b[260]; gets(a);……