답안 #961062

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
961062 2024-04-11T13:09:17 Z PagodePaiva Newspapers (CEOI21_newspapers) C++17
0 / 100
1 ms 344 KB
#include<bits/stdc++.h>
#define N 1010

using namespace std;

vector <int> g[N];

int main(){
    int n, m;
    cin >> n >> m;
    for(int i = 0;i < m;i++){
        int a, b;
        cin >> a >> b;
    }
    if(m == n-1){
        cout << "NO\n";
        return 0;
    }
    cout << "YES\n";
    cout << 1 << endl;
    cout << 1 << endl;
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -