题解列表

筛选

勾股数 (C语言代码)

摘要:#include <stdio.h> int main() {  int i,j,k;  for(i=3;i<=1000;i++)   for(j=i;j<=1000;j++)    fo……

班级人数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float p,q; int i,cheak; while (scanf("%f%f",&p,&q)!=EOF……

第几天 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct Data{ int year; int month; int day;};int ComputerDays(struct……

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

摘要:解题思路:用m记录母牛,c[3]分别记录1到3岁的母牛。注意事项:竟然跟舍友不谋而合。比较好理解,当然跟大佬的代码效率上还是有区别。参考代码:#include<stdio.h>#include<str……