QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#772468#9630. 沙堆TheZoneWA 1ms3692kbC++20187b2024-11-22 19:43:042024-11-22 19:43:04

Judging History

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

  • [2024-11-22 19:43:04]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3692kb
  • [2024-11-22 19:43:04]
  • 提交

answer

#include<iostream>
using namespace std;
int main(){
	int PIXXSJ;
	cin>>PIXXSJ;
	if(PIXXSJ==6){
		cout<<"1 2 0 1 0 0";
	}else{
		cout<<"0 1 2 1 1 0 1 1 0 0 0 0";
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3636kb

input:

6
1 2
2 3
2 4
1 5
4 6
1 1 0 0 1 1

output:

1 2 0 1 0 0

result:

ok single line: '1 2 0 1 0 0'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

12
1 2
1 3
2 4
3 5
5 6
2 7
7 8
4 9
8 10
5 11
3 12
2 0 0 0 1 0 1 0 1 1 0 1

output:

0 1 2 1 1 0 1 1 0 0 0 0

result:

ok single line: '0 1 2 1 1 0 1 1 0 0 0 0'

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3636kb

input:

40
1 2
2 3
1 4
3 5
5 6
6 7
4 8
6 9
8 10
6 11
6 12
9 13
10 14
7 15
9 16
15 17
15 18
12 19
18 20
16 21
18 22
22 23
5 24
22 25
2 26
24 27
14 28
27 29
20 30
29 31
30 32
20 33
26 34
26 35
19 36
11 37
34 38
37 39
29 40
3 0 0 0 0 1 1 0 1 0 1 0 1 0 0 0 0 0 1 1 3 0 1 0 3 0 0 0 1 0 0 0 0 0 0 0 0 0 2 1

output:

0 1 2 1 1 0 1 1 0 0 0 0

result:

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