Submission #43896

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