Submission #912954

#TimeUsernameProblemLanguageResultExecution timeMemory
912954penguin133Coreputer (IOI23_coreputer)C++17
Compilation error
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};
}

Compilation message (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});
      |          ^~~~~~~~~~~~~~