제출 #783289

#제출 시각아이디문제언어결과실행 시간메모리
783289LucaGregNewspapers (CEOI21_newspapers)C++17
0 / 100
1 ms212 KiB
 
#include <bits/stdc++.h>
 
using namespace std;
 
#define pb push_back
#define ff first
#define ss second
#define int long long int
 
const int INF = 2000000000000000000;
const int mod = 1000000007;

int grau[1010];
 
main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL); cout.tie(0);
    int n, m; cin>>n>>m;
    for(int i=1;i<=m;i++){
        int a, b; cin>>a>>b;
    }
    cout<<"YES\n";
    
    
    return 0;
} 

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

newspapers.cpp:16:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   16 | main()
      | ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...