Problem rightangtri
User JonahKoh
Submission Time 2025-04-11 16:21:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:11:20: error: found ‘:’ in nested-name-specifier, expected ‘::’
11 | for (ll i = 0; i<n: i++){
| ^
| ::
rightangtri.cpp:11:19: error: ‘n’ is not a class, namespace, or enumeration
11 | for (ll i = 0; i<n: i++){
| ^
rightangtri.cpp:14:2: error: expected primary-expression at end of input
14 | }
| ^
rightangtri.cpp:14:3: error: expected ‘;’ at end of input
14 | }
| ~^
| ;
rightangtri.cpp:14:2: error: expected primary-expression at end of input
14 | }
| ^
rightangtri.cpp:14:3: error: expected ‘)’ at end of input
14 | }
| ~^
| )
rightangtri.cpp:11:6: note: to match this ‘(’
11 | for (ll i = 0; i<n: i++){
| ^
rightangtri.cpp:14:2: error: expected statement at end of input
14 | }
|