Problem cardgame
User Xiaoyang
Submission Time 2024-12-04 23:43:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cardgame.cpp: In function ‘int main()’:
cardgame.cpp:44:9: error: expected unqualified-id before numeric constant
44 | rep(1,L,i+1){
| ^
cardgame.cpp:14:28: note: in definition of macro ‘rep’
14 | #define rep(i,a,b) for (ll i=a;i<(b);i++)
| ^
cardgame.cpp:44:9: error: expected ‘;’ before numeric constant
44 | rep(1,L,i+1){
| ^
cardgame.cpp:14:28: note: in definition of macro ‘rep’
14 | #define rep(i,a,b) for (ll i=a;i<(b);i++)
| ^
cardgame.cpp:44:11: error: lvalue required as left operand of assignment
44 | rep(1,L,i+1){
| ^
cardgame.cpp:14:30: note: in definition of macro ‘rep’
14 | #define rep(i,a,b) for (ll i=a;i<(b);i++)
| ^
cardgame.cpp:14:37: error: expected ‘)’ before ‘;’ token
14 | #define rep(i,a,b) for (ll i=a;i<(b);i++)