fork download
  1. #include <bits/stdc++.h>
  2. #define int long long
  3. using namespace std;
  4.  
  5. signed main()
  6. {
  7. ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
  8.  
  9. long long pass;
  10. cin >> pass;
  11.  
  12. while(cin >> pass)
  13. {
  14. if(pass == 1999)
  15. {
  16. cout << "Correct" << endl;
  17. break;
  18. }
  19. else
  20. {
  21. cout<< "Wrong" << endl;
  22. }
  23. }
  24.  
  25.  
  26. }
  27.  
Success #stdin #stdout 0.01s 5268KB
stdin
Standard input is empty
stdout
Standard output is empty