fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. string x;
  7. int t;
  8.  
  9. for(int q = 0; q < 2; ++ q) {
  10. for(int i = 0; i < 5; ++ i) {
  11. cin >> x;
  12. cout << "[" << x << "]" << endl;
  13. }
  14. for(int i = 0; i < 5; ++ i) {
  15. cin >> t;
  16. cout << "[" << t << "]" << endl;
  17. }
  18. }
  19.  
  20. return 0;
  21. }
Success #stdin #stdout 0s 3432KB
stdin
add
subtract
multiply
divide
wtf
2147483647
3128732818
3498193919
3958199311
4124982919
add
subtract
multiply
divide
wtf
2147483647
3128732818
3498193919
3958199311
4124982919
stdout
[add]
[subtract]
[multiply]
[divide]
[wtf]
[2147483647]
[2147483647]
[2147483647]
[2147483647]
[2147483647]
[wtf]
[wtf]
[wtf]
[wtf]
[wtf]
[2147483647]
[2147483647]
[2147483647]
[2147483647]
[2147483647]