# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
41873 | 2018-02-22T02:47:03 Z | funcsr | Horses (IOI15_horses) | C++14 | 28 ms | 8820 KB |
#include "horses.h" #include <vector> #include <iostream> #include <algorithm> #include <queue> #define rep(i, n) for (int i=0; i<(n); i++) using namespace std; int N; int init(int NN, int X[], int Y[]) { N = NN; int mx = 0; int x = 1; rep(i, N) { x *= X[i]; mx = max(mx, x*Y[i]); } return mx; } int updateX(int pos, int val) { return 0; } int updateY(int pos, int val) { return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 248 KB | Output is correct |
2 | Correct | 1 ms | 356 KB | Output is correct |
3 | Correct | 1 ms | 464 KB | Output is correct |
4 | Correct | 1 ms | 572 KB | Output is correct |
5 | Correct | 2 ms | 572 KB | Output is correct |
6 | Correct | 1 ms | 572 KB | Output is correct |
7 | Correct | 1 ms | 612 KB | Output is correct |
8 | Correct | 1 ms | 704 KB | Output is correct |
9 | Correct | 1 ms | 704 KB | Output is correct |
10 | Correct | 2 ms | 704 KB | Output is correct |
11 | Correct | 1 ms | 704 KB | Output is correct |
12 | Correct | 1 ms | 704 KB | Output is correct |
13 | Correct | 1 ms | 704 KB | Output is correct |
14 | Correct | 1 ms | 704 KB | Output is correct |
15 | Correct | 1 ms | 704 KB | Output is correct |
16 | Correct | 2 ms | 704 KB | Output is correct |
17 | Correct | 2 ms | 704 KB | Output is correct |
18 | Correct | 1 ms | 752 KB | Output is correct |
19 | Correct | 1 ms | 752 KB | Output is correct |
20 | Correct | 1 ms | 752 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 752 KB | Output is correct |
2 | Correct | 1 ms | 792 KB | Output is correct |
3 | Correct | 1 ms | 792 KB | Output is correct |
4 | Correct | 1 ms | 792 KB | Output is correct |
5 | Correct | 1 ms | 792 KB | Output is correct |
6 | Correct | 1 ms | 792 KB | Output is correct |
7 | Correct | 1 ms | 792 KB | Output is correct |
8 | Correct | 1 ms | 792 KB | Output is correct |
9 | Correct | 2 ms | 792 KB | Output is correct |
10 | Correct | 2 ms | 792 KB | Output is correct |
11 | Correct | 2 ms | 792 KB | Output is correct |
12 | Correct | 2 ms | 792 KB | Output is correct |
13 | Correct | 2 ms | 792 KB | Output is correct |
14 | Correct | 1 ms | 792 KB | Output is correct |
15 | Correct | 1 ms | 792 KB | Output is correct |
16 | Correct | 1 ms | 792 KB | Output is correct |
17 | Correct | 2 ms | 792 KB | Output is correct |
18 | Correct | 1 ms | 792 KB | Output is correct |
19 | Correct | 2 ms | 792 KB | Output is correct |
20 | Correct | 1 ms | 792 KB | Output is correct |
21 | Incorrect | 1 ms | 792 KB | Output isn't correct |
22 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 28 ms | 8820 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 8820 KB | Output is correct |
2 | Correct | 1 ms | 8820 KB | Output is correct |
3 | Correct | 1 ms | 8820 KB | Output is correct |
4 | Correct | 2 ms | 8820 KB | Output is correct |
5 | Correct | 1 ms | 8820 KB | Output is correct |
6 | Correct | 2 ms | 8820 KB | Output is correct |
7 | Correct | 2 ms | 8820 KB | Output is correct |
8 | Correct | 2 ms | 8820 KB | Output is correct |
9 | Correct | 1 ms | 8820 KB | Output is correct |
10 | Correct | 2 ms | 8820 KB | Output is correct |
11 | Correct | 1 ms | 8820 KB | Output is correct |
12 | Correct | 1 ms | 8820 KB | Output is correct |
13 | Correct | 2 ms | 8820 KB | Output is correct |
14 | Correct | 1 ms | 8820 KB | Output is correct |
15 | Correct | 1 ms | 8820 KB | Output is correct |
16 | Correct | 1 ms | 8820 KB | Output is correct |
17 | Correct | 1 ms | 8820 KB | Output is correct |
18 | Correct | 1 ms | 8820 KB | Output is correct |
19 | Correct | 1 ms | 8820 KB | Output is correct |
20 | Correct | 1 ms | 8820 KB | Output is correct |
21 | Incorrect | 2 ms | 8820 KB | Output isn't correct |
22 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 8820 KB | Output is correct |
2 | Correct | 1 ms | 8820 KB | Output is correct |
3 | Correct | 1 ms | 8820 KB | Output is correct |
4 | Correct | 1 ms | 8820 KB | Output is correct |
5 | Correct | 1 ms | 8820 KB | Output is correct |
6 | Correct | 1 ms | 8820 KB | Output is correct |
7 | Correct | 3 ms | 8820 KB | Output is correct |
8 | Correct | 2 ms | 8820 KB | Output is correct |
9 | Correct | 1 ms | 8820 KB | Output is correct |
10 | Correct | 2 ms | 8820 KB | Output is correct |
11 | Correct | 1 ms | 8820 KB | Output is correct |
12 | Correct | 2 ms | 8820 KB | Output is correct |
13 | Correct | 1 ms | 8820 KB | Output is correct |
14 | Correct | 2 ms | 8820 KB | Output is correct |
15 | Correct | 1 ms | 8820 KB | Output is correct |
16 | Correct | 1 ms | 8820 KB | Output is correct |
17 | Correct | 2 ms | 8820 KB | Output is correct |
18 | Correct | 2 ms | 8820 KB | Output is correct |
19 | Correct | 2 ms | 8820 KB | Output is correct |
20 | Correct | 2 ms | 8820 KB | Output is correct |
21 | Incorrect | 2 ms | 8820 KB | Output isn't correct |
22 | Halted | 0 ms | 0 KB | - |