# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1149666 | hgmhc | cmp (balkan11_cmp) | C++17 | 916 ms | 83224 KiB |
#include "cmp.h"
#include <bits/stdc++.h>
using namespace std;
struct node {
int l, r, offset;
} t[20]{};
int substr(int n, int l, int r) {
n &= (1<<r) - 1;
n >>= l;
return n;
}
// 875 = 0011 0110 1011
void remember(int n)
{
t[1].l = 4;
t[1].r = 12;
t[2].l = 8;
t[2].r = 12;
t[3].l = 0;
t[3].r = 4;
t[4].l = 10;
t[4].r = 12;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |