QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#26149#67. Two TransportationsQingyu0 3ms3264kbC++20862b2022-04-06 18:57:092023-01-15 11:47:22

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-01-15 11:47:22]
  • 评测
  • 测评结果:0
  • 用时:3ms
  • 内存:3264kb
  • [2022-04-06 18:57:09]
  • 提交

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) {
	SendA(1);
	SendA(0);
	SendA(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] = variable_example[k];
  }
  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) {
  SendB(0);
  SendB(0);
  SendB(1);
  SendB(0);
}

void ReceiveB(bool y) {
  ++count;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 3172kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #2:

score: 0
Wrong Answer

Test #7:

score: 0
Wrong Answer
time: 1ms
memory: 3052kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #3:

score: 0
Wrong Answer

Test #14:

score: 0
Wrong Answer
time: 0ms
memory: 3264kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #4:

score: 0
Wrong Answer

Test #24:

score: 0
Wrong Answer
time: 3ms
memory: 3056kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #5:

score: 0
Wrong Answer

Test #38:

score: 0
Wrong Answer
time: 2ms
memory: 3180kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #6:

score: 0
Wrong Answer

Test #51:

score: 0
Wrong Answer
time: 0ms
memory: 3068kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''

Subtask #7:

score: 0
Wrong Answer

Test #64:

score: 0
Wrong Answer
time: 2ms
memory: 3152kb

input:

1 0 1 -1
0 0 1 0 -1
-1

output:

-1
0 0 1 0 -1
-1
-1

input:


output:


result:

wrong answer 1st lines differ - expected: '0', found: ''