Submission #1360172

#TimeUsernameProblemLanguageResultExecution timeMemory
1360172newToll (APIO13_toll)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include <thread>
using namespace std;
int main() {
    this_thread::sleep_for(chrono::milliseconds(300));
      return 0;
}
#include <bits/stdc++.h>
#include <thread>
using namespace std;
int main() {
  this_thread::sleep_for(chrono::milliseconds(300));
  return 0;
}
}

Compilation message (stderr)

toll.cpp:11:5: error: redefinition of 'int main()'
   11 | int main() {
      |     ^~~~
toll.cpp:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
toll.cpp:15:1: error: expected declaration before '}' token
   15 | }
      | ^