Submission #715055

# Submission time Handle Problem Language Result Execution time Memory
715055 2023-03-25T21:53:13 Z The_Cat_Person Logičari (COCI21_logicari) C++14
Compilation error
0 ms 0 KB
#include <iostream>

using namespace std;
int n;
int i=0

int main()
{
    while (i<n)
    {
      string line;
      cin >> line;
      i++
    }
  	
  	cout <<n;
    return 0;
}

Compilation message

Main.cpp:7:1: error: expected ',' or ';' before 'int'
    7 | int main()
      | ^~~