# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
41522 | pica4500 | cmp (balkan11_cmp) | C++98 | 965 ms | 82448 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"
#include <algorithm>
using namespace std;
void remember(int n) {
bit_set(n + 1);
}
int compare(int b) {
b++;
if (bit_get(b)) return 0;
for (int i = 1; i < min(1000, b); i++) if (bit_get(i)) return 1;
return -1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |