Problem rightangtri
User NotTYR
Submission Time 2023-04-14 16:46:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=1,i<=n,i++){
| ^
rightangtri.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^
rightangtri.cpp:14:3: error: expected ‘;’ before ‘}’ token
14 | }
| ^
| ;
15 | }
| ~
rightangtri.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^
rightangtri.cpp:14:3: error: expected ‘)’ before ‘}’ token
14 | }
| ^
| )
15 | }
| ~
rightangtri.cpp:8:5: note: to match this ‘(’
8 | for(i=1,i<=n,i++){
| ^
rightangtri.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^