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.
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.
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
| Название |
|---|



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.