Submission #909382

#TimeUsernameProblemLanguageResultExecution timeMemory
909382MinhAnhndCoreputer (IOI23_coreputer)C++17
0 / 100
1 ms596 KiB
#include "coreputer.h" #include <bits/stdc++.h> using namespace std; std::vector<int> malfunctioning_cores(int N) { vector<int> a; for (int i = 0;i<=min(7,N-1);i++){ a.push_back(i); } int half = run_diagnostic(a); vector<int> b; for (int i = 0;i<=N-1;i++){ b.push_back(1); } return b; }

Compilation message (stderr)

coreputer.cpp: In function 'std::vector<int> malfunctioning_cores(int)':
coreputer.cpp:10:9: warning: unused variable 'half' [-Wunused-variable]
   10 |     int half = run_diagnostic(a);
      |         ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...