Submission #26585

# Submission time Handle Problem Language Result Execution time Memory
26585 2017-07-03T10:05:54 Z model_code Amusement Park (JOI17_amusement_park) C++14
0 / 100
22 ms 2944 KB
#include "Joi.h"

void Joi(int N, int M, int A[], int B[], long long X, int T) {
	for(int i = 0; i < 60; i++) MessageBoard(i, !!(X&(1ll<<i)));
	for(int i = 60; i < N; i++) MessageBoard(i, !!(i&1));
}
#include "Ioi.h"
typedef long long ll;

long long Ioi(int N, int M, int A[], int B[], int P, int V, int T) {
	ll ret = 0;
	for(int i = 0; i < 60; i++) ret += (ll)Move(i)<<i;
	return ret;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 22 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 12 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 22 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -