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 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 151 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
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.