I have a few friends who write rounds in Python, and I noticed that they don't use some very simple optimizations, and the program ends up getting TL. Meanwhile, if you use these constructions, in half or more cases TL is removed.
First,
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
Some easy but useful optimization in Python.
I have a few friends who write rounds in Python, and I noticed that they don't use some very simple optimizations, and the program ends up getting TL. Meanwhile, if you use these constructions, in half or more cases TL is removed.
First,
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en8 | Dart-Xeyter | 2020-10-31 22:48:44 | 9 | Tiny change: ' is quite strong).\n\n~~~~' -> ' is quite a lot).\n\n~~~~' (published) | ||
en7 | Dart-Xeyter | 2020-10-31 22:40:40 | 23 | Tiny change: '1] from a recent round. This cod' -> '1] from a [problem:1413B]. This cod' | ||
en6 | Dart-Xeyter | 2020-10-31 22:36:43 | 33 | |||
en5 | Dart-Xeyter | 2020-10-31 22:34:39 | 907 | |||
en4 | Dart-Xeyter | 2020-10-31 22:25:09 | 1204 | |||
en3 | Dart-Xeyter | 2020-10-31 22:07:55 | 1158 | |||
en2 | Dart-Xeyter | 2020-10-31 21:53:34 | 1349 | |||
en1 | Dart-Xeyter | 2020-10-31 21:24:14 | 285 | Initial revision (saved to drafts) |
Name |
---|