# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
436599 | Mamnoon_Siam | Shopping (JOI21_shopping) | C++17 | 115 ms | 812 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 "Anna.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
#define all(v) begin(v), end(v)
#define sz(v) (int)(v).size()
#define fi first
#define se second
namespace {
int N, L, R;
vi bits;
const int magic = 20;
int where = 0;
} // namespace
void InitA(int N, int L, int R) {
::N = N;
::L = L;
::R = R;
int LB = L / magic;
int RB = R / magic;
for(int i = 0; i < 9; ++i) {
SendA(LB >> i & 1);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |