fork download
  1. // Source: https://u...content-available-to-author-only...o.guide/general/io
  2.  
  3. #include <bits/stdc++.h>
  4. using namespace std;
  5. # define int long long
  6.  
  7. void Solve();
  8.  
  9. signed main() {
  10. ios_base::sync_with_stdio(false);
  11. cin.tie(NULL);
  12.  
  13. int T; cin >> T;
  14. // int T = 1;
  15. while(T--) Solve();
  16. }
  17.  
  18. void Solve() {
  19. int n, m; cin >> n >> m;
  20. cout << n << endl;
  21. }
Success #stdin #stdout 0.01s 5304KB
stdin
6
1 1
2 3
3 5
10 8
100 1233
1000000 1145141
stdout
1
2
3
10
100
1000000