Submission #919051

#TimeUsernameProblemLanguageResultExecution timeMemory
919051brbr7904Road Closures (APIO21_roads)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include "roads.h" using namespace std; vector<int> arr; for (int i = 0; i > -1; i++) { arr.append(i) }

Compilation message (stderr)

roads.cpp:6:1: error: expected unqualified-id before 'for'
    6 | for (int i = 0; i > -1; i++) {
      | ^~~
roads.cpp:6:17: error: 'i' does not name a type
    6 | for (int i = 0; i > -1; i++) {
      |                 ^
roads.cpp:6:25: error: 'i' does not name a type
    6 | for (int i = 0; i > -1; i++) {
      |                         ^