![](https://img-blog.csdnimg.cn/20200723124513563.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Codeforces
文章平均质量分 50
CF练习
努力努力再努力@_@
KEEP CODING ......
展开
-
CodeForces 918B Map的应用 Java版
Problem - 918B - Codeforceshttps://codeforces.com/problemset/problem/918/B这个题看着挺多,实际上就是对Map的使用,推荐一篇博客,能帮你解决这一题。 Java之map使用方法 - 星瑞 - 博客园 (cnblogs.com)https://www.cnblogs.com/gongxr/p/7777717.html import java.util.HashMap; import java.util.Scanner; publi原创 2021-09-22 18:17:51 · 116 阅读 · 0 评论 -
Codeforces Global Round 8, problem: (A) C+=
https://codeforces.com/problemset/problem/1368/A LANG :MS C++ 2017 # include <iostream> # include <cstdio> using namespace std; int main() { int T, a, b, n, cnt, t; scanf_s("%d", &T); while (T--) { scanf_s("%d%d%d", &a, &b,.原创 2020-07-27 10:07:14 · 63 阅读 · 0 评论 -
Educational Codeforces Round 91 (Rated for Div. 2), problem: (A) Three Indices
https://codeforces.com/contest/1380/problem/A LANG :MS C++ 2017 # include <iostream> # include <cstdio> # include <cstring> # include <algorithm> using namespace std; int main() { int T, n, i, j; int st, mid, en; int a[1005]..原创 2020-07-23 21:50:44 · 78 阅读 · 0 评论 -
Codeforces Round #658 (Div. 2), problem: (A) Common Subsequence
https://codeforces.com/contest/1382/problem/A LANG :MS C++ 2017 # include <iostream> # include <cstdio> # include <cstring> # include <algorithm> using namespace std; int main() { int T, n, m, i; int a[1005], b[1005], flag[10..原创 2020-07-23 20:58:50 · 81 阅读 · 0 评论 -
Codeforces Round #656 (Div. 3), problem: (B) Restore the Permutation by Merger
https://codeforces.com/problemset/problem/1385/B LANG :MS C++ 2017 #include <iostream> #include <cstdio> #include <cstring> using namespace std; int main() { int T, n; scanf_s("%d", &T); int flag[55]; int num[105]; while (T-..原创 2020-07-23 17:25:33 · 100 阅读 · 0 评论 -
Codeforces Round #656 (Div. 3), problem: (A) Three Pairwise Maximums
https://codeforces.com/contest/1385/problem/A #include <cstdio> #include<iostream> #include<algorithm> using namespace std; int main() { int T, num[3]; scanf_s("%d",&T); while(T--){ scanf_s("%d %d %d", &num[0], &num[1],原创 2020-07-23 12:41:05 · 108 阅读 · 0 评论