Problem rightangtri
User tomatofrog0w0
Submission Time 2023-11-09 15:01:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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