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

Compile Error

childsetter4.cpp: In function ‘int main()’:
childsetter4.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> N;
| ^~~
childsetter4.cpp:7:29: error: expected ‘)’ before ‘;’ token
7 | for (int i=0; i < N; i++;) {
| ~ ^
| )
childsetter4.cpp:7:30: error: expected primary-expression before ‘)’ token
7 | for (int i=0; i < N; i++;) {
| ^
childsetter4.cpp:9:2: error: ‘cout’ was not declared in this scope
9 | cout << y << " " << x;
| ^~~~