← Back to topics
Topic

Carldant (Carl The Ant)

h
halil
Ima li neko voljan da mi pomogne oko taska carldant ?

Tačnije, koji ouput je za test:

4 10 1
0 2
1 2
1 1
-1 1

Može se rešiti na papiru. Nikako da mi prodje 3.test i malo sumnjam na solution file.

Dati test je 3. mislim.

Moj output je:

Carl finished the path at time 7
The ants finished in the following order:
0 1 2 3 4 5 6 7 8 9
The last ant finished the path at time 16

Moderators, please check 3rd solution file.
d
dallmeyer
Hey man, hope you can speak English. I'm fairly certain my solution is correct, and it matches what I got when I worked this one out by hand.

The correct answer should be:
Carl finished the path at time 7
The ants finished in the following order:
0 4 1 5 6 2 7 8 9 3
The last ant finished the path at time 16