답안 #823786

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
823786 2023-08-13T06:37:30 Z Alihan_8 비밀 (JOI14_secret) C++17
컴파일 오류
0 ms 0 KB
#include "Secret.h"

#include <bits/stdc++.h>

using namespace std;

#define all(x) x.begin(), x.end()
#define pb push_back
#define ln '\n'
//#define int long long

template <class _T>
bool chmin(_T &x, const _T &y){
    bool flag = false;
    if ( x > y ){
        x = y; flag |= true;
    }
    return flag;
}

template <class _T>
bool chmax(_T &x, const _T &y){
    bool flag = false;
    if ( x < y ){
        x = y; flag |= true;
    }
    return flag;
}

const int N = 1e3 + 1;

int a[N][N];

void Init(int N, int A[]) {
    for ( int i = 0; i < N; i++ ){
        int t = A[i];
        for ( int j = i + 1; j < N; j++ ){
            t = Secret(t, A[j]);
            a[i][j] = t;
        }
    }
}

int Query(int L, int R) {
    return a[L][R];
}

Compilation message

secret.cpp:1:10: fatal error: Secret.h: No such file or directory
    1 | #include "Secret.h"
      |          ^~~~~~~~~~
compilation terminated.