编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\nHello World!\n******…… 题解列表 2022年11月21日 0 点赞 0 评论 214 浏览 评分: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 评论 263 浏览 评分:0.0
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<1) y=x; els…… 题解列表 2022年11月21日 0 点赞 0 评论 241 浏览 评分:0.0
编写题解 1008: [编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x>=0 && x<=100) …… 题解列表 2022年11月21日 0 点赞 0 评论 209 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,i,num,result; scanf("%d",&i); if(i>=0 &…… 题解列表 2022年11月21日 0 点赞 0 评论 227 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,num=1,result; scanf("%d",&n); for(i=1;i<n;++i…… 题解列表 2022年11月21日 0 点赞 0 评论 259 浏览 评分:0.0
这或许是最简单的方法.(用getchar()读取每一个字符 + isalpha()函数判断 摘要:解题思路:根本不需要用到字符串函数,让程序一个一个字符去读取然后输出就可以了, 不需要先读取后删除, 如果遇到不是英文字母的直接不输出注意事项:参考代码:int main(){ char ch;…… 题解列表 2022年11月21日 0 点赞 0 评论 373 浏览 评分:9.9
选择法)最大数位置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[1001]; int i; int j; int n; int max…… 题解列表 2022年11月21日 0 点赞 0 评论 459 浏览 评分:6.7
编程入门-求和训练 摘要: 注意for循环的 表达式2 用|| 而不是&& 只要还有一个没满足 就继续循环下去 参考代码:#include<stdio.h> int main(){ int a; int b; i…… 题解列表 2022年11月21日 0 点赞 0 评论 198 浏览 评分:0.0
津津的储蓄计划(不懂我吃屎) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c…… 题解列表 2022年11月21日 0 点赞 0 评论 661 浏览 评分:8.7