1009: [编程入门]数字的处理与判断 摘要:解题思路:由于本人是一个新手,可能想的会有点复杂。我一开始的想法是:定义一个整形变量x并取值,并进行一系列运算,但是试验了多次后,发现很明显不行,因为一旦对x进行运算,x原有的值便会改变,无法进行下一…… 题解列表 2022年11月20日 0 点赞 0 评论 275 浏览 评分:0.0
简单版)百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c; int i,j; for(i=0;i<20;i++) { f…… 题解列表 2022年11月20日 0 点赞 0 评论 332 浏览 评分:9.9
密码编译c++新手版 摘要:解题思路:注意事项:用了小循环,可以输入多组数据参考代码:#include <iostream>using namespace std;int main () { char a[10]; …… 题解列表 2022年11月20日 0 点赞 0 评论 401 浏览 评分:0.0
通俗易懂C++ 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int N; cin>>N…… 题解列表 2022年11月21日 0 点赞 0 评论 553 浏览 评分:9.9
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int A,B,c; c=pow(2,10); while(~scanf("%d…… 题解列表 2022年11月21日 0 点赞 0 评论 359 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max=a>b?a:b; ma…… 题解列表 2022年11月21日 0 点赞 0 评论 342 浏览 评分:0.0
天坑题--分数线划定(多个坑点) 摘要:解题思路: 题前小叙:昨天才学会的结构体排序,本来以为只是一道简单的分数排序题,看统计 答案错误的好多,结果我一试,错了好几遍才通过,真是不容易啊!所以我特地把题解写出来…… 题解列表 2022年11月21日 0 点赞 0 评论 587 浏览 评分:9.9
编写题解 1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#includeint main(){ char a,b,c,d,e; scanf("%c%c%c%c%c",&a,&b,&c,&d,&e); a=a+4; b=b+4;…… 题解列表 2022年11月21日 0 点赞 0 评论 532 浏览 评分:6.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\nHello World!\n******…… 题解列表 2022年11月21日 0 点赞 0 评论 261 浏览 评分:0.0
编写题解 1005: [编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float c,F; scanf("%f",&F); c=5*(F-32)/9; pri…… 题解列表 2022年11月21日 0 点赞 0 评论 309 浏览 评分:0.0