Problem spellofweakness
User Dolphy
Submission Time 2023-11-25 18:38:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spellofweakness.cpp:3:1: error: ‘define’ does not name a type
3 | define ll long long;
| ^~~~~~
spellofweakness.cpp: In function ‘int main()’:
spellofweakness.cpp:5:5: error: ‘ll’ was not declared in this scope
5 | ll n, d, k;
| ^~
spellofweakness.cpp:6:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | cin >> n >> d >> k;
| ^
| yn
spellofweakness.cpp:6:17: error: ‘d’ was not declared in this scope
6 | cin >> n >> d >> k;
| ^
spellofweakness.cpp:6:22: error: ‘k’ was not declared in this scope
6 | cin >> n >> d >> k;
| ^
spellofweakness.cpp:7:7: error: expected ‘;’ before ‘enemies’
7 | ll enemies[n], total=0, max=-1;
| ^~~~~~~~
| ;
spellofweakness.cpp:8:36: error: ‘enemies’ was not declare