Problem buycoke
User asbx
Submission Time 2023-12-11 14:04:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buycoke.cpp: In function ‘int main()’:
buycoke.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
buycoke.cpp:11:11: note: in expansion of macro ‘int’
11 | d=min(c,int(C/10));
| ^~~
buycoke.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
buycoke.cpp:12:11: note: in expansion of macro ‘int’
12 | e=min(b,int((C-10*d)/5);
| ^~~