Submission #902394

#TimeUsernameProblemLanguageResultExecution timeMemory
902394KK_1729Coreputer (IOI23_coreputer)C++17
20 / 100
1 ms428 KiB
#include "coreputer.h" using namespace std; vector<int> malfunctioning_cores(int N) { vector<int> c(N); int k = run_diagnostic({0}); if (k == 1){ c[0] = 1; return c; } if (k == -1){ c[1] = 1; return c; } if (k == 0){ int u = run_diagnostic({0, 1}); if (u == 1){ c[0] = 1; c[1] = 1; return c; } if (u == 0){ return c; } } return c; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...