Todday, when i am submit my code, the result is Compilation error.
But the reason of that is Can't compile file:Compilation process timed out.
And the code can work well in my computer. So what's happening? Is this a bug? What can i do for it?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
Todday, when i am submit my code, the result is Compilation error.
But the reason of that is Can't compile file:Compilation process timed out.
And the code can work well in my computer. So what's happening? Is this a bug? What can i do for it?
Название |
---|
And the more stupid thing is that when i want to submit it again, it can't be submitted because of same code.
just add a space
It seems that only this problem have such problem. MikeMirzayanov please fix it.
The issue is in your struct node. The default opeator $$$=$$$ seems to have bug and writing constructor can fix it. 189669100
I believe this is some kind of GCC bugs. And I faced this exact issue years ago as well. 85383716
My issue back then was also in this line
After that, I never use default assignment in struct again and always write constructor instead.
The reason it worked on your computer might be because you use later version of GCC and this is already fixed on that version. But the GCC version is not updated here very frequently, so I guess we can do nothing, but wait or request for the new update.