제출 #1361210

#제출 시각아이디문제언어결과실행 시간메모리
1361210FZ_LaabidiCarnival (EGOI23_carnival)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
define int long long;
using namespace std;
signed main(){
  int n; cin >> n;
  vector<int>fir (n);
  for(int i=1; i<n; i++){
    for(int j=0; j<i; j++)cin >> fir[j];
  }
  for(int i=0; i<n; i++)cout << i << " ";
}

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

Main.cpp:2:1: error: 'define' does not name a type
    2 | define int long long;
      | ^~~~~~