Submission #487186

#TimeUsernameProblemLanguageResultExecution timeMemory
487186AnasBenMoussaSecret (JOI14_secret)C++14
0 / 100
426 ms4252 KiB
#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 timeMemoryGrader output
Fetching results...