QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#773308#9784. Donkey and Puss in Bootsucup-team5323#WA 1ms3752kbC++14529b2024-11-23 08:20:462024-11-23 08:20:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
2 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #2:

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

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #3:

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

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #4:

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

input:

10
5 7 3 0 2 0 0 1 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #5:

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

input:

5
8 5 1 1 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #6:

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

input:

9
5 13 1 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #7:

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

input:

7
13 0 1 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #8:

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

input:

5
0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #9:

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

input:

7
14 3 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #10:

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

input:

2
2 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #11:

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

input:

5
0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #12:

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

input:

10
3 9 2 6 0 0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #13:

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

input:

6
3 8 1 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #14:

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

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #15:

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

input:

6
6 0 7 2 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #16:

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

input:

9
3 6 0 1 0 1 1 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #17:

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

input:

9
6 0 1 0 1 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #18:

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

input:

3
0 6 1

output:

Donkey

result:

ok single line: 'Donkey'

Test #19:

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

input:

9
0 0 0 0 0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #20:

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

input:

1
19

output:

Donkey

result:

ok single line: 'Donkey'

Test #21:

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

input:

2
8 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #22:

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

input:

4
8 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #23:

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

input:

1
0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #24:

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

input:

9
1 5 6 1 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #25:

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

input:

6
12 4 0 2 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #26:

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

input:

2
10 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #27:

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

input:

4
13 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #28:

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

input:

9
1 1 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #29:

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

input:

2
16 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #30:

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

input:

8
15 3 2 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #31:

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

input:

1
7

output:

Donkey

result:

ok single line: 'Donkey'

Test #32:

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

input:

1
17

output:

Donkey

result:

ok single line: 'Donkey'

Test #33:

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

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #34:

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

input:

3
10 3 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #35:

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

input:

9
5 0 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #36:

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

input:

9
2 1 0 0 0 4 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #37:

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

input:

6
10 4 0 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #38:

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

input:

10
3 0 4 0 1 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #39:

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

input:

3
4 1 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #40:

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

input:

6
10 2 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #41:

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

input:

9
8 0 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #42:

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

input:

4
2 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #43:

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

input:

7
2 15 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #44:

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

input:

9
5412758 940655 256687 2439 3167 76 1437 2790 1015

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #45:

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

input:

6
6298190 201610 286650 73517 31710 2631

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #46:

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

input:

1
7156872

output:

Donkey

result:

ok single line: 'Donkey'

Test #47:

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

input:

10
339617 39077 1525210 7097 9975 101 110 153 0 6

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #48:

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

input:

83292
49423 22330 3030 4647 976 1583 740 68 2 0 6 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

wrong answer 1st lines differ - expected: 'Donkey', found: 'Puss in Boots'