1087A+B(3)(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)) { if(a==0…… 题解列表 2024年05月29日 0 点赞 0 评论 226 浏览 评分:0.0
1086A+B(2)(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); long long a,b; while(n) { scanf(…… 题解列表 2024年05月29日 0 点赞 0 评论 522 浏览 评分:0.0
10845 A+B(1)(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)!=EOF) { pr…… 题解列表 2024年05月29日 0 点赞 1 评论 479 浏览 评分:0.0
编写题解 1042: [编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年05月29日 0 点赞 0 评论 619 浏览 评分:0.0
1084素数的判断(函数判断) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void shuchu(int n){ if(n==0||n==1)//题目包括了这两个,但它们不是素数 return ; if(n=…… 题解列表 2024年05月29日 0 点赞 0 评论 194 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> void matha(float a,float b,float c,double delta)…… 题解列表 2024年05月29日 0 点赞 0 评论 256 浏览 评分:0.0
1083Hello, world!(一个while解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a; while(scanf("%d",&a)!=EOF&&a!=&…… 题解列表 2024年05月29日 0 点赞 0 评论 487 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:```c #include struct Data{ int year; int month; int day; }data; int main() { …… 题解列表 2024年05月29日 0 点赞 0 评论 144 浏览 评分:9.9
1093字符逆序(一个while和for循环) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[105]; char c; int i=0; while(sc…… 题解列表 2024年05月29日 0 点赞 0 评论 383 浏览 评分:0.0
编写题解 1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> int count(int num) { int i; for(i=…… 题解列表 2024年05月28日 0 点赞 0 评论 326 浏览 评分:0.0