Problem binaryspells
User blob
Submission Time 2023-11-21 16:42:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binaryspells.cpp: In function ‘int main()’:
binaryspells.cpp:22:41: error: expected primary-expression before ‘long’
22 | totalDamage += damage[i] * (long long << i);
| ^~~~
binaryspells.cpp:22:41: error: expected ‘)’ before ‘long’
22 | totalDamage += damage[i] * (long long << i);
| ~^~~~
| )