#include<stdio.h> int main(){ int i=0,x=0,a[5],b; while(b!=10) { scanf("%c",&am 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=0,x=0,a[5],b; while(b!=10) { scanf("%c",&b); a[i…… 题解列表 2021年08月24日 0 点赞 1 评论 651 浏览 评分:6.0
[编程入门]成绩评定 摘要:解题思路:菜鸡解法,不如用swich来解。即swich(l/10)注意事项:参考代码:#include<stdio.h> int main() { int l; scanf("…… 题解列表 2021年08月27日 0 点赞 0 评论 394 浏览 评分:6.0
C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b,c,i; for (i = 100; i <= 999; i++) { a = i % 10…… 题解列表 2021年08月31日 0 点赞 0 评论 924 浏览 评分:6.0
第一个Hello World程序(会说明你们可能错误的原因) 摘要:解题思路:不难,按要求输出“*”和“Hello World!”即可。注意事项:错误原因:①“*”的个数为26个,我特意数过。②我第一次的代码是: …… 题解列表 2021年09月01日 0 点赞 2 评论 1205 浏览 评分:6.0
[编程入门]利润计算(C语言) 摘要:解题思路:就是用很正常的if语句就行了注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x>0&&x<=10…… 题解列表 2021年09月06日 0 点赞 0 评论 590 浏览 评分:6.0
10进制转8进制 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int d; scanf("%d\n",&d); //输入整数,取地址 d; if(d>0…… 题解列表 2021年09月11日 0 点赞 0 评论 649 浏览 评分:6.0
1000以内完数的判断 摘要:解题思路:注意事项:注意输出格式;判断完一个数后记得换行!参考代码:#include<iostream>using namespace std;int main(){ int N; cin>>…… 题解列表 2021年09月12日 0 点赞 0 评论 461 浏览 评分:6.0
朴实无华--初学者的思路 摘要:解题思路:不用数组(笔者此时还没学到XD),这道题直接暴力破解,没那么多花里胡哨的XDDDDD注意事项:如有不用数组的方法,请务必告诉我,学无止境:)参考代码:#include <stdio.h>in…… 题解列表 2021年09月17日 0 点赞 0 评论 625 浏览 评分:6.0
编写题解 1094: 字符串的输入输出处理 摘要:解题思路:注意事项: getchar(); //缓存输入的回车 while(scanf("%s",b)!=EOF)//终端输入时,Ctrl+Z时为死循环参…… 题解列表 2021年09月19日 0 点赞 3 评论 717 浏览 评分:6.0
HELLO WORLDnnijinibjkleigoieugqouigfbio ugdoiuY 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main( ){ printf("Hello World");return 0;}…… 题解列表 2021年09月19日 0 点赞 0 评论 445 浏览 评分:6.0