Problem | NYCanteen |
---|---|
User | Pan |
Submission Time | 2024-07-07 02:15:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
NYCanteen.cpp: In function ‘void solve()’:
NYCanteen.cpp:28:13: error: expected primary-expression before ‘long’
28 | #define int long long
| ^~~~
NYCanteen.cpp:25:15: note: in expansion of macro ‘int’
25 | #define sz(x) int(x.size())
| ^~~
NYCanteen.cpp:52:9: note: in expansion of macro ‘sz’
52 | while(sz(s) > 0 && s.back().fir > m) {
| ^~
NYCanteen.cpp:52:9: error: expected ‘)’ before ‘long’
52 | while(sz(s) > 0 && s.back().fir > m) {
| ~^
| )
NYCanteen.cpp:28:13: error: expected primary-expression before ‘long’
28 | #define int long long
| ^~~~
NYCanteen.cpp:25:15: note: in expansion of macro ‘int’
25 | #define sz(x) int(x.size())
| ^~~
NYCanteen.cpp:52:9: note: in expansion of macro ‘sz’
52 | while(sz(s) > 0 && s.back().fir > m) {
| ^~