Compilation Error with no error message

Revision en2, by RBurgundy, 2022-09-05 22:42:21

Compiling the following code under both 64-bit C++ versions gives a compiler error, but no useful error message, just "Invocation failed [COMPILATION_ERROR] Can't compile file:".

This compiles and runs fine on my machine (I use a large stack size). Is it possible to get a more useful error message from Codeforces here? Also, where are the compilation flags documented? I found https://mirror.codeforces.com/blog/entry/79 from the FAQ but it seems quite out of date.

#include <bits/stdc++.h>

constexpr int32_t MAXN = 2e5 + 5;

int main() {

    std::array<std::vector<int32_t>, MAXN> a{};

    return 0;
}
Tags c++, compilation error

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English RBurgundy 2022-09-05 22:42:21 0 (published)
en1 English RBurgundy 2022-09-05 22:41:57 675 Initial revision (saved to drafts)