Submission #43906

#TimeUsernameProblemLanguageResultExecution timeMemory
43906dhkim0225cmp (balkan11_cmp)C++14
0 / 100
1 ms248 KiB
#include "cmp.h" void remember(int n) { bit_set(n); } int compare(int b) { int res = -1; for (int i = 0; i <= b; i++) { if (bit_get(i) == 1) { if (b == i) res = 0; if (b!=i) res = 1; break; } } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...