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