Problem waterbottles
User usernamehere
Submission Time 2024-03-23 17:04:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp: In function ‘int main()’:
waterbottles.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long
| ^~~~
waterbottles.cpp:16:13: note: in expansion of macro ‘ll’
16 | ll tot=-k*(ll(h*(w-1) + w*(h-1)));
| ^~
waterbottles.cpp:16:13: error: expected ‘)’ before ‘long’
16 | ll tot=-k*(ll(h*(w-1) + w*(h-1)));
| ~^
| )