1083Hello, world!(一个while解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a; while(scanf("%d",&a)!=EOF&&a!=&…… 题解列表 2024年05月29日 0 点赞 0 评论 460 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> void matha(float a,float b,float c,double delta)…… 题解列表 2024年05月29日 0 点赞 0 评论 243 浏览 评分:0.0
1084素数的判断(函数判断) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void shuchu(int n){ if(n==0||n==1)//题目包括了这两个,但它们不是素数 return ; if(n=…… 题解列表 2024年05月29日 0 点赞 0 评论 183 浏览 评分:0.0
编写题解 1042: [编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年05月29日 0 点赞 0 评论 565 浏览 评分: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 评论 423 浏览 评分: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 评论 485 浏览 评分:0.0
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 评论 201 浏览 评分:0.0
1088A+B(4)(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d",&n)&&n!=0) { long long arr[n]; …… 题解列表 2024年05月29日 0 点赞 0 评论 174 浏览 评分:0.0
1089A+B(5)(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while(n!=0) { int m; scanf("%d"…… 题解列表 2024年05月29日 0 点赞 0 评论 176 浏览 评分:0.0
1090A+B(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d",&n)!=EOF) { long long arr[n]; …… 题解列表 2024年05月29日 0 点赞 0 评论 360 浏览 评分:0.0