Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Can't compile file: Compilation process timed out.

Revision en1, by aijey, 2019-10-25 15:16:55

Hi guys. I wrote my segment tree structure using static buffer in order not to use heap memory. Locally my code was compiling OK, but at Codeforces it wasn't. I'd be grateful if somebody could explain me what's the problem.

Here are links of my submissions. In first submission I had overloaded new operator for my segment tree structure. In second submission I've written my own function, which returns void*. Both submission I tried on all available GNU compilers, and any of them wasn't compiling. Third submission was sent using Microsoft C++ 2017 and it compiled fine.

P.S. I know that I could have written segment tree using arrays instead of pointers, but it's too easy and boring :D

Tags compilation timeout


  Rev. Lang. By When Δ Comment
en1 English aijey 2019-10-25 15:16:55 927 Initial revision (published)