제출 #912954

#제출 시각아이디문제언어결과실행 시간메모리
912954penguin133Coreputer (IOI23_coreputer)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; //#define int long long #define pi pair<int, int> #define pii pair<int, pi> #define fi first #define se second #ifdef _WIN32 #define getchar_unlocked _getchar_nolock #endif mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count()); std::vector<int> malfunctioning_cores(int N) { int x = run_diagnostic({0}); if(x == 1)return {1, 0}; else return {0, 1}; }

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

coreputer.cpp: In function 'std::vector<int> malfunctioning_cores(int)':
coreputer.cpp:16:10: error: 'run_diagnostic' was not declared in this scope
   16 |  int x = run_diagnostic({0});
      |          ^~~~~~~~~~~~~~