fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int N, T;
  5. int A[3009], B[3009], C[3009], D[3009];
  6.  
  7. int main() {
  8. // Input
  9. cin >> N >> T;
  10. for (int i = 1; i <= N; i++) cin >> A[i] >> B[i] >> C[i] >> D[i];
  11.  
  12. // Output
  13. for (int i = 1; i <= T; i++) {
  14. int CurrentMoney;
  15. int CurrentCorps;
  16. cin >> CurrentMoney >> CurrentCorps;
  17. cout << "3" << endl;
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5468KB
stdin
Standard input is empty
stdout
Standard output is empty