QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#463986#6964. WerewolvesZhangYiDeWA 6ms3736kbC++23854b2024-07-05 17:06:042024-07-05 17:06:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 6ms
memory: 3736kb

input:

45
5 3
7 3
14 2
8 3
9 4
6 3
4 4
7 2
11 2
12 2
7 5
9 5
9 2
5 2
19 2
16 2
6 2
6 4
2 2
12 3
5 5
10 2
8 6
18 2
7 6
13 3
10 3
8 5
17 2
10 4
8 2
11 3
15 2
8 4
4 2
6 6
9 3
20 2
13 2
5 4
7 7
7 4
3 3
21 2
6 5

output:

2 3 2 3 1 2 3 1 1 2 1 1 1 1 1 
3 1 3 1 2 3 1 2 2 3 2 2 2 2 2 
1 2 1 2 3 1 2 3 3 1 3 3 3 3 3 
2 3 2 3 1 2 3 1 1 2 1 1 1 1 1 
3 1 3 1 2 3 1 2 2 3 2 2 2 2 2 
2 3 2 3 1 2 3 1 1 2 3 1 1 1 2 3 1 1 1 1 2 1 1 1 1 1 1 1 
3 1 3 1 2 3 1 2 2 3 1 2 2 2 3 1 2 2 2 2 3 2 2 2 2 2 2 2 
1 2 1 2 3 1 2 3 3 1 2 3 3 3 1 2...

result:

wrong answer Strategy not correct