QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#283325#7786. Graft and Transplantucup-team997#WA 0ms3736kbC++171.0kb2023-12-14 14:35:272023-12-14 14:35:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3604kb

input:

4
1 2
2 3
3 4

output:

Alice

result:

ok "Alice"

Test #2:

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

input:

4
1 2
1 3
1 4

output:

Bob

result:

ok "Bob"

Test #3:

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

input:

2
1 2

output:

Bob

result:

ok "Bob"

Test #4:

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

input:

3
1 2
1 3

output:

Bob

result:

ok "Bob"

Test #5:

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

input:

5
2 1
2 3
3 4
1 5

output:

Bob

result:

ok "Bob"

Test #6:

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

input:

6
4 3
4 2
4 5
4 1
4 6

output:

Bob

result:

ok "Bob"

Test #7:

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

input:

7
2 4
4 1
1 5
5 3
3 7
7 6

output:

Bob

result:

ok "Bob"

Test #8:

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

input:

8
2 3
3 1
3 6
7 6
6 5
7 8
6 4

output:

Bob

result:

ok "Bob"

Test #9:

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

input:

9
1 3
1 4
4 2
3 7
5 7
5 6
1 9
9 8

output:

Alice

result:

ok "Alice"

Test #10:

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

input:

10
1 2
2 3
5 3
3 4
4 7
7 6
7 10
8 10
10 9

output:

Bob

result:

ok "Bob"

Test #11:

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

input:

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

output:

Bob

result:

ok "Bob"

Test #12:

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

input:

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

output:

Alice

result:

ok "Alice"

Test #13:

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

input:

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

output:

Bob

result:

ok "Bob"

Test #14:

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

input:

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

output:

Alice

result:

ok "Alice"

Test #15:

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

input:

15
2 1
2 4
2 6
2 5
2 7
2 3
1 12
14 15
15 8
8 11
11 13
13 10
10 12
12 9

output:

Alice

result:

ok "Alice"

Test #16:

score: -100
Wrong Answer
time: 0ms
memory: 3660kb

input:

16
8 10
10 7
8 13
7 11
13 1
11 9
9 4
13 6
4 3
11 2
10 5
6 12
1 15
16 14
14 15

output:

Alice

result:

wrong answer 1st words differ - expected: 'Bob', found: 'Alice'