Problem | lamps |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-29 23:50:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lamps.cpp: In function ‘long long int val(long long int)’:
lamps.cpp:24:12: error: request for member ‘first’ in ‘fp(a)’, which is of non-class type ‘long long int’
24 | #define fi first
| ^~~~~
lamps.cpp:43:21: note: in expansion of macro ‘fi’
43 | return min(c[fp(a).fi][0], c[fp(a).fi][1]);
| ^~
lamps.cpp:24:12: error: request for member ‘first’ in ‘fp(a)’, which is of non-class type ‘long long int’
24 | #define fi first
| ^~~~~
lamps.cpp:43:37: note: in expansion of macro ‘fi’
43 | return min(c[fp(a).fi][0], c[fp(a).fi][1]);
| ^~