妹子杀手的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; while(1) { scanf("%d%d",&a,&b); if(a==0&&…… 题解列表 2017年09月20日 1 点赞 0 评论 1608 浏览 评分:4.6
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:思路很简单,就是判断它是不是素数,如果是,就加进去,如果不是就i++。注意事项:值得注意的是有用例是从1开始的,所以要在isprime函数里加一个判断,如果是1就return 0;参考代码:…… 题解列表 2017年09月20日 0 点赞 0 评论 903 浏览 评分:9.5
P1001 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int M=10000;int a[M]={…… 题解列表 2017年09月20日 3 点赞 1 评论 938 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int a,b; while(scanf(“%d%d”,&a,&b)==2) //利用scanf的…… 题解列表 2017年09月20日 3 点赞 1 评论 689 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 55int monther_cow[N];void monther_cow2(int n); int main(){…… 题解列表 2017年09月20日 1 点赞 0 评论 1220 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("*****************\n"); printf("Hello World!\n");…… 题解列表 2017年09月19日 0 点赞 0 评论 638 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("*****************\n"); printf("Hello World\n"); …… 题解列表 2017年09月19日 0 点赞 0 评论 887 浏览 评分:0.0
输出正反三角形 (C语言代码) 摘要:解题思路:注意事项:两个三角形前面的空格也与m的值有关参考代码:#include<stdio.h> int main(){ int m,n,i; scanf("%d %d",&n,&m); …… 题解列表 2017年09月19日 0 点赞 0 评论 1113 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int isprime(int n);int main(){ int m,n,i; int temp = 0; …… 题解列表 2017年09月19日 2 点赞 0 评论 996 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:#include<stdio.h> int main(void){ printf("**************************\n"); printf("Hello World!\n…… 题解列表 2017年09月19日 0 点赞 0 评论 933 浏览 评分:0.0