Submission 306505383
I don't think I wrote abnormal code, so why I got ILE? ILE usually appears in interactive problems, so this is pretty strange.
# | User | Rating |
---|---|---|
1 | tourist | 3856 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3462 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Um_nik | 159 |
5 | atcoder_official | 156 |
6 | djm03178 | 153 |
6 | adamant | 153 |
8 | luogu_official | 149 |
9 | Qingyu | 147 |
9 | awoo | 147 |
Submission 306505383
I don't think I wrote abnormal code, so why I got ILE? ILE usually appears in interactive problems, so this is pretty strange.
Name |
---|
Skill issue bro
So what's the problem? Can you point this out? I couldn't find that anyway :(
Probably because of your custom function for reading input.
Not this problem. The real problem is the constant $$$T$$$.
In FFT the result's size should be larger or equal to twice of the degree of the polynomial, which is $$$2t$$$. And it should be a power of $$$2$$$. So the size is $$$131072$$$, but I thought is was $$$65536$$$.
Anyway, thank you for your advice.
Auto comment: topic has been updated by old_man_die_hard (previous revision, new revision, compare).
I submitted the same submission with G++17 it gives TLE
Finally got accepted.
A lesson: There's a chance to get any verdict by less array size, except accepted.