Codeforces Round #762 (Div. 3)
Codeforces Round #762 (Div. 3)
| A | Square String?standard input/output1 s, 256 MB | ||
|---|---|---|---|
![]() |
|||
| B | Squares and Cubesstandard input/output1 s, 256 MB | ||
1e3^3=1e9 故特判一下1e3中只是立方而不是平方的个数即可。 |
|||
| C | Wrong Additionstandard input/output1 s, 256 MB![]() 模拟手算。 |
||
| D | New Year's Problemstandard input/output2 s, 256 MB ![]() 二分最少数量,参数传递要加&,或者定义全局变量 vector<vector<int>> a 然后 a.assign(n,vector<int> (m)) 即可,不能用a.resize(n,vector<int> (m))。搜索不行,数据量太大了。 |
||
| E | MEX and Incrementsstandard input/output2 s, 256 MB ![]() 手算模拟。可以用stack来代替map。 |
||





浙公网安备 33010602011771号