Problem rightangtri
User tomatofrog0w0
Submission Time 2023-11-09 14:59:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int32_t main()’:
rightangtri.cpp:12:7: error: ‘i’ was not declared in this scope
12 | if (i = 1; line < i; i++){
| ^
rightangtri.cpp:12:22: error: expected ‘)’ before ‘;’ token
12 | if (i = 1; line < i; i++){
| ~ ^
| )
rightangtri.cpp:12:24: error: ‘i’ was not declared in this scope
12 | if (i = 1; line < i; i++){
| ^
rightangtri.cpp:17:2: error: ‘else’ without a previous ‘if’
17 | else{
| ^~~~