QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#825908#9784. Donkey and Puss in Bootscharlyjoe#WA 12ms3940kbC++20893b2024-12-22 00:27:462024-12-22 00:27:46

Judging History

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

  • [2024-12-22 00:27:46]
  • 评测
  • 测评结果:WA
  • 用时:12ms
  • 内存:3940kb
  • [2024-12-22 00:27:46]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
using ll = long long;   // %lld
using ld = long double; // %0.5Lf
using vi = vector<ll>;
using pi = pair<ll,ll>;
#define endl '\n'
#define fst first
#define snd second
#define pb push_back
#define  FOR(i,a,b) for(int i = (a);   i <  (b); i++)
#define RFOR(i,a,b) for(int i = (b)-1; i >= (a); i--)
#define  all(a) (a).begin() , (a).end()
#define rall(a) (a).rbegin(), (a).rend()
const ll MOD = 1e9+7; // 998244353
const ll MXN = 2e5+5;
const ll INF = 1e18;


int main() {
    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
    ll n; cin >> n;
    vi A(n); FOR(i,0,n) cin >> A[i];
    sort(rall(A));
    ll sum = accumulate(all(A),0);
    if(sum == 0) {
        cout << "Puss in Boots" << endl;
        return 0;
    }
    sum -= A[0];

    cout << (sum >= n ? "Puss in Boots" : "Donkey") << endl;
    return 0;
}

详细

Test #1:

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

input:

2
2 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #2:

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

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #3:

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

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #4:

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

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: 3552kb

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: 3480kb

input:

9
5 13 1 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #7:

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

input:

7
13 0 1 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #8:

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

input:

5
0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #9:

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

input:

7
14 3 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #10:

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

input:

2
2 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #11:

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

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: 3816kb

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: 3784kb

input:

6
3 8 1 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #14:

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

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #15:

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

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: 3600kb

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: 3548kb

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: 3488kb

input:

3
0 6 1

output:

Donkey

result:

ok single line: 'Donkey'

Test #19:

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

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: 3516kb

input:

1
19

output:

Donkey

result:

ok single line: 'Donkey'

Test #21:

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

input:

2
8 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #22:

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

input:

4
8 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #23:

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

input:

1
0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #24:

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

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: 3604kb

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: 3540kb

input:

2
10 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #27:

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

input:

4
13 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #28:

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

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: 3536kb

input:

2
16 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #30:

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

input:

8
15 3 2 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #31:

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

input:

1
7

output:

Donkey

result:

ok single line: 'Donkey'

Test #32:

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

input:

1
17

output:

Donkey

result:

ok single line: 'Donkey'

Test #33:

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

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #34:

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

input:

3
10 3 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #35:

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

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: 3552kb

input:

9
2 1 0 0 0 4 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #37:

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

input:

6
10 4 0 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #38:

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

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: 3616kb

input:

3
4 1 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #40:

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

input:

6
10 2 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #41:

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

input:

9
8 0 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #42:

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

input:

4
2 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #43:

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

input:

7
2 15 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #44:

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

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

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: 3600kb

input:

1
7156872

output:

Donkey

result:

ok single line: 'Donkey'

Test #47:

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

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: 0
Accepted
time: 4ms
memory: 3828kb

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:

Donkey

result:

ok single line: 'Donkey'

Test #49:

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

input:

10432
9270 24192 2674 42 36 19 0 9 1 2 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 0 0 0 0 0 0 0 0...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #50:

score: 0
Accepted
time: 2ms
memory: 3528kb

input:

32174
13090 389 34 18 19 28 22 1 3 4 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 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #51:

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

input:

25017
114940 9558 14314 14140 690 177 430 33 23 29 53 40 7 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:

ok single line: 'Puss in Boots'

Test #52:

score: 0
Accepted
time: 3ms
memory: 3628kb

input:

57831
30726 18157 47536 707 677 348 659 696 621 4 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 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #53:

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

input:

1248
7911 318 12 1043 101 74 417 379 5 37 26 1 0 1 0 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:

ok single line: 'Puss in Boots'

Test #54:

score: 0
Accepted
time: 2ms
memory: 3644kb

input:

43029
104640 391 383 1963 1293 535 83 4 9 3 9 0 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 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #55:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

29444
20380 3366 22046 5174 397 11162 72 348 34 4 6 4 1 0 0 4 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:

ok single line: 'Puss in Boots'

Test #56:

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

input:

42572
131111 23974 1371 438 3 28 4 2 2 1 0 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 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #57:

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

input:

12162
89379 30928 15536 3541 1534 1059 381 83 450 5 356 96 43 1 0 6 2 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:

ok single line: 'Puss in Boots'

Test #58:

score: 0
Accepted
time: 4ms
memory: 3868kb

input:

94051
114887 37716 815 1972 3683 7102 3383 5345 141 126 21 3 4 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...

output:

Donkey

result:

ok single line: 'Donkey'

Test #59:

score: 0
Accepted
time: 2ms
memory: 3484kb

input:

28308
42031 14543 4082 1855 4501 1746 75 49 30 7 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 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #60:

score: 0
Accepted
time: 2ms
memory: 3832kb

input:

53856
8294 3697 4350 531 202 177 142 63 23 0 9 5 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 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #61:

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

input:

83027
159035 13204 5575 106 6 5 9 3 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 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #62:

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

input:

10141
57431 46229 6861 9782 38618 3346 868 313 53 0 9 4 0 1 0 2 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:

ok single line: 'Puss in Boots'

Test #63:

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

input:

15924
2762 413 6 1 2 2 0 1 2 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 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #64:

score: 0
Accepted
time: 3ms
memory: 3760kb

input:

63800
25680 10827 5335 1500 2131 62 234 199 26 21 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 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #65:

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

input:

5309
17559 2219 4661 891 256 213 63 1 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 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #66:

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

input:

7346
68665 4992 21103 2059 316 4962 3145 1867 356 174 33 74 57 22 0 5 2 0 0 3 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 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #67:

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

input:

59654
19237 70097 12556 86 111 78 10 1 4 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 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #68:

score: 0
Accepted
time: 4ms
memory: 3836kb

input:

79353
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 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:

ok single line: 'Puss in Boots'

Test #69:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

47819
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 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:

ok single line: 'Puss in Boots'

Test #70:

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

input:

14867
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 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:

ok single line: 'Puss in Boots'

Test #71:

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

input:

14564
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 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:

ok single line: 'Puss in Boots'

Test #72:

score: -100
Wrong Answer
time: 12ms
memory: 3816kb

input:

96622
587730425 960354774 443572677 667962437 684681921 836880663 344574767 504765059 503913089 337199797 475525053 338782516 810218872 581105389 912309875 902810425 134461351 226038334 330057069 318973898 564791723 750385176 116073356 689906130 955616843 20540330 226838358 748578680 351884066 23686...

output:

Donkey

result:

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