Problem | rightangtri |
---|---|
User | Aum |
Submission Time | 2023-11-10 14:25:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int32_t main()’:
rightangtri.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
rightangtri.cpp:6:2: note: in expansion of macro ‘int’
6 | int n;
| ^~~
rightangtri.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n;
| ^
| yn
rightangtri.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
rightangtri.cpp:8:6: note: in expansion of macro ‘int’
8 | for(int i = 1; i<=n; i++){
| ^~~
rightangtri.cpp:8:10: error: ‘i’ was not declared in this scope
8 | for(int i = 1; i<=n; i++){
| ^
rightangtri.cpp:8:21: error: expected ‘)’ before ‘;’ token
8 | for(int i = 1; i<=n; i++){
| ~ ^
|