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