# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
487186 | AnasBenMoussa | Secret (JOI14_secret) | C++14 | 426 ms | 4252 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "secret.h"
long long a[10000];
void Init(int N, int A[]){
for(long long i=0;i<N;i++){
a[i]=A[i];
}
}
int Query(int L , int R){
long r;
r=Secret(a[L+1],a[L]);
for(long long i=L+2;i<=R;i++){
r=Secret(r,a[i]);
}
return r;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |