Problem swords
User dooweidde
Submission Time 2026-01-07 23:47:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:2:13: error: expected ‘,’ or ‘;’ before ‘long’
2 | #define int long long
| ^~~~
swords.cpp:30:2: note: in expansion of macro ‘int’
30 | int maxdef = 0;
| ^~~
swords.cpp:32:7: error: ‘maxdef’ was not declared in this scope
32 | if (maxdef < useful[i].second){
| ^~~~~~