제출 #876879

#제출 시각아이디문제언어결과실행 시간메모리
876879LucaGregPipes (CEOI15_pipes)C++17
컴파일 에러
0 ms0 KiB

#include <bits/stdc++.h>

using namespace std;

#define int long long int
#define ff first
#define ss second
#define pb push_back

int main()
{
    int n, m; cin>>n>>m;
    for(int i=1;i<=m;i++){
        int a, b; cin>>a>>b;
    }
    cout<<"0\n";
    
    return 0;
}

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

pipes.cpp:6:23: error: '::main' must return 'int'
    6 | #define int long long int
      |                       ^~~
pipes.cpp:11:1: note: in expansion of macro 'int'
   11 | int main()
      | ^~~