works
This commit is contained in:
@@ -18,6 +18,11 @@ public class TestCompetition {
|
||||
competition.newRunner("a");
|
||||
|
||||
competition.simulate();
|
||||
|
||||
Athlete[] top = competition.top3();
|
||||
for (int i = 0; i < top.length; i++) {
|
||||
System.out.println(top[i] + ": " + top[i].getFinalTime());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user