제출 #1171407

#제출 시각아이디문제언어결과실행 시간메모리
1171407ezzzay비밀 (JOI14_secret)C++20
6 / 100
6167 ms4420 KiB
#include "secret.h" #include<bits/stdc++.h> using namespace std; #define ff first #define ss second #define pb push_back vector<int>a; int st[5000]; 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 timeMemoryGrader output
Fetching results...