Problem rightangtri
User Roy
Submission Time 2026-07-10 17:16:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:5:21: error: ‘n’ was not declared in this scope
5 | for (int i = 0; i <n;i++){
| ^
rightangtri.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
rightangtri.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^