A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; scanf("%d",&n); for(int i=0;i<n;i++)…… 题解列表 2022年11月02日 0 点赞 0 评论 369 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年11月02日 0 点赞 0 评论 239 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[200]; gets (a);…… 题解列表 2022年11月02日 0 点赞 0 评论 337 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,sum; while((scanf("%d",&n)!=EOF)&&(…… 题解列表 2022年11月02日 0 点赞 0 评论 261 浏览 评分:0.0
谁考了第k名c++ 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; struct Student{ int id; double …… 题解列表 2022年11月02日 0 点赞 0 评论 365 浏览 评分:9.9
奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; int main() { in…… 题解列表 2022年11月02日 0 点赞 0 评论 269 浏览 评分:0.0
人口增长问题的C语言详解 摘要:解题思路:计算n年后的人数,要对人口进行循环加法,所以循环体系用for循环或者while循环。注意事项:注意求n年后的人数,第n年的增量不算在其内。也就是循环n-1次即可。输出保留四位小数,四位用%.…… 题解列表 2022年11月02日 0 点赞 6 评论 1212 浏览 评分:8.9
C语言解决输出绝对值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){double x;scanf("%lf",&x);if(x<0)printf("%.2f\n",-x);if(x>…… 题解列表 2022年11月02日 1 点赞 3 评论 1489 浏览 评分:9.0
蛇行矩阵(c语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int N,i=1,j=0,c,a,d; int b=2,q; scanf("%d",&N); q=N; while(j<q) { …… 题解列表 2022年11月02日 0 点赞 0 评论 268 浏览 评分:9.9
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意传传递的数据以及输入的个数数组和想要移动的位数注意事项:移动的写法for (j = b - c; j <b;j++)参考代码:#include <stdio.h>int a[10001]…… 题解列表 2022年11月02日 0 点赞 0 评论 306 浏览 评分:9.9