- Difficulty: Hard
- Given the locations of cities and the amount of fuel at each of them, compute the maximum number of cities that can be visited.
- https://app.codility.com/programmers/challenges/bug_wars2022/
- https://app.codility.com/programmers/task/refueling/
- Result
Good
: Correctness 100%, Performance 100%.OK
: Correctness 100%, Performance <100%.Fail
: Correctness <100%, Performance <100%.
- File naming convention
- Code
A
:BugWars2022A.java
- etc
- Code
File | Complexity | Result | Report |
---|---|---|---|
A |
O(N**2) or O(N**2*log(N)) |
Good |
5VETE5 |