QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#142859 | #3097. Shopping | Qingyu | 0 | 0ms | 0kb | C++20 | 763b | 2023-08-20 00:53:15 | 2023-08-20 01:28:12 |
Judging History
Anna
#include "Anna.h"
#include <vector>
namespace {
int N, L, R;
int count;
} // namespace
void InitA(int N, int L, int R) {
::N = N;
::L = L;
::R = R;
while (1);
SendA(true);
count = 1;
}
void ReceiveA(bool x) {
if (count < 18) {
SendA(x);
++count;
}
}
int Answer() {
return L;
}
Bruno
#include "Bruno.h"
#include <vector>
namespace {
int N;
int variable_example[1000000];
int count;
bool FunctionExample(bool P) {
return !P;
}
} // namespace
void InitB(int N, std::vector<int> P) {
::N = N;
for(int i = 0; i < N; i++) {
variable_example[i] = P[i];
}
count = 0;
}
void ReceiveB(bool y) {
if (count < 10000) {
SendB(FunctionExample(y));
++count;
}
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Time Limit Exceeded
Test #1:
score: 0
Time Limit Exceeded
input:
output:
-1
input:
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #2:
score: 0
Skipped
Subtask #3:
score: 0
Skipped