Submission #139511

# Submission time Handle Problem Language Result Execution time Memory
139511 2019-07-31T23:23:17 Z zoooma13 Amusement Park (JOI17_amusement_park) C++14
10 / 100
13 ms 1952 KB
#include "bits/stdc++.h"
#include "Joi.h"
using namespace std;


void Joi(int N, int M, int A[], int B[], long long X, int T) {
    assert(T == 3);
    for(int i=0; i<N; i++)
        MessageBoard(i ,bool(X&(1LL<<(i%60))));
}
#include "bits/stdc++.h"
#include "Ioi.h"
using namespace std;

long long Ioi(int N, int M, int A[], int B[], int P, int V, int T) {
    assert(T == 3);
    bool b = V;
    while(P%60 || N-P<60)
        b = Move(--P);
    long long X = b;
    for(int i=1; i<60; i++){
        b = Move(++P);
        X |= b*(1LL<<i);
    }
    return X;
}
# Verdict Execution time Memory Grader output
1 Runtime error 3 ms 504 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 10 ms 1272 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 4 ms 880 KB Output is correct
2 Correct 4 ms 880 KB Output is correct
3 Correct 4 ms 764 KB Output is correct
4 Correct 6 ms 944 KB Output is correct
5 Correct 7 ms 940 KB Output is correct
6 Correct 5 ms 812 KB Output is correct
7 Correct 5 ms 936 KB Output is correct
8 Correct 6 ms 936 KB Output is correct
9 Correct 13 ms 1952 KB Output is correct
10 Correct 13 ms 1836 KB Output is correct
11 Correct 13 ms 1712 KB Output is correct
12 Correct 4 ms 892 KB Output is correct
13 Correct 4 ms 1012 KB Output is correct
14 Correct 4 ms 884 KB Output is correct
15 Correct 4 ms 996 KB Output is correct
# Verdict Execution time Memory Grader output
1 Runtime error 10 ms 1144 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 10 ms 1144 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -