QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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;
}
}
詳細信息
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