C语言考试练习题_一元二次方程(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c,x1,x2,t; scanf("%lf %lf %lf",&a,&b,&c…… 题解列表 2022年11月04日 0 点赞 0 评论 413 浏览 评分:9.9
1009: [编程入门]数字的处理与判断(入门新手) 摘要:#include<stdio.h>int main(){ int a,b,c,d,e,f,t; scanf("%d",&a); b=a/10000; c=a/1000%10; d=a/100%10; …… 题解列表 2022年11月04日 0 点赞 0 评论 279 浏览 评分:0.0
C语言代码(循环+数列) 摘要: #include #include int main() { // 实现逆序,判断回文数均可写成函数 int n;// 几进制 char ch1[50] = { 0 …… 题解列表 2022年11月05日 0 点赞 0 评论 496 浏览 评分:6.0
1159: 偶数求和 摘要:```cpp #include using namespace std; int main() { int n,m,num[100]; num[0]=2; for…… 题解列表 2022年11月05日 0 点赞 0 评论 480 浏览 评分:0.0
1160: 出圈(c++) 摘要:```cpp #include using namespace std; int main() { int n,m; while(cin>>n>>m) { …… 题解列表 2022年11月05日 0 点赞 0 评论 557 浏览 评分:9.9
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum=0;int j,n,i; while(scanf("%d",&n)!=EOF) …… 题解列表 2022年11月05日 0 点赞 0 评论 248 浏览 评分:0.0
C语言考试练习题_保留字母(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char n[80]; gets(n); for(int …… 题解列表 2022年11月05日 0 点赞 0 评论 308 浏览 评分:0.0
苹果和虫子(超简单) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n, x, y; cin >> n >> x >>…… 题解列表 2022年11月05日 0 点赞 0 评论 518 浏览 评分:6.0
1043一行解(Python) 摘要:注意事项:可以参考一下其他人的一行解,体会其中的不同点参考代码:for data in [i for i in sorted(map(int, input().split()))] : print(d…… 题解列表 2022年11月05日 0 点赞 0 评论 395 浏览 评分:9.9
奥运奖牌计数(超简单,很容易看懂) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0…… 题解列表 2022年11月05日 0 点赞 0 评论 1028 浏览 评分:8.7