A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,s[100],i=0,j; while(scanf("%d %d",&a,&b)==…… 题解列表 2018年04月05日 0 点赞 0 评论 946 浏览 评分:0.0
A+B for Input-Output Practice (IV) (C语言代码) 摘要:解题思路:注意事项:while(scanf("%d",&a)&&a!=0)不可以写成while(scanf("%d",&a)!=0)等于具体的值必须用变量进行比较但是对于文件结束符,就必须要用scan…… 题解列表 2018年04月06日 0 点赞 0 评论 780 浏览 评分:0.0
A+B for Input-Output Practice (V) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a,x,num; scanf("%d",&n); int s[n]; //可…… 题解列表 2018年04月06日 0 点赞 0 评论 923 浏览 评分:0.0
A+B for Input-Output Practice (VI) (C语言代码) 摘要:解题思路:注意事项:1变量运算之前必须要进行赋值2文件没结束:scanf(……)!=EOF参考代码:#include<stdio.h>int main(){ int a,x,num=0,s[10…… 题解列表 2018年04月06日 0 点赞 0 评论 1469 浏览 评分:0.0
学会这种方法,可以解决N种类似的问题 摘要:#include<stdio.h> #include<string.h> int main() { char a[100][100],str[100]; …… 题解列表 2018年04月06日 1 点赞 0 评论 1158 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(void){ cout << *******************…… 题解列表 2018年04月06日 0 点赞 1 评论 378 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码)参考Manchester的答案,常规思路,循环链表求解 摘要:这题一开始我是不会的,参考的Manchester的解法,学习了!参考代码如下:#include <stdio.h> #include <string.h> #include <stdlib.h> …… 题解列表 2018年04月06日 1 点赞 0 评论 948 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(void){ int a; //待处理三位数 int ge; …… 题解列表 2018年04月06日 0 点赞 0 评论 802 浏览 评分:0.0
C语言训练-"水仙花数"问题1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>uning namespace std;int main(void){ int a,b,c; //个位十位百位分别为a,b,…… 题解列表 2018年04月06日 0 点赞 0 评论 1088 浏览 评分:0.0
蓝桥杯历届试题-带分数 (C++代码) 摘要:#include<cstdio> #include<iostream> using namespace std; int vis[10]; int a[10],ans,n; long lon…… 题解列表 2018年04月06日 0 点赞 0 评论 1262 浏览 评分:0.0