Problem childsetter4
User grapepes
Submission Time 2025-06-17 10:19:52
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:15: error: expected ‘;’ before ‘==’ token
7 | for (int i == 0; i < N; i++) {
| ^~~
| ;
childsetter4.cpp:7:16: error: expected primary-expression before ‘==’ token
7 | for (int i == 0; i < N; i++) {
| ^~
childsetter4.cpp:7:27: error: expected ‘)’ before ‘;’ token
7 | for (int i == 0; i < N; i++) {
| ~ ^
| )
childsetter4.cpp:7:29: error: ‘i’ was not declared in this scope
7 | for (int i == 0; i < N; i++) {
| ^
childsetter4.cpp:9:2: error: ‘cout’ was not declared in this scope
9 | cout << y << " " << x;
| ^~~~