Problem | sandwich |
---|---|
User | Pan |
Submission Time | 2024-08-02 20:59:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandwich.cpp:12:23: error: variable or field ‘scanf’ declared void
12 | #define input(x) scanf("%lld", &x);
| ^
sandwich.cpp:74:13: note: in expansion of macro ‘input’
74 | inline void input(ll & x) {
| ^~~~~
sandwich.cpp:74:22: error: expected primary-expression before ‘&’ token
74 | inline void input(ll & x) {
| ^
sandwich.cpp:12:33: note: in definition of macro ‘input’
12 | #define input(x) scanf("%lld", &x);
| ^
sandwich.cpp:74:24: error: ‘x’ was not declared in this scope
74 | inline void input(ll & x) {
| ^
sandwich.cpp:12:33: note: in definition of macro ‘input’
12 | #define input(x) scanf("%lld", &x);
| ^
sandwich.cpp:74:27: error: expected unqualified-id before ‘{’ token
74 | inline void input(ll & x) {
|