# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
49564 | tjd229 | cmp (balkan11_cmp) | C++11 | 2710 ms | 95996 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) {
//edit this
int i;
int a = n;
int r[6];
for (i = 6; i--;){
r[i] = a % 4;
a >>= 2;
}
for (a = i = 0; i < 6; i++){
a += r[i] + 1;
bit_set(a);
a <<= 2;
}
}
int compare(int b) {
//edit this
int i;
int r[6];
int pt[6];
int a = b;
for (i = 6; i--;){
r[i] = a % 4;
a >>= 2;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |