# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
254799 | model_code | Viruses (BOI20_viruses) | Java | 641 ms | 41508 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import java.io.*;
import java.util.*;
public class Viruses {
private static class Val implements Comparable<Val> {
private final long value;
private final int i;
private final int st;
private final int en;
public Val(long value, int i, int st, int en) {
this.value = value;
this.i = i;
this.st = st;
this.en = en;
}
@Override
public int compareTo(Val o) {
if (this.value < o.value) {
return -1;
} else if (this.value > o.value) {
return 1;
} else {
if (this.i < o.i) {
return -1;
} else if (this.i > o.i) {
return 1;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |