蓝桥杯2022年第十三届省赛真题-重新排序(贪心,差分数组) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e5 + 5…… 题解列表 2022年08月18日 0 点赞 0 评论 1092 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:解题思路:... ... ... ... ... ... ... ... ... ...注意事项:无参考代码:#include<iostream>using namespace std;int mai…… 题解列表 2022年08月18日 0 点赞 0 评论 597 浏览 评分:9.9
简单的模拟题,时间复杂度O(n+mlogm) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define maxm 100010#def…… 题解列表 2022年08月18日 0 点赞 0 评论 472 浏览 评分:6.0
[编程入门]数字逆序输出 摘要:解题思路:简单暴力注意事项:参考代码:int main(){ int a, b,c,d,e,f,g,h,i,j ; scanf("%d %d %d %d %d %d %d %d %d %d", &a,…… 题解列表 2022年08月18日 0 点赞 0 评论 486 浏览 评分:9.9
题目 1050: [编程入门]结构体之成绩记录 摘要:```cpp #include #include using namespace std; int n; struct node { string a, b; in…… 题解列表 2022年08月18日 0 点赞 0 评论 523 浏览 评分:9.9
大家注意坑爹审题 摘要:解题思路:一次for循环轻松解决。注意事项:注意题目要求参考代码:#include<stdio.h>int main(){ int n,i,a=0,Sn=0; scanf("%d",&n); for(…… 题解列表 2022年08月18日 0 点赞 0 评论 539 浏览 评分:0.0
编写题解 1035: [编程入门]自定义函数之字符类型统计 摘要:```c //自定义函数之字符类型统计 #include #include void StrStatic(){ char s[200]; gets(s);//接受输入的字符串,并保…… 题解列表 2022年08月18日 0 点赞 0 评论 462 浏览 评分:9.9
Minesweeper(留个记录) 摘要:解题思路:注意事项:字符输入—scanf(" %c")(空格可换成\n \t),单个字符读取,可忽略掉空格、换行参考代码:#include <stdio.h> //查找周围雷的数量 int min…… 题解列表 2022年08月19日 0 点赞 0 评论 401 浏览 评分:9.9
小九九 常规做法 摘要:```c #include int main() { int sum=1,i,j; for(i=1;i…… 题解列表 2022年08月19日 0 点赞 0 评论 482 浏览 评分:0.0
嘿嘿嘿来看看 摘要:#include #include int main(void) { int a[4]; for (int i=0;i…… 题解列表 2022年08月19日 0 点赞 0 评论 422 浏览 评分:0.0