Problem rightangtri
User Hi1057
Submission Time 2025-06-27 20:33:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:6:7: error: ‘i’ was not declared in this scope
6 | for (i = 1; i <= n; ++i) {
| ^
rightangtri.cpp:7:8: error: ‘j’ was not declared in this scope
7 | for (j = 1; j <= i; +=1) {
| ^
rightangtri.cpp:7:23: error: expected primary-expression before ‘+=’ token
7 | for (j = 1; j <= i; +=1) {
| ^~