Problem childsetter4
User grapepes
Submission Time 2025-06-17 10:14:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

childsetter4.cpp: In function ‘int main()’:
childsetter4.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
childsetter4.cpp:7:9: error: ‘string’ was not declared in this scope
7 | string x, y;
| ^~~~~~
childsetter4.cpp:8:16: error: ‘x’ was not declared in this scope
8 | cin >> x >> y;
| ^
childsetter4.cpp:8:21: error: ‘y’ was not declared in this scope
8 | cin >> x >> y;
| ^
childsetter4.cpp:10:9: error: ‘cout’ was not declared in this scope
10 | cout << y << " " << x << endl;}
| ^~~~
childsetter4.cpp:10:34: error: ‘endl’ was not declared in this scope
10 | cout << y << " " << x << endl;}
| ^~~~
childsetter4.cpp:11:9: error: expected ‘}’ at end