QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#26151 | #67. Two Transportations | Qingyu | 0 | 200ms | 3308kb | C++20 | 988b | 2022-04-06 19:04:02 | 2023-01-15 11:48:17 |
Judging History
Azer
#include "Azer.h"
#include <vector>
namespace {
int N;
int variable_example[500000];
int count;
} // namespace
void InitA(int N, int A, std::vector<int> U, std::vector<int> V,
std::vector<int> C) {
::N = N;
for (int i = 0; i < A; ++i) {
variable_example[i] = U[i] + V[i] - C[i];
}
SendA(true);
count = 1;
}
void ReceiveA(bool x) {
++count;
if (count < 58000) {
SendA(x);
++count;
}
}
std::vector<int> Answer() {
std::vector<int> ans(N);
for (int k = 0; k < N; ++k) {
ans[k] = k & 1;
}
return ans;
}
Baijan
#include "Baijan.h"
#include <vector>
namespace {
int N;
int count;
bool FunctionExample(bool P) {
return !P;
}
} // namespace
void InitB(int N, int B, std::vector<int> S, std::vector<int> T,
std::vector<int> D) {
::N = N;
count = 0;
}
void ReceiveB(bool y) {
++count;
if (count < 58000) {
SendB(FunctionExample(y));
++count;
}
}
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 146ms
memory: 3116kb
input:
1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 ...
output:
-1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 -1 0 -1 1 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 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
result:
wrong answer 2nd lines differ - expected: '25855', found: '1'