直接写就行了 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int i,j=0,n,Sn=0; scanf…… 题解列表 2024年11月11日 2 点赞 1 评论 1022 浏览 评分:9.9
新手较简单的数组方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[55]; int i; a[0]=1;a[1]=2;a[2]=3;a[3]=4; for(i=4;i…… 题解列表 2024年11月11日 0 点赞 0 评论 664 浏览 评分:9.9
温度转换(C语言新手) 摘要:解题思路:注意事项:需注意5和(F-32)之间的乘号不可省略,要写*参考代码:#include <stdio.h>int main(){ float c,F; scanf("%f",&F); c=5*…… 题解列表 2024年11月11日 24 点赞 0 评论 4709 浏览 评分:10.0
太太太太太太太太太太对啦 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d",&x); if(x%2 == 0) prin…… 题解列表 2024年11月11日 0 点赞 1 评论 966 浏览 评分:10.0
x新手小白第一次写题解,如有不完美的地方请多见谅 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int a[12]={31,0,31,30,31,30,31,31,30,31,30,31};void f(int y,int m){…… 题解列表 2024年11月10日 0 点赞 0 评论 730 浏览 评分:7.3
很简单,一看就懂(c语言) 思路其实很简单,我们可以先计算出以周为基础完成的天数,也就是(n/sum)\*7,这样就可以计算出剩下多少道题目n%sum然后接下来处理这些题目,用取余的特性来判断是不是周末```c#includeintmain(){longlonga,b, 题解列表 2024年11月10日 8 点赞 0 评论 1132 浏览 评分:0.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b; scanf("%f %f",&a,&b); printf("%.2f",…… 题解列表 2024年11月10日 0 点赞 0 评论 539 浏览 评分:9.9
使用数组和for循环来便捷解题 摘要:注意本题需要使用到课程第五章的循环和第六章的数组,如果是有基础的同学就可以直接看了参考代码:#include<stdio.h>#include<string.h>int main(){ int …… 题解列表 2024年11月10日 2 点赞 0 评论 860 浏览 评分:10.0
1005: [编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float F,c; scanf("%f",&F); c=5*(F-32)/9; pri…… 题解列表 2024年11月10日 4 点赞 0 评论 1632 浏览 评分:0.0
2865: 紧急措施(结构体+函数解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>// 函数arr用于将字符串中的大写字母转换为小写字母,小写字母转…… 题解列表 2024年11月10日 0 点赞 0 评论 604 浏览 评分:9.9