QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#61060#3828. László BabaiNYCU_Yamada#Compile Error//C++23401b2022-11-09 19:18:092022-11-09 19:18:11

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-11-09 19:18:11]
  • Judged
  • [2022-11-09 19:18:09]
  • Submitted

answer

#include <bits/stdc++.h>
using namespace std;

void solve() {
    int m1; cin >> m1;
    for (int i = 0, u, v; i < m1; ++i) cin >> u >> v;
    int m2; cin >> m2;
    for (int i = 0, u, v; i < m2; ++i) cin >> u >> v;
    
    cout << (m1 == m2 ? "yes" : "no") << "\n";
}

int32_t main() {
    fastIO();
    
    int t = 1; // cin >> t;
    while (t--) solve();
    
    return 0;
}

Details

answer.code: In function ‘int32_t main()’:
answer.code:14:5: error: ‘fastIO’ was not declared in this scope
   14 |     fastIO();
      |     ^~~~~~