Problem rightangtri
User Rigiddivot251112
Submission Time 2026-06-22 16:53:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘for’
7 | for (int i = 1; i <= n; i++){
| ^~~
rightangtri.cpp:7:18: error: ‘i’ was not declared in this scope
7 | for (int i = 1; i <= n; i++){
| ^