Problem childsetter4
User grapepes
Submission Time 2025-06-17 10:16:09
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: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:31: error: ‘i’ was not declared in this scope
6 | for (int i == 0; i < N; ++i) {
| ^
childsetter4.cpp:11:9: error: expected ‘}’ at end of input
11 | return 0;
| ^
childsetter4.cpp:1:12: note: to match this ‘{’