Submission #123018

# Submission time Handle Problem Language Result Execution time Memory
123018 2019-06-30T02:59:30 Z onjo0127 Amusement Park (JOI17_amusement_park) C++14
10 / 100
23 ms 2436 KB
#include "Joi.h"
#include <bits/stdc++.h>
using namespace std;
 
void Joi(int N, int M, int A[], int B[], long long X, int T) {
	for(int i=0; i<N; i++) MessageBoard(i, (X >> (i%60)) & 1LL);
}
#include "Ioi.h"
#include <bits/stdc++.h>
using namespace std;
 
static int move(int x) {
	// printf("dest: %d\n", x);
	return Move(x);
}
 
static long long ret = 0;
 
long long Ioi(int N, int M, int A[], int B[], int P, int V, int T) {
	long long xx = V;
	while(P % 60 || P + 60 > N) xx = move(--P);
	for(long long i=0; i<60; i++) {
		if(xx) ret += (xx << i);
		if(i+1 < 60) xx = move(++P);
	}
	return ret;
}
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 756 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 23 ms 2432 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 4 ms 884 KB Output is correct
2 Correct 4 ms 764 KB Output is correct
3 Correct 4 ms 756 KB Output is correct
4 Correct 6 ms 940 KB Output is correct
5 Correct 5 ms 936 KB Output is correct
6 Correct 6 ms 800 KB Output is correct
7 Correct 5 ms 936 KB Output is correct
8 Correct 5 ms 928 KB Output is correct
9 Correct 12 ms 1824 KB Output is correct
10 Correct 12 ms 1936 KB Output is correct
11 Correct 12 ms 1824 KB Output is correct
12 Correct 4 ms 884 KB Output is correct
13 Correct 4 ms 756 KB Output is correct
14 Correct 4 ms 848 KB Output is correct
15 Correct 4 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 23 ms 2436 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 23 ms 2432 KB Wrong Answer [7]
2 Halted 0 ms 0 KB -