제출 #1132937

#제출 시각아이디문제언어결과실행 시간메모리
1132937lopkus비밀 (JOI14_secret)C++20
6 / 100
6223 ms4416 KiB
#include <bits/stdc++.h> #include "secret.h" using namespace std; const int N = 1001; vector<int> a(N); void Init(int N, int A[]) { //Secret(0, 1000000000); for(int i = 0; i < N; i++) { a[i] = A[i]; } } int Query(int l, int r) { int ans = a[l]; for(int i = l + 1; i <= r; i++) { ans = Secret(ans, a[i]); } return ans; } /* int main() { }*/
#Verdict Execution timeMemoryGrader output
Fetching results...