Submission #30022

# Submission time Handle Problem Language Result Execution time Memory
30022 2017-07-21T13:21:54 Z gabrielsimoes Amusement Park (JOI17_amusement_park) C++14
0 / 100
18 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 18 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 15 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 18 ms 2944 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -