编程入门]第一个HelloWorld程序 摘要:解题思路:照着题目要求,细心注意换行就行了,cout一行搞定注意事项:换行时注意n前面是\而不是/,另外是单引号参考代码:#include<iostream>using namespace std;i…… 题解列表 2023年07月06日 0 点赞 0 评论 282 浏览 评分:0.0
1045题 : 自定义函数之整数处理 摘要:# 自己写的代码(没有写完) ```c #include int shuru(int a[]){ for(int i=0;i max ) { …… 题解列表 2023年07月06日 0 点赞 0 评论 351 浏览 评分:0.0
鸣人的影分身 摘要: #include using namespace std; int t,n,m; int f[11][11]; int main(){ …… 题解列表 2023年07月06日 0 点赞 0 评论 535 浏览 评分:7.0
简单的很,认真看 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int a[80], max, min, t, temp;int main() { printf("please,in…… 题解列表 2023年07月06日 0 点赞 0 评论 300 浏览 评分:0.0
2799: 奥运奖牌计数(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n][3]; int i,j; for(i=0;i…… 题解列表 2023年07月06日 0 点赞 0 评论 337 浏览 评分:0.0
信息学奥赛一本通T1180-分数线划定--sort排序 摘要:解题思路:定义结构体--按照规定排序--过分数线人数s--输出s名注意事项:结构体使用sort排序需要自己编写排序规则:sort(start,end,排序方法)参考代码:#include<iostre…… 题解列表 2023年07月06日 0 点赞 0 评论 462 浏览 评分:0.0
3ms解决问!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(void) { int num; scanf("%d", &num…… 题解列表 2023年07月06日 0 点赞 0 评论 329 浏览 评分:9.9
2798: 整数序列的元素最大跨度值(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; int i; for(i=0;i…… 题解列表 2023年07月06日 0 点赞 1 评论 546 浏览 评分:9.9
二级C语言-等差数列(使用动态内存分配创建数组) 摘要:解题思路:注意事项:在定义数组a时,使用了变量n作为数组大小,这是不合法的,在C语言中,数组的大小必须是一个常量表达式,不能是变量。这里是将数组的大小改为使用动态内存分配来创建数组,也就是放入循环中参…… 题解列表 2023年07月06日 0 点赞 0 评论 291 浏览 评分:0.0
2797: 最高的分数(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; int i; for(i=0;i…… 题解列表 2023年07月06日 0 点赞 0 评论 664 浏览 评分:9.3