# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
43907 | dhkim0225 | cmp (balkan11_cmp) | C++14 | 10027 ms | 82388 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "cmp.h"
void remember(int n) {
bit_set(n + 1);
}
int compare(int b) {
int res = -1;
for (int i = 0; i <= b; i++) {
if (bit_get(i+1) == 1) {
if (b == i)
res = 0;
if (b!=i)
res = 1;
break;
}
}
return res;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |