# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1171385 | ezzzay | Secret (JOI14_secret) | C++20 | 6191 ms | 4416 KiB |
#include "secret.h"
#include<bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define pb push_back
vector<int>a;
void Init(int N, int A[]) {
for(int i=0;i<N;i++)a.push_back(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... |