# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1159548 | PagodePaiva | Shopping (JOI21_shopping) | C++20 | 71 ms | 12376 KiB |
#include "Anna.h"
#include <vector>
#include<bits/stdc++.h>
using namespace std;
namespace {
int N, L, R;
int count;
std::vector <int> valores;
int v[220];
int pos;
} // namespace
void InitA(int n, int l, int r) {
L = l;
R = r;
int x = l/100;
for(int bit = 0;bit < 7;bit++){
if(((1<<bit)&x)) SendA(true);
else SendA(false);
}
x = r/100;
for(int bit = 0;bit < 7;bit++){
if(((1<<bit)&x)) SendA(true);
else SendA(false);
}
return;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |