摘要: https://www.luogu.org/problemnew/show/P2356 一维数组解决二维题目,妙啊 阅读全文
posted @ 2019-05-27 00:14 Fzzf1 阅读(125) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_37941471/article/details/82107077 https://blog.csdn.net/m0_37345402/article/details/83718774 https://blog.csdn.net/wjh2622075 阅读全文
posted @ 2019-05-22 19:35 Fzzf1 阅读(130) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/1155/D 阅读全文
posted @ 2019-05-22 16:18 Fzzf1 阅读(104) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ch_vaniteux/article/details/79247061 string str(tobeornottobe); string ptr; ptr = str.substr(4, 5); cout << ptr; 输出的结果是ornot 可以说 阅读全文
posted @ 2019-05-16 16:13 Fzzf1 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Com_ice/article/details/78595358 1.反转函数 reverse()用于反转函数的所有参数 3.reverse(a,a+n); //a表示数组名 n数组长度 输入:HELLO 输出 :OLLEH 阅读全文
posted @ 2019-05-16 16:11 Fzzf1 阅读(1960) 评论(0) 推荐(2) 编辑
摘要: https://vjudge.net/contest/301853#problem/A 阅读全文
posted @ 2019-05-16 15:43 Fzzf1 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 typedef long long ll; 8 char aa[100010]; 9 char bb[100010]; 10 int a[1000010], b[100010]; 11 int c[10000010]; ... 阅读全文
posted @ 2019-05-16 15:41 Fzzf1 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int vis[3][40]; 7 int sum = 0; 8 int n; 9 int ans[20]; 10 void queue(int x) 11 { 12 if (x > n) 13 { 14 su... 阅读全文
posted @ 2019-05-13 19:42 Fzzf1 阅读(143) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1111 不要忘记fa数组的初始化 阅读全文
posted @ 2019-05-10 00:35 Fzzf1 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/1144/E 26进制,任意进制的做法 阅读全文
posted @ 2019-05-09 00:42 Fzzf1 阅读(158) 评论(0) 推荐(0) 编辑