Problem rightangtri
User toditisdoingthisforfun
Submission Time 2026-01-08 22:38:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:10:7: error: too few arguments to function ‘void RHT(int, int)’
10 | RHT(n);
| ^
rightangtri.cpp:3:6: note: declared here
3 | void RHT(int n, int k);
| ^~~
rightangtri.cpp: In function ‘void RHT(int, int)’:
rightangtri.cpp:15:24: error: expected ‘)’ before ‘;’ token
15 | for (int i=0; i<n; i++; k++)
| ~ ^
| )
rightangtri.cpp:15:29: error: expected ‘;’ before ‘)’ token
15 | for (int i=0; i<n; i++; k++)
| ^
| ;