aaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,m,i,j,sum,h; scanf("%d%d",&n,&m); int a[…… 题解列表 2022年10月22日 0 点赞 0 评论 354 浏览 评分:0.0
1164: 数组的距离 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int m = 0, n = 0, f[1001] =…… 题解列表 2022年10月22日 0 点赞 0 评论 259 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:注意看题目样例输出,要用整除。参考代码:n=int(input()) #元素个数 ls=list(map(int,input().split())) #将输入的元素打包为整型数组…… 题解列表 2022年10月22日 0 点赞 0 评论 1165 浏览 评分:9.6
1860: 区间中最大的数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n = 0, arr[1001] = {0}, q = 0; scanf(…… 题解列表 2022年10月22日 0 点赞 0 评论 625 浏览 评分:0.0
接水问题C++ 摘要:解题思路:排队同学依次接水,用放水量来控制接完水,如果接完水,下一排队的加入该水管,直到没有排队的m+s=n跳出,求最大水管量输出即可。注意事项:参考代码:#include<iostream>usin…… 题解列表 2022年10月22日 3 点赞 0 评论 1325 浏览 评分:7.5
结构体之成绩记录 摘要:解题思路:input()和print()要传入次数N和结构体*stu或者syu[];若结构体定义的全局变量,则不需要传入结构体注意事项:参考代码:#include <iostream>using na…… 题解列表 2022年10月22日 0 点赞 0 评论 327 浏览 评分:9.9
代码看着较长,但非常易懂 摘要:参考代码:#include <stdio.h> int main(void) { int N; scanf("%d", &N); int i = 0; for (i = 1; i …… 题解列表 2022年10月22日 0 点赞 0 评论 258 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <string>#include<algorithm>struct st…… 题解列表 2022年10月22日 0 点赞 0 评论 331 浏览 评分:9.9
编写题解 2916: 谁考了第k名 摘要:解题思路:输入*判断*输出注意事项:在修改m和m+1位置的时候要记得修改ID的顺序参考代码:#include<stdio.h> typedef struct student{ //构成结构 …… 题解列表 2022年10月22日 0 点赞 0 评论 1022 浏览 评分:9.9
平均值计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ float s[10],c=0,t; int i; …… 题解列表 2022年10月22日 0 点赞 0 评论 2376 浏览 评分:9.9