제출 #1068304

#제출 시각아이디문제언어결과실행 시간메모리
1068304vjudge1COVID tests (CEOI24_covid)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
#define int long long

using namespace std;

bool test_students(vector<bool> mask)

vector<bool> find_positive() {
    int n, p, t;
    cin >> n >> p >> t;
    vector<bool>tmp(n, 0), ans(n, 0);
    for(int i=0; i<n; ++i) {
        tmp[i] = 1;
        vector<bool>x = test_students(tmp);
        ans[i] = x[i];
        tmp[i] = 0;
    }
    return ans;
}

컴파일 시 표준 에러 (stderr) 메시지

Main.cpp:8:1: error: expected initializer before 'vector'
    8 | vector<bool> find_positive() {
      | ^~~~~~