Submission #139511

#TimeUsernameProblemLanguageResultExecution timeMemory
139511zoooma13Amusement Park (JOI17_amusement_park)C++14
10 / 100
13 ms1952 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...