1202: 多输入输出练习1 摘要:```cpp #include using namespace std; int main() { int x,max; while(cin>>x) { …… 题解列表 2023年01月01日 0 点赞 0 评论 497 浏览 评分:9.9
1201: 回文数(一) 摘要:```cpp #include #include using namespace std; bool is_huiwen(int n) { char a[100]; bo…… 题解列表 2023年01月01日 0 点赞 0 评论 583 浏览 评分:9.9
1200: 回文串 摘要:```cpp #include #include using namespace std; int main() { char ch[255]; bool falg=tr…… 题解列表 2023年01月01日 0 点赞 0 评论 703 浏览 评分:9.9
(C++)剪刀石头布(数组实现) 摘要:解题思路:二维数组存胜负平结果注意事项:参考代码:#include <iostream> using namespace std; int main() { int ap[3][3…… 题解列表 2023年01月01日 0 点赞 0 评论 421 浏览 评分:0.0
用两个变量解决等差数列求和 摘要:解题思路:用两个变量来解决等差数列求和的问题注意事项:注意两个变量之间的关系参考代码:#include<stdio.h>int main(){ int n,i,sum1=2,sum2=0; …… 题解列表 2023年01月01日 0 点赞 0 评论 356 浏览 评分:9.9
[编程入门]结构体之时间设计--傻瓜式写法(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct date{ int year; int month; int day; }; in…… 题解列表 2023年01月01日 0 点赞 0 评论 271 浏览 评分:9.9
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码://输入一个长方形的长和宽(整数),输出该长方形的周长C和面积S,要求格式如例(请注意打印“C:”、“S:”,使用半角冒号,参考样例输出)。 #include <std…… 题解列表 2023年01月01日 0 点赞 0 评论 337 浏览 评分:0.0
c语言超简单解答 摘要:解题思路:注意事项:参考代码:int a=1,b=4,c=100,d; scanf("%d%d%d",&a,&b,&c); d=a+(b-a)*(c-1); printf("%d",d); …… 题解列表 2023年01月01日 0 点赞 0 评论 724 浏览 评分:9.9
利用for循环解决平均值计算 摘要:解题思路:以数组的方式输入一系列数,通过for循环求得平均数,再通过for循环计算大于平均数的个数。注意事项:符号的输入,数据的处理参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年01月01日 0 点赞 0 评论 589 浏览 评分:0.0