BARBARIANNNNN's blog

By BARBARIANNNNN, history, 22 months ago, In English

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.

my submission

And the code can work well in my computer. So what's happening? Is this a bug? What can i do for it?

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

And the more stupid thing is that when i want to submit it again, it can't be submitted because of same code.

»
22 months ago, # |
  Vote: I like it +11 Vote: I do not like it

It seems that only this problem have such problem. MikeMirzayanov please fix it.

»
22 months ago, # |
Rev. 7   Vote: I like it 0 Vote: I do not like 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

Spoiler

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.