제출 #1293671

#제출 시각아이디문제언어결과실행 시간메모리
1293671rayan_bd비밀 (JOI14_secret)C++20
6 / 100
6151 ms4404 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 timeMemoryGrader output
Fetching results...