字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; int i,letter=0,nu…… 题解列表 2023年07月07日 0 点赞 0 评论 464 浏览 评分:0.0
编程入门]第一个HelloWorld程序 摘要:解题思路:照着题目要求,细心注意换行就行了,cout一行搞定注意事项:换行时注意n前面是\而不是/,另外是单引号参考代码:#include<iostream>using namespace std;i…… 题解列表 2023年07月06日 0 点赞 0 评论 497 浏览 评分:0.0
1045题 : 自定义函数之整数处理 #自己写的代码(没有写完)```c#includeintshuru(inta[]){for(inti=0;imax){max=a[k];x=k;}}team=a[9];a[9]=max;a[x]=team;for(intj=0;j<10;j++)//输出printf("%d",a[j]);}``` 题解列表 2023年07月06日 0 点赞 0 评论 618 浏览 评分:0.0
鸣人的影分身 #includeusingnamespacestd;intt,n,m;intf[11][11];intmain(){cin>>t;for(inti=0;i>n>>m;cout 题解列表 2023年07月06日 0 点赞 0 评论 806 浏览 评分:7.0
简单的很,认真看 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int a[80], max, min, t, temp;int main() { printf("please,in…… 题解列表 2023年07月06日 0 点赞 0 评论 529 浏览 评分: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 评论 590 浏览 评分:0.0
信息学奥赛一本通T1180-分数线划定--sort排序 摘要:解题思路:定义结构体--按照规定排序--过分数线人数s--输出s名注意事项:结构体使用sort排序需要自己编写排序规则:sort(start,end,排序方法)参考代码:#include<iostre…… 题解列表 2023年07月06日 0 点赞 0 评论 736 浏览 评分:0.0
3ms解决问!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(void) { int num; scanf("%d", &num…… 题解列表 2023年07月06日 0 点赞 0 评论 578 浏览 评分: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 评论 765 浏览 评分:9.9
二级C语言-等差数列(使用动态内存分配创建数组) 解题思路:注意事项:在定义数组a时,使用了变量n作为数组大小,这是不合法的,在C语言中,数组的大小必须是一个常量表达式,不能是变量。这里是将数组的大小改为使用动态内存分配来创建数组,也就是放入循环中参考代码:#includeintmain(){intn, 题解列表 2023年07月06日 0 点赞 0 评论 508 浏览 评分:0.0