| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1293671 | rayan_bd | Secret (JOI14_secret) | C++20 | 6151 ms | 4404 KiB |
#include <bits/stdc++.h>
#include "secret.h"
using namespace std;
const int mxN = 1005;
int a[mxN], n;
void Init(int N, int A[]) {
n = N;
for(int i = 0; i <= n; ++i) a[i] = A[i];
}
int Query(int L, int R) {
int x = a[L];
for(int i = L + 1; i <= R; ++i){
x = Secret(x, a[i]);
}
return x;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
