제출 #1256828

#제출 시각아이디문제언어결과실행 시간메모리
1256828aaldofebrian비밀 (JOI14_secret)C++20
6 / 100
6214 ms4400 KiB
#include "secret.h" #include <vector> using namespace std; static vector<int> arr; void Init(int N, int A[]) { arr.assign(A, A + N); } int Query(int L, int R) { int res = arr[L]; for (int i = L + 1; i <= R; i++) { res = Secret(res, arr[i]); } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...