# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
468400 | rainliofficial | Cloud Computing (CEOI18_clo) | Java | 2921 ms | 14208 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 clo {
static int n, m;
static Item[] arr;
static int[][] computer, work;
static long[] dp, pdp;
public static void main(String[] args) throws IOException{
BufferedReader file = new BufferedReader(new InputStreamReader(System.in));
//BufferedReader file = new BufferedReader(new FileReader("file.in"));
//PrintWriter outfile = new PrintWriter (new BufferedWriter(new FileWriter("clo.out")));
n = Integer.parseInt(file.readLine());
computer = new int[n][3];
int sumCores = 0;
for (int i=0; i<n; i++){
StringTokenizer st = new StringTokenizer(file.readLine());
int c = Integer.parseInt(st.nextToken());
int f = Integer.parseInt(st.nextToken());
int e = Integer.parseInt(st.nextToken());
computer[i] = new int[] {c, f, e};
}
m = Integer.parseInt(file.readLine());
arr = new Item[n+m];
work = new int[m][3];
for (int i=0; i<m; i++){
StringTokenizer st = new StringTokenizer(file.readLine());
int c = Integer.parseInt(st.nextToken());
int f = Integer.parseInt(st.nextToken());
int e = Integer.parseInt(st.nextToken());
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |