Submission #910247

#TimeUsernameProblemLanguageResultExecution timeMemory
910247AlphanumericCoreputer (IOI23_coreputer)C++17
20 / 100
1 ms344 KiB
#include "coreputer.h" std::vector<int> malfunctioning_cores(int N) { int ans=run_diagnostic({0}); if(ans==1) return {1,0}; if(ans==-1) return {0,1}; if(ans==0) return {1,1}; }

Compilation message (stderr)

coreputer.cpp: In function 'std::vector<int> malfunctioning_cores(int)':
coreputer.cpp:8:1: warning: control reaches end of non-void function [-Wreturn-type]
    8 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...