Problem | travel |
---|---|
User | YSH2020 |
Submission Time | 2023-12-24 12:53:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
travel.cpp: In function ‘int main()’:
travel.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
travel.cpp:5:5: note: in expansion of macro ‘int’
5 | int n, h; cin >> n >> h;
| ^~~
travel.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, h; cin >> n >> h;
| ^
| yn
travel.cpp:5:12: error: ‘h’ was not declared in this scope
5 | int n, h; cin >> n >> h;
| ^
travel.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
travel.cpp:6:13: note: in expansion of macro ‘int’
6 | vector <int> a (n);
| ^~~
travel.cpp:3:18: error: template argument 2 is invalid
3 | #define int long long;
| ^~~~
tr