Codeforces Round #523 (Div. 2) C-Multiplicity
C. Multiplicity time limit per test 3 seconds memo …
C. Multiplicity time limit per test 3 seconds memo …
B. Views Matter time limit per test 2 secon …
A. Coins time limit per test 2 seconds memory limi …
定义: 一棵树的直径就是这棵树上存在的最长路径。 求法: 两次dfs或bfs。第一次任意选一个点进行 …
D. Barcelonian Distance time limit per test 1 seco …
C. Playing Piano time limit per test 1 second memo …
B. Personalized Cup time limit per test 1 second m …
A. Kitchen Utensils time limit per test 1 second m …
while(l<=r) { int mid=(l+r)/2;//min=l+(r-l)/2 防 …
CC always becomes very depressed at the end …