제출 #77258

#제출 시각아이디문제언어결과실행 시간메모리
77258MohamedAhmed0비밀 (JOI14_secret)C++14
6 / 100
11059 ms4684 KiB
#include <bits/stdc++.h>
using namespace std ;
#include "secret.h"
int arr[1001] ;

void Init(int N, int A[])
{
    for(int i = 0 ; i < N ; ++i)
        arr[i] = A[i] ;
}
int Query(int l, int r)
{
    int x = arr[l] ;
    for(int i = l+1 ; i <= r ; ++i)
        x = Secret(x , arr[i]);
    return x ;
}
#Verdict Execution timeMemoryGrader output
Fetching results...