Problem elephants
User Ok
Submission Time 2023-07-02 23:21:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

elephants.cpp:219:11: error: redefinition of ‘const int inf’
219 | const int inf = 1100100100;
| ^~~
elephants.cpp:4:11: note: ‘const int inf’ previously defined here
4 | const int inf = 1100100100;
| ^~~
elephants.cpp:220:5: error: redefinition of ‘int b’
220 | int b = 387;
| ^
elephants.cpp:5:5: note: ‘int b’ previously defined here
5 | int b = 387;
| ^
elephants.cpp:221:20: error: redefinition of ‘std::set<std::pair<int, int> > books’
221 | set<pair<int,int>> books;
| ^~~~~
elephants.cpp:6:20: note: ‘std::set<std::pair<int, int> > books’ previously declared here
6 | set<pair<int,int>> books;
| ^~~~~
elephants.cpp:222:13: error: redefinition of ‘std::vector<int> bucket [487]’
222 | vector<int> bucket[387 + 100];
| ^~~~~~
elep