Submission #594328

# Submission time Handle Problem Language Result Execution time Memory
594328 2022-07-12T11:00:27 Z keta_tsimakuridze Newspapers (CEOI21_newspapers) C++14
0 / 100
1 ms 212 KB
#include<bits/stdc++.h>
using namespace std;
#define f first
#define s second
#define pii pair<int,int>
#define ll long long
const int N = 2e5 + 5, mod = 1e9 + 7;
int t;
main() {
/*
7 6
1 2
1 3
1 4
1 5
1 6
1 7 */
    int n, m;
    cin >> n >> m;
    cout << (m == n - 1 ? "YES" : "NO");
}

Compilation message

newspapers.cpp:9:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    9 | main() {
      | ^~~~
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -