
codeforces
_viceversa
卡耐基梅隆大学2022届计算机
华尔街打工人
展开
-
codeforces #493 A~D(7.1)
因为一些坑爹的人和规定,区域赛大概是不给打了,我也老了跟学弟折腾不动了,以后cf就当深夜娱乐吧TAT A 瞎搞,注意不要sort#include<bits/stdc++.h>using namespace std;int a[1001];int main(){ int n; scanf("%d",&n); for(int i=0;i<...原创 2018-07-02 15:03:21 · 261 阅读 · 0 评论 -
Codeforces #479 E F (5.6)
最近补上学期的题 E http://codeforces.com/contest/977/problem/E 深搜,本题的环只能一一相连,各个环一定是隔开的,注意搜过的标记一下不用再搜。 两种情况都不是环:度不为2、首尾不连通#include<bits/stdc++.h>using namespace std;#define N 2*100001vector&l...原创 2018-07-03 17:15:34 · 181 阅读 · 0 评论 -
Codeforces #494 A~E (7.3)
这把状态奇差,可能是因为令人崩溃的蚊子数量……做完D就快没时间了,E又坑多 A 瞎搞 http://codeforces.com/contest/1003/problem/A#include<bits/stdc++.h>using namespace std;int a[100];int mm;int main(){ int n; scanf("%d"...原创 2018-07-04 11:42:20 · 279 阅读 · 0 评论