1001题: 第一个HelloWorld程序 摘要:自己写的代码: #include int main() { printf("**************************\n"); printf("Hello Wor…… 题解列表 2023年04月24日 0 点赞 0 评论 329 浏览 评分:0.0
1002题: 求出三个输入数中的最大值,并返回该值 摘要:# 自己写的代码: ```c #include int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a>b){…… 题解列表 2023年04月24日 0 点赞 0 评论 309 浏览 评分:0.0
1003题: 密码破译 摘要:# 自己写的代码: ```c #include #include int main() { char a[5]; //刚开始写的时候没有定义括号里的数字 for(int…… 题解列表 2023年04月24日 0 点赞 0 评论 279 浏览 评分:0.0
1004题: 母牛生子的故事 摘要:# 自己写的代码 ```c #include int main() { int n; int sum=0; while(~scanf("%d\n",&n)){ …… 题解列表 2023年04月24日 0 点赞 0 评论 269 浏览 评分:0.0
刷題記錄,新手勿怪-带注解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct transcript{ char student_num[20]; char name[20]; int grade[3]…… 题解列表 2023年04月24日 0 点赞 0 评论 307 浏览 评分:0.0
编写题解 2824: 求出e的值 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanne…… 题解列表 2023年04月24日 0 点赞 0 评论 395 浏览 评分:0.0
2760: 整型与布尔型的转换 摘要:解题思路:强制转换就行了注意事项:bool类型在c语言里面没有,要用到头文件#include<stdbool.h>,不过强制转换可以不需要。参考代码:#include<stdio.h>#include…… 题解列表 2023年04月25日 0 点赞 0 评论 554 浏览 评分:0.0
编写题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int n; int sum=0,a=0; if(scanf("%d",&n)==EOF){…… 题解列表 2023年04月25日 0 点赞 0 评论 297 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n; scanf("%d", &n); int a[n]; for (int…… 题解列表 2023年04月25日 0 点赞 0 评论 335 浏览 评分:0.0
1005题: 温度转换 摘要:# 自己写的代码 ```c #include int main() { float n; scanf("%f",&n); printf("c=%.2f",5*(n-32)/9); …… 题解列表 2023年04月25日 0 点赞 0 评论 248 浏览 评分:0.0