QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#391347#7786. Graft and TransplantZhangYiDeWA 1ms3712kbC++201.3kb2024-04-16 15:44:342024-04-16 15:44:34

详细

Test #1:

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

input:

4
1 2
2 3
3 4

output:

Alice

result:

ok "Alice"

Test #2:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

4
1 2
1 3
1 4

output:

Bob

result:

ok "Bob"

Test #3:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

2
1 2

output:

Bob

result:

ok "Bob"

Test #4:

score: 0
Accepted
time: 1ms
memory: 3704kb

input:

3
1 2
1 3

output:

Bob

result:

ok "Bob"

Test #5:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

5
2 1
2 3
3 4
1 5

output:

Bob

result:

ok "Bob"

Test #6:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

6
4 3
4 2
4 5
4 1
4 6

output:

Bob

result:

ok "Bob"

Test #7:

score: 0
Accepted
time: 1ms
memory: 3712kb

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: 1ms
memory: 3560kb

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: 1ms
memory: 3708kb

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: 1ms
memory: 3648kb

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: -100
Wrong Answer
time: 1ms
memory: 3648kb

input:

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

output:

Alice

result:

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