Submission #1310032

#TimeUsernameProblemLanguageResultExecution timeMemory
1310032eyadoozCarnival (CEOI14_carnival)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;

#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(x) (int) (x).size()
#define endl '\n'

int main()
{
    cin.tie(0) -> sync_with_stdio(0);

    cout << "0 1 2 1"
}
    

Compilation message (stderr)

carnival.cpp: In function 'int main()':
carnival.cpp:17:22: error: expected ';' before '}' token
   17 |     cout << "0 1 2 1"
      |                      ^
      |                      ;
   18 | }
      | ~