# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
487185 | AnasBenMoussa | Secret (JOI14_secret) | C++14 | 457 ms | 4400 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"
int a[10000];
void Init(int N, int A[]){
for(int i=0;i<N;i++){
a[i]=A[i];
}
}
int Query(int L , int R){
int r;
r=Secret(a[L+1],a[L]);
for(int i=L+2;i<=R;i++){
r=Secret(r,a[i]);
}
return r;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |