Problem rightangtri
User asruby
Submission Time 2023-11-30 16:27:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0,i < N, i++){
| ^
rightangtri.cpp:10:2: error: expected primary-expression before ‘return’
10 | return 0;
| ^~~~~~
rightangtri.cpp:9:3: error: expected ‘;’ before ‘return’
9 | }
| ^
| ;
10 | return 0;
| ~~~~~~
rightangtri.cpp:10:2: error: expected primary-expression before ‘return’
10 | return 0;
| ^~~~~~
rightangtri.cpp:9:3: error: expected ‘)’ before ‘return’
9 | }
| ^
| )
10 | return 0;
| ~~~~~~
rightangtri.cpp:7:6: note: to match this ‘(’
7 | for (i = 0,i < N, i++){
| ^