제출 #1310032

#제출 시각아이디문제언어결과실행 시간메모리
1310032eyadooz사육제 (CEOI14_carnival)C++20
컴파일 에러
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" }

컴파일 시 표준 에러 (stderr) 메시지

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