2066: [STL训练]第36届ACM亚洲区大连站网络赛The kth great number(注意人数不足k个的时候怎么处理) 摘要:解题思路:注意事项:注意不满k个的时候,输出最大的参考代码:#include<iostream>#include<set>using namespace std;int main(void){ int…… 题解列表 2022年08月23日 0 点赞 0 评论 442 浏览 评分:9.9
权值线段树+离散化+动态规划,时间复杂度O(nlogn) 摘要:解题思路:权值线段树+离散化+动态规划注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define m…… 题解列表 2022年08月23日 0 点赞 2 评论 1921 浏览 评分:8.5
题目 1047: [编程入门]报数问题 摘要:# STL大法好 ```cpp #include #include using namespace std; int n, m = 3, k = 0, t = 0; int main(…… 题解列表 2022年08月23日 0 点赞 3 评论 321 浏览 评分:9.9
题目 1036: [编程入门]带参数宏定义练习 摘要:```cpp #include using namespace std; int main() { int a,b; cin >> a >> b; cout …… 题解列表 2022年08月23日 0 点赞 6 评论 364 浏览 评分:6.0
题目 1037: [编程入门]宏定义的练习 摘要:水个题解 ```cpp #include using namespace std; int main() { int a,b; cin >> a >> b; c…… 题解列表 2022年08月23日 0 点赞 2 评论 591 浏览 评分:6.0
题目 1038: [编程入门]宏定义练习之三角形面积 摘要:```cpp #include #include #include using namespace std; int main() { double a, b, c; …… 题解列表 2022年08月23日 0 点赞 9 评论 895 浏览 评分:8.0
题目 1039: [编程入门]宏定义之闰年判断 摘要:```cpp #include using namespace std; int main() { int a; cin >> a; if (a % 400 ==…… 题解列表 2022年08月23日 0 点赞 2 评论 444 浏览 评分:8.0
题目 1041: [编程入门]宏定义之找最大数 摘要:```cpp #include #include #include using namespace std; int main() { double a, b, c; …… 题解列表 2022年08月23日 0 点赞 1 评论 311 浏览 评分:9.9
1078: Repairing a Road 摘要:```cpp #include #include #include #include #include using namespace std; const int MAXN=110,M…… 题解列表 2022年08月23日 0 点赞 0 评论 898 浏览 评分:9.9
1077: Biggest Number 摘要:做不出来的同志直接把代码抄上吧 ```cpp #include #include using namespace std; short row,col,vis[20][20],ans[100…… 题解列表 2022年08月23日 1 点赞 1 评论 673 浏览 评分:9.9