| Problem | rightangtri |
|---|---|
| User | Yichen |
| Submission Time | 2026-05-05 12:36:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rightangtri.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
rightangtri.cpp:5:2: error: expected primary-expression before ‘int’
5 | int t; cin >> t;
| ^~~
rightangtri.cpp:5:2: error: expected ‘}’ before ‘int’
rightangtri.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
rightangtri.cpp:5:9: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | int t; cin >> t;
| ^~~
| sin
rightangtri.cpp:6:2: error: expected unqualified-id before ‘for’
6 | for (int i = 1; i<= t; i++){
| ^~~
rightangtri.cpp:6:18: error: ‘i’ does not name a type
6 | for (int i = 1; i<= t; i++){
| ^
rightangtri.cpp:6:25: error: ‘i’ does not name a type
6 | for (int i = 1; i<= t; i++){
| ^
rightangtri.cpp:12:1: error: expected declaration