QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#290737 | #3089. Harsh Comments | id | AC ✓ | 137ms | 3924kb | C++14 | 929b | 2023-12-25 11:25:48 | 2023-12-25 11:25:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 99ms
memory: 3808kb
input:
95 100 61 6 36 49 69 67 89 27 65 22 60 21 66 80 78 31 25 15 83 20 62 20 90 6 6 30 45 2 32 30 74 31 80 11 40 80 41 17 31 61 32 21 15 14 55 71 55 13 44 10 26 98 64 4 64 96 92 61 89 39 84 30 12 79 13 30 44 81 97 11 9 68 4 17 30 76 40 58 1 84 36 26 3 30 24 14 90 6 6 38 1 9 93 5 3 1426110 1643513 365571 ...
output:
241078495
result:
ok single line: '241078495'
Test #2:
score: 0
Accepted
time: 112ms
memory: 3688kb
input:
97 92 12 48 34 55 51 75 24 97 68 38 41 62 29 22 62 81 68 54 46 40 76 29 68 18 32 68 92 48 80 69 91 30 25 7 49 36 49 24 8 85 27 27 48 86 19 88 11 57 82 42 66 6 38 25 47 36 60 46 100 98 28 4 22 95 69 45 51 13 28 13 6 61 94 18 13 64 99 76 41 71 3 45 25 97 84 62 8 25 41 15 94 61 34 68 34 85 28 6737543 9...
output:
517480317
result:
ok single line: '517480317'
Test #3:
score: 0
Accepted
time: 110ms
memory: 3644kb
input:
90 100 58 63 24 4 57 21 34 30 28 28 59 50 57 59 19 89 78 62 9 89 62 55 4 22 23 89 77 12 85 50 5 51 44 39 19 79 34 32 8 40 18 75 22 72 64 41 99 63 82 63 69 40 82 27 43 14 63 37 15 49 9 3 34 85 88 73 92 46 46 96 23 88 21 81 77 33 98 13 1 14 12 2 84 73 67 18 58 98 31 5 9393346 5675925 3595318 1426237 8...
output:
699286815
result:
ok single line: '699286815'
Test #4:
score: 0
Accepted
time: 115ms
memory: 3868kb
input:
96 93 58 44 81 20 11 81 88 90 1 6 66 43 77 10 98 63 16 61 76 88 100 46 14 36 26 14 1 52 62 94 26 69 86 8 76 35 79 13 51 44 81 29 95 89 10 65 99 83 91 52 25 70 92 36 86 89 55 14 24 61 74 32 82 85 83 69 25 28 4 18 3 58 30 57 72 69 56 75 83 8 60 43 41 22 8 7 46 99 100 70 99 54 11 6 4 8 5651855 7218847 ...
output:
83316870
result:
ok single line: '83316870'
Test #5:
score: 0
Accepted
time: 119ms
memory: 3684kb
input:
96 98 75 67 12 51 74 19 73 91 69 88 11 37 91 19 26 30 47 35 51 25 38 95 31 6 76 98 47 6 38 20 3 70 69 41 47 52 88 15 1 17 54 72 61 84 16 10 16 42 56 72 99 59 3 26 62 32 75 43 20 91 15 72 83 67 10 26 28 66 92 75 59 79 32 45 14 66 38 71 85 44 65 68 73 29 68 11 24 55 68 9 97 85 10 66 55 35 176095 85776...
output:
857493246
result:
ok single line: '857493246'
Test #6:
score: 0
Accepted
time: 117ms
memory: 3860kb
input:
90 98 15 7 56 2 86 44 15 76 40 96 50 96 4 78 18 64 78 21 46 97 66 3 48 31 93 81 92 66 48 37 62 45 41 26 67 93 33 76 73 94 97 94 61 86 57 85 22 92 12 64 12 5 61 97 53 62 25 58 2 33 37 60 58 72 7 10 21 78 96 37 65 58 66 14 97 80 83 17 59 62 23 43 18 75 30 39 23 37 23 20 8536726 445360 6549586 8871047 ...
output:
518246325
result:
ok single line: '518246325'
Test #7:
score: 0
Accepted
time: 111ms
memory: 3924kb
input:
90 96 86 30 40 86 7 11 65 84 34 54 29 56 85 73 34 35 95 45 44 84 11 86 7 13 14 25 88 44 46 61 20 59 1 81 18 93 36 14 79 81 21 3 72 24 81 72 89 84 46 62 64 14 26 43 40 94 38 16 95 23 5 60 13 92 29 90 61 7 43 52 53 55 66 83 77 100 48 52 28 35 100 72 47 93 33 2 75 4 1 55 6738276 5286038 7332547 8769210...
output:
831790358
result:
ok single line: '831790358'
Test #8:
score: 0
Accepted
time: 116ms
memory: 3796kb
input:
98 99 70 65 55 55 14 3 58 55 51 97 37 4 62 14 36 30 79 46 77 24 2 10 79 47 40 41 90 1 100 99 45 86 78 45 60 18 12 68 20 41 61 5 64 77 18 41 34 75 3 72 57 43 41 38 11 76 40 32 94 72 16 80 55 1 1 68 1 93 4 94 17 59 44 20 21 54 73 31 68 57 7 99 32 56 6 95 28 95 51 30 91 62 50 36 37 38 9 7 9592645 15178...
output:
404335437
result:
ok single line: '404335437'
Test #9:
score: 0
Accepted
time: 116ms
memory: 3768kb
input:
99 90 85 55 99 43 16 33 74 52 85 63 75 99 36 30 26 3 64 56 52 62 49 31 45 61 59 24 17 42 59 43 99 75 65 36 30 2 51 90 8 8 9 37 5 83 45 31 28 90 6 91 23 43 75 45 97 40 54 95 94 8 95 60 18 28 91 30 57 50 18 96 61 4 94 92 22 77 98 55 43 54 11 28 89 69 70 95 8 15 35 44 2 8 71 16 95 29 78 78 9 9492475 83...
output:
369387451
result:
ok single line: '369387451'
Test #10:
score: 0
Accepted
time: 109ms
memory: 3872kb
input:
91 95 6 32 87 94 72 81 100 11 84 75 16 99 19 28 8 51 49 24 76 95 90 81 39 56 24 41 90 76 38 22 50 5 47 14 28 10 8 26 53 77 58 16 60 95 67 68 37 71 88 8 2 33 2 18 59 36 90 65 29 17 55 9 25 10 61 4 62 38 63 66 43 10 59 69 45 15 72 60 35 57 35 76 52 77 65 6 20 83 87 63 88 3998713 866847 4907031 9455818...
output:
967893024
result:
ok single line: '967893024'
Test #11:
score: 0
Accepted
time: 132ms
memory: 3848kb
input:
100 96 65 34 17 96 68 24 98 28 82 1 40 89 1 11 18 94 81 69 85 12 67 41 53 67 65 53 47 32 83 48 27 59 64 20 59 33 8 72 98 2 7 97 71 5 41 66 41 49 15 24 68 9 90 45 55 41 36 46 48 71 100 98 59 19 73 63 17 93 99 98 72 34 65 54 71 52 37 96 36 20 92 34 70 68 71 16 41 75 92 45 99 37 46 85 5 25 76 48 82 25 ...
output:
54155933
result:
ok single line: '54155933'
Test #12:
score: 0
Accepted
time: 116ms
memory: 3860kb
input:
91 93 86 71 92 31 73 86 76 64 88 12 41 31 34 96 11 58 40 51 69 31 50 61 96 72 65 60 78 51 75 50 68 68 35 60 5 69 47 33 74 23 66 61 94 5 50 48 24 61 69 2 70 76 55 88 42 27 93 40 85 53 50 81 80 17 15 32 81 70 2 95 99 20 90 5 46 92 23 77 83 3 35 40 40 23 62 29 89 77 22 91 60 8467997 6585759 3282041 844...
output:
185536410
result:
ok single line: '185536410'
Test #13:
score: 0
Accepted
time: 132ms
memory: 3860kb
input:
100 100 92 49 94 91 16 21 57 13 33 76 15 72 5 32 55 68 56 10 39 40 58 1 75 21 73 59 7 80 10 75 45 58 98 59 82 68 44 64 45 100 40 16 73 88 52 76 38 24 83 57 46 66 60 9 18 42 57 63 88 72 3 34 89 1 13 26 10 53 88 56 98 97 41 10 9 52 80 49 91 92 45 1 34 69 6 22 78 83 81 30 66 88 14 71 26 8 96 34 70 76 9...
output:
740279557
result:
ok single line: '740279557'
Test #14:
score: 0
Accepted
time: 113ms
memory: 3924kb
input:
94 94 15 28 64 94 82 69 52 83 69 88 35 27 44 55 56 52 58 15 17 6 1 78 91 90 61 4 54 32 26 65 39 22 22 60 21 98 12 10 58 17 6 56 22 86 75 93 8 68 99 48 92 12 9 56 5 85 32 23 61 68 18 74 58 49 94 96 28 73 31 4 79 50 4 84 61 1 38 62 44 82 13 80 62 56 6 90 68 46 50 12 14 74 88 92 6759174 1053571 4759573...
output:
595691002
result:
ok single line: '595691002'
Test #15:
score: 0
Accepted
time: 130ms
memory: 3856kb
input:
98 93 61 80 73 13 32 6 75 69 86 22 52 82 21 88 50 77 19 72 99 34 79 25 96 44 28 3 53 55 7 39 90 96 67 97 1 15 90 93 79 12 16 15 26 35 35 81 65 80 48 88 83 77 39 30 82 46 11 95 9 41 75 20 46 1 33 92 40 98 49 88 58 97 8 90 47 59 93 24 100 100 93 13 65 36 96 91 24 78 4 49 14 91 68 74 98 9 90 36 3796974...
output:
468439547
result:
ok single line: '468439547'
Test #16:
score: 0
Accepted
time: 123ms
memory: 3856kb
input:
98 98 100 83 13 6 15 17 53 88 18 69 57 3 3 24 45 79 19 74 90 91 78 100 40 63 50 27 62 41 40 67 14 31 88 11 75 22 54 91 95 94 16 97 38 50 52 5 8 34 68 22 16 75 87 51 34 24 34 1 36 37 67 67 17 25 98 39 43 97 24 12 56 76 28 31 78 29 61 43 100 49 77 4 83 77 84 78 92 48 100 94 16 83 24 92 21 29 88 38 669...
output:
293170261
result:
ok single line: '293170261'
Test #17:
score: 0
Accepted
time: 115ms
memory: 3792kb
input:
98 100 85 16 74 13 17 81 49 41 32 66 99 62 5 31 53 61 20 23 15 65 45 8 2 41 10 66 86 11 49 70 4 36 36 26 48 30 22 35 49 42 50 38 89 22 20 75 2 83 17 19 55 74 9 55 95 46 19 29 87 100 87 86 96 34 90 63 79 14 75 8 38 22 42 42 30 41 7 8 36 48 61 18 55 32 68 50 51 32 18 72 72 72 28 10 74 88 14 81 355824 ...
output:
351953473
result:
ok single line: '351953473'
Test #18:
score: 0
Accepted
time: 108ms
memory: 3684kb
input:
91 92 67 46 62 24 69 91 71 16 61 87 61 7 9 21 15 13 34 57 37 75 51 41 33 48 30 100 73 44 86 9 66 96 80 51 64 52 4 63 64 13 57 76 65 40 7 67 81 71 93 60 59 24 81 83 28 96 85 13 25 42 16 34 24 8 60 63 44 68 37 49 36 25 87 11 25 72 1 59 87 86 38 73 55 70 45 47 13 68 15 19 72 9721630 5765285 970575 9508...
output:
363920783
result:
ok single line: '363920783'
Test #19:
score: 0
Accepted
time: 137ms
memory: 3908kb
input:
100 100 47 54 15 31 48 47 11 57 39 76 76 25 87 31 100 32 95 57 10 100 61 52 44 4 53 56 48 100 90 26 15 74 40 81 15 48 91 75 89 87 21 98 8 51 38 83 65 10 33 57 42 72 81 39 87 19 46 51 7 90 77 47 30 85 81 23 76 46 80 28 73 25 73 17 93 90 100 85 63 40 94 23 13 57 25 47 63 55 11 52 40 78 29 38 78 55 12 ...
output:
335891263
result:
ok single line: '335891263'
Test #20:
score: 0
Accepted
time: 122ms
memory: 3848kb
input:
96 96 31 42 84 21 82 67 11 91 79 14 52 99 45 28 42 78 100 4 83 25 98 2 45 74 16 46 38 70 86 40 91 46 52 36 23 16 10 44 70 37 67 81 74 45 38 67 42 7 1 20 30 12 33 7 10 56 19 79 70 25 29 56 70 74 79 21 19 21 15 1 62 96 94 49 14 81 6 9 84 91 75 84 96 26 97 90 71 43 88 63 82 84 72 51 100 66 9486425 2014...
output:
211786857
result:
ok single line: '211786857'
Test #21:
score: 0
Accepted
time: 110ms
memory: 3816kb
input:
99 90 79 41 59 64 7 5 11 76 98 2 66 75 96 2 30 85 81 20 1 14 56 94 29 7 96 5 91 42 37 19 98 62 9 58 29 25 60 5 34 45 56 20 23 91 12 78 90 60 29 5 16 84 7 97 35 81 20 43 39 52 40 83 87 80 14 98 37 69 77 26 28 93 69 15 64 9 9 24 28 37 94 68 42 16 23 58 56 12 48 35 73 87 75 10 83 77 74 14 46 7838938 56...
output:
520580054
result:
ok single line: '520580054'
Test #22:
score: 0
Accepted
time: 120ms
memory: 3644kb
input:
95 94 28 21 78 39 88 84 55 25 15 90 54 26 60 68 69 8 73 34 51 55 6 65 69 82 73 87 80 12 52 9 29 31 6 58 79 8 79 61 6 11 91 85 16 13 80 65 18 96 92 5 100 5 16 14 82 28 45 13 99 91 31 29 84 47 14 88 36 93 81 92 25 2 22 63 100 84 62 77 93 98 59 56 17 25 59 89 25 18 97 34 72 66 55 74 40 9795961 9537920 ...
output:
176259918
result:
ok single line: '176259918'
Test #23:
score: 0
Accepted
time: 112ms
memory: 3856kb
input:
92 90 85 98 73 28 92 73 55 75 1 74 47 85 18 65 52 65 28 47 30 73 61 14 88 22 85 92 47 83 76 32 64 90 91 61 22 5 30 50 5 46 45 43 41 51 98 24 31 44 73 57 91 18 10 38 60 64 23 52 16 81 71 49 39 59 27 35 76 72 100 57 53 75 19 84 18 73 12 65 45 9 12 63 30 96 46 63 46 25 72 93 53 31 631810 3353531 378572...
output:
233638804
result:
ok single line: '233638804'
Test #24:
score: 0
Accepted
time: 113ms
memory: 3908kb
input:
95 93 80 56 29 58 33 33 95 98 58 37 69 72 46 83 42 69 1 49 15 2 90 2 85 27 54 32 21 41 3 64 75 6 5 91 95 25 48 100 76 80 72 7 51 46 6 52 12 49 5 58 18 65 46 55 63 28 52 58 82 65 25 38 6 78 82 44 22 32 55 8 15 41 20 38 23 78 96 30 82 89 66 53 60 46 31 84 74 77 23 59 89 40 58 7 98 8370179 4231583 2341...
output:
401168598
result:
ok single line: '401168598'
Test #25:
score: 0
Accepted
time: 132ms
memory: 3680kb
input:
96 96 59 26 8 11 50 53 69 16 47 66 95 1 90 92 1 27 58 39 48 51 95 57 18 56 36 65 79 93 28 76 38 82 73 80 70 36 51 76 57 29 58 11 45 72 71 53 94 97 49 77 71 83 84 8 56 50 55 91 85 73 85 75 43 12 48 83 86 60 57 78 85 70 51 40 29 92 30 47 67 59 53 27 58 38 23 36 97 93 8 23 22 25 77 41 87 85 9059923 399...
output:
490574780
result:
ok single line: '490574780'
Test #26:
score: 0
Accepted
time: 130ms
memory: 3840kb
input:
100 92 92 82 25 18 57 66 89 55 87 99 63 85 74 27 82 26 87 31 96 29 40 67 52 88 33 13 1 93 37 21 87 40 63 87 9 2 67 100 8 53 95 72 40 32 62 61 18 9 50 11 96 65 99 94 43 60 44 69 96 66 31 16 86 69 6 98 86 31 29 58 49 94 81 51 81 6 98 99 19 18 73 22 41 98 77 76 30 35 28 16 78 86 21 27 76 1 77 37 14 66 ...
output:
56160744
result:
ok single line: '56160744'
Test #27:
score: 0
Accepted
time: 119ms
memory: 3852kb
input:
96 94 39 45 20 84 69 51 86 45 61 47 51 100 12 85 47 54 47 23 77 97 22 87 75 46 64 37 18 54 15 83 7 93 37 50 19 70 78 100 15 49 11 14 86 43 1 17 10 33 41 53 84 41 3 47 46 69 27 69 10 96 24 95 6 90 89 84 25 72 45 79 73 36 54 86 41 29 99 57 56 14 9 79 79 34 63 2 58 18 58 34 60 72 80 56 2 92 2206251 966...
output:
338800448
result:
ok single line: '338800448'
Test #28:
score: 0
Accepted
time: 127ms
memory: 3852kb
input:
96 95 32 72 15 89 79 74 97 74 72 91 5 14 17 78 4 10 53 53 18 94 92 21 78 56 34 16 86 4 70 14 34 20 85 22 88 82 65 70 27 36 91 65 57 97 78 74 70 67 23 16 60 77 42 81 82 78 36 99 79 68 79 50 63 63 59 39 34 92 16 57 65 39 12 33 66 88 84 63 8 57 15 73 2 48 13 29 32 52 85 93 83 68 50 88 1 19 1328354 1829...
output:
10071229
result:
ok single line: '10071229'
Test #29:
score: 0
Accepted
time: 127ms
memory: 3856kb
input:
95 96 69 78 52 36 77 95 100 90 65 54 9 22 28 54 21 10 97 65 91 68 30 96 67 87 95 74 37 54 97 79 47 19 68 44 98 49 14 90 94 60 88 70 98 20 60 14 23 92 35 64 32 50 43 51 81 92 61 30 8 75 54 13 77 6 11 99 42 17 13 11 85 86 91 12 90 31 50 61 91 2 25 77 55 10 75 52 55 3 88 5 22 18 47 39 62 3035265 780937...
output:
848993157
result:
ok single line: '848993157'
Test #30:
score: 0
Accepted
time: 132ms
memory: 3908kb
input:
97 100 74 46 58 68 21 91 74 60 49 17 97 66 65 65 68 12 20 60 68 75 62 65 73 43 91 34 48 35 15 54 95 15 52 96 67 59 20 38 18 74 22 65 76 35 44 17 39 95 43 8 60 42 72 86 90 7 5 11 50 89 16 26 63 29 72 31 70 86 8 74 73 82 10 95 52 63 85 39 63 31 78 48 55 82 22 43 78 65 91 51 31 87 80 10 16 6 79 8570016...
output:
967988330
result:
ok single line: '967988330'
Test #31:
score: 0
Accepted
time: 118ms
memory: 3908kb
input:
93 96 64 48 61 94 65 46 20 50 73 47 73 83 38 72 16 6 20 57 5 63 35 93 66 97 50 7 7 56 23 82 95 17 98 88 84 7 50 81 5 83 8 71 95 37 13 8 80 4 37 96 47 12 88 23 32 4 80 97 42 62 39 33 36 4 46 93 100 97 77 67 22 50 91 58 32 26 94 85 90 34 24 33 44 100 8 100 18 11 5 61 78 19 63 6855323 8734033 1669970 7...
output:
74951473
result:
ok single line: '74951473'
Test #32:
score: 0
Accepted
time: 113ms
memory: 3872kb
input:
99 97 3 29 18 98 60 27 29 55 28 86 12 45 94 42 22 24 83 35 52 57 69 45 6 18 74 51 40 19 75 54 60 98 85 23 88 7 9 28 4 64 53 26 33 50 73 92 69 11 59 38 23 4 6 6 81 51 65 3 25 79 95 54 27 29 48 38 66 89 65 16 89 43 92 100 1 42 14 39 80 5 1 86 14 88 4 98 25 70 68 16 49 19 47 61 22 48 8 47 65 613465 309...
output:
809745396
result:
ok single line: '809745396'
Test #33:
score: 0
Accepted
time: 105ms
memory: 3908kb
input:
93 97 17 50 88 57 64 81 87 36 94 61 91 16 27 23 25 98 36 57 63 59 74 36 37 24 97 57 26 17 5 16 60 12 25 4 28 82 1 9 79 89 45 3 20 71 26 62 58 76 33 21 99 4 22 35 18 22 51 37 8 33 41 59 72 26 81 28 62 44 76 29 79 48 3 83 78 42 74 16 57 29 19 32 43 7 35 28 24 15 86 69 61 75 23 1247149 2220043 9278447 ...
output:
209512512
result:
ok single line: '209512512'
Test #34:
score: 0
Accepted
time: 107ms
memory: 3772kb
input:
90 90 40 32 10 72 81 85 79 69 74 57 10 79 53 70 46 70 52 69 53 37 20 82 79 21 95 27 3 93 12 2 34 10 92 3 50 64 41 41 81 28 4 75 67 91 48 33 21 14 53 17 39 21 57 8 14 98 60 36 40 68 5 96 76 30 27 47 47 40 74 59 95 82 46 65 68 44 98 59 86 36 44 62 47 63 99 20 35 66 74 54 8022626 2992758 3162609 779168...
output:
51028873
result:
ok single line: '51028873'
Test #35:
score: 0
Accepted
time: 117ms
memory: 3904kb
input:
93 94 92 13 96 85 89 56 6 65 83 61 100 83 53 98 18 85 96 16 76 35 79 36 92 35 6 9 11 26 49 69 96 56 73 94 32 31 98 75 36 45 56 77 40 72 41 20 74 40 28 97 16 72 58 18 48 96 33 89 91 23 9 45 59 24 4 15 46 7 5 5 32 100 8 41 66 20 51 46 74 79 51 26 8 11 53 5 66 70 93 87 59 77 54 6725707 2534700 2502780 ...
output:
928829303
result:
ok single line: '928829303'
Test #36:
score: 0
Accepted
time: 117ms
memory: 3768kb
input:
91 98 70 67 49 64 51 67 90 53 45 74 26 52 54 58 65 34 27 57 49 68 51 3 7 65 48 88 84 93 56 83 97 12 66 70 68 18 59 93 57 70 81 58 68 88 79 1 43 4 14 67 48 12 10 62 81 92 91 11 46 43 22 19 22 11 71 41 39 41 67 17 38 57 19 90 36 93 39 26 92 4 29 50 23 46 45 75 10 18 69 90 47 6184649 7540144 3208942 94...
output:
478626901
result:
ok single line: '478626901'
Test #37:
score: 0
Accepted
time: 114ms
memory: 3908kb
input:
98 93 92 52 25 55 36 34 77 4 78 79 77 74 37 38 14 12 63 76 52 61 59 64 63 50 4 87 90 61 30 97 36 6 20 85 7 35 99 52 20 11 13 79 52 71 8 43 89 16 87 92 67 87 73 50 69 37 74 15 26 21 19 26 21 60 91 14 56 20 29 54 27 100 5 12 92 56 72 66 8 35 92 97 62 78 67 19 96 81 18 31 56 90 52 21 29 8 67 38 6321675...
output:
876993469
result:
ok single line: '876993469'
Test #38:
score: 0
Accepted
time: 120ms
memory: 3904kb
input:
97 98 81 99 8 46 33 1 45 62 42 52 76 67 29 31 1 40 48 90 46 34 48 68 37 85 90 78 10 42 25 24 68 49 54 60 6 80 10 96 1 55 14 47 55 40 80 59 37 74 76 91 83 47 70 18 76 19 8 60 51 42 26 79 12 92 33 75 41 84 23 68 95 89 11 70 46 21 59 18 12 67 42 80 65 23 83 35 47 29 5 88 63 95 64 46 91 2 51 3238875 447...
output:
702961902
result:
ok single line: '702961902'
Test #39:
score: 0
Accepted
time: 109ms
memory: 3756kb
input:
92 95 93 44 56 82 50 7 81 99 26 15 23 90 39 25 5 61 69 93 87 22 84 15 88 18 75 23 74 27 49 54 77 54 75 42 88 69 85 85 17 33 45 50 31 4 60 81 8 17 2 33 2 35 12 2 5 28 64 55 38 46 15 46 38 92 7 42 99 100 70 40 15 35 11 97 70 2 15 93 17 100 10 97 54 18 72 3 20 98 58 57 34 99 2480839 5280830 3365028 725...
output:
710190259
result:
ok single line: '710190259'
Test #40:
score: 0
Accepted
time: 114ms
memory: 3852kb
input:
91 97 92 100 24 7 88 79 88 36 51 81 87 5 58 80 62 31 52 67 45 36 90 8 68 56 92 24 40 59 24 77 15 75 14 52 5 44 85 96 77 88 92 15 47 88 36 93 10 27 96 25 33 30 90 66 14 24 31 59 81 17 54 46 72 3 32 56 9 6 8 8 17 4 26 68 52 33 37 70 88 49 57 98 20 4 60 83 6 52 72 62 80 7632719 1266086 3145381 3557084 ...
output:
471917684
result:
ok single line: '471917684'
Test #41:
score: 0
Accepted
time: 121ms
memory: 3856kb
input:
90 100 98 21 63 100 79 40 19 32 76 2 42 2 21 73 5 66 100 100 67 87 7 69 27 89 67 24 1 93 81 86 63 35 71 34 1 35 75 39 20 77 54 88 100 30 29 27 23 35 91 46 81 12 49 7 33 12 73 92 36 79 7 86 82 18 74 17 36 72 31 71 37 87 87 83 96 23 39 70 68 35 18 53 79 57 60 91 16 46 55 16 4539077 6777033 7346060 761...
output:
972094492
result:
ok single line: '972094492'
Test #42:
score: 0
Accepted
time: 119ms
memory: 3852kb
input:
99 96 55 56 46 31 41 52 16 34 36 17 88 41 21 37 22 17 11 78 53 31 39 19 88 6 62 24 12 74 86 81 48 62 100 94 85 60 72 74 69 56 5 60 43 47 79 68 1 19 6 23 23 54 15 69 18 69 97 9 49 62 16 17 39 41 26 78 81 36 47 99 58 97 89 80 73 46 87 77 6 15 40 83 19 25 46 43 95 99 66 30 15 88 73 4 79 17 12 73 3 9499...
output:
904866465
result:
ok single line: '904866465'
Test #43:
score: 0
Accepted
time: 125ms
memory: 3816kb
input:
99 97 82 51 1 27 27 57 63 18 74 43 94 73 18 65 73 38 41 82 52 39 14 28 18 19 29 94 18 98 28 77 9 2 33 54 96 35 75 73 66 95 44 24 90 87 24 21 92 81 79 57 90 90 13 34 14 97 15 9 75 30 37 58 19 49 23 32 45 47 96 30 3 87 63 60 44 60 82 33 85 73 33 9 70 34 52 20 76 80 2 42 49 60 93 93 33 3 95 46 46 73037...
output:
849994510
result:
ok single line: '849994510'
Test #44:
score: 0
Accepted
time: 126ms
memory: 3792kb
input:
100 96 64 91 72 89 55 100 64 10 25 6 55 15 53 17 52 67 31 31 72 98 91 56 94 6 22 21 50 68 43 7 86 80 67 32 86 27 94 19 76 65 31 97 33 80 64 36 97 88 19 47 93 22 20 31 39 25 54 26 14 54 80 88 34 81 14 25 36 87 95 81 8 62 50 74 94 9 84 13 49 25 31 76 84 10 33 19 78 29 11 13 28 55 59 91 84 48 13 47 85 ...
output:
706757776
result:
ok single line: '706757776'
Test #45:
score: 0
Accepted
time: 116ms
memory: 3752kb
input:
90 97 61 74 59 74 69 11 37 93 40 59 76 55 9 38 78 82 94 42 22 9 42 38 66 83 31 37 62 19 30 66 49 5 88 95 43 73 6 81 78 22 80 34 38 85 6 90 66 66 93 48 43 5 47 42 57 11 29 97 45 100 89 33 15 84 79 100 66 22 68 58 94 16 3 11 54 16 36 47 1 80 53 94 54 81 48 71 13 28 36 29 4654012 3376457 1259203 910779...
output:
223072849
result:
ok single line: '223072849'
Test #46:
score: 0
Accepted
time: 108ms
memory: 3640kb
input:
97 91 22 26 25 6 96 12 26 66 83 85 34 98 66 23 8 41 5 24 74 53 22 15 83 3 86 51 27 93 35 22 13 27 37 11 50 76 69 37 51 55 12 80 11 27 85 32 27 30 71 89 77 33 38 57 33 41 70 18 42 61 57 9 25 59 87 20 94 8 100 41 5 82 93 64 16 13 85 61 33 17 38 39 82 100 100 22 17 61 76 69 46 64 6 88 67 33 65 7492343 ...
output:
532002072
result:
ok single line: '532002072'
Test #47:
score: 0
Accepted
time: 125ms
memory: 3640kb
input:
97 97 63 24 74 73 61 62 34 69 26 36 44 23 11 6 25 83 8 65 6 14 8 58 79 25 13 33 16 94 95 15 90 6 91 11 25 44 3 45 10 35 28 37 58 85 4 57 46 91 42 98 8 63 24 80 72 73 70 76 92 59 1 68 95 96 29 95 59 84 85 57 92 76 40 76 95 59 57 91 30 47 25 70 19 12 54 13 92 95 99 23 88 78 22 16 60 31 89 6455018 2055...
output:
518906783
result:
ok single line: '518906783'
Test #48:
score: 0
Accepted
time: 117ms
memory: 3856kb
input:
97 90 9 21 12 62 27 40 48 2 93 87 20 59 81 91 43 77 28 31 4 5 72 98 65 36 84 84 19 62 46 40 34 34 67 85 17 51 69 74 1 8 74 60 67 99 46 49 89 17 26 92 86 26 67 47 9 96 7 55 48 40 85 9 77 15 11 23 40 77 37 21 84 90 93 82 24 56 43 94 45 58 45 21 72 31 93 57 7 90 83 19 31 88 74 40 74 89 96 5291610 42882...
output:
374886380
result:
ok single line: '374886380'
Test #49:
score: 0
Accepted
time: 104ms
memory: 3680kb
input:
92 93 64 54 79 24 58 8 100 92 60 46 83 3 98 81 27 4 14 69 18 75 6 1 76 10 43 83 21 60 34 91 42 60 16 57 34 51 53 44 89 35 28 65 12 16 31 27 99 58 7 27 74 77 67 4 12 97 76 19 35 68 7 2 56 3 28 3 66 56 99 91 7 28 60 41 46 90 18 83 72 23 27 32 38 65 96 36 53 41 36 51 75 47 6486753 9175993 1549959 13363...
output:
538536537
result:
ok single line: '538536537'
Test #50:
score: 0
Accepted
time: 109ms
memory: 3872kb
input:
94 91 7 81 96 83 90 62 24 70 40 9 24 45 67 67 31 56 19 39 81 38 23 78 67 73 67 15 61 92 34 37 20 23 100 34 67 80 35 22 11 45 93 47 79 82 52 57 3 44 47 8 89 24 94 74 93 1 55 6 91 31 24 84 39 86 15 60 58 13 30 82 84 66 65 9 82 36 37 4 38 80 65 38 38 20 71 18 75 10 47 30 46 73 39 23 6332326 1279220 237...
output:
61845727
result:
ok single line: '61845727'
Test #51:
score: 0
Accepted
time: 108ms
memory: 3684kb
input:
90 91 25 80 41 14 90 35 8 85 46 71 81 38 14 6 28 97 100 71 88 53 86 19 27 34 44 85 55 90 46 35 29 43 29 97 37 61 83 40 42 17 11 98 38 2 1 81 47 56 11 14 56 20 71 11 92 90 89 74 75 13 99 84 58 91 75 69 30 23 83 87 53 29 15 18 52 73 76 84 17 66 23 38 48 32 97 9 66 35 7 29 9984551 5216686 2824148 25169...
output:
490358756
result:
ok single line: '490358756'
Test #52:
score: 0
Accepted
time: 108ms
memory: 3848kb
input:
100 91 5 54 94 28 54 64 44 48 37 40 3 90 24 34 61 47 11 60 23 96 48 72 91 98 39 56 92 59 25 12 24 32 4 88 33 84 64 3 27 31 32 32 68 48 15 97 94 34 38 29 24 39 74 28 75 24 54 28 25 39 20 38 25 11 74 91 11 66 6 59 87 37 64 78 83 43 76 38 15 48 65 41 47 36 42 31 79 35 42 32 46 91 34 85 78 13 85 62 36 2...
output:
562483500
result:
ok single line: '562483500'
Test #53:
score: 0
Accepted
time: 121ms
memory: 3924kb
input:
91 98 50 96 8 75 62 23 92 81 73 49 81 98 77 24 53 88 5 68 49 100 14 93 97 76 10 16 2 83 34 28 79 47 90 97 69 74 24 85 88 28 60 70 41 16 73 41 15 35 44 24 4 46 74 37 25 90 47 94 61 29 90 43 75 32 6 24 13 19 70 68 84 92 54 55 11 83 61 90 79 70 66 39 93 9 8 100 87 49 38 29 25 5606766 4794628 8900521 20...
output:
967484481
result:
ok single line: '967484481'
Test #54:
score: 0
Accepted
time: 104ms
memory: 3852kb
input:
90 96 59 8 19 42 27 94 48 34 94 92 3 35 39 70 3 25 15 61 30 59 7 24 31 90 7 21 53 92 6 33 24 17 30 51 69 83 37 93 74 48 52 74 59 82 56 26 77 10 32 44 80 61 14 54 61 80 91 8 97 61 36 9 86 21 91 70 23 34 7 85 15 3 28 10 46 36 15 95 1 92 54 23 58 9 51 61 95 55 92 36 8349923 3720698 4539746 6723937 9967...
output:
124170625
result:
ok single line: '124170625'
Test #55:
score: 0
Accepted
time: 109ms
memory: 3640kb
input:
95 94 57 10 18 61 75 78 34 79 86 81 23 10 40 64 68 16 43 65 12 84 67 63 100 33 6 41 12 33 93 47 76 75 15 17 68 2 19 47 84 38 89 35 11 58 86 14 21 24 64 94 32 100 30 54 74 10 94 66 18 86 8 93 6 96 43 15 90 45 70 38 64 53 43 3 71 4 80 61 28 4 7 53 41 62 49 78 10 23 95 73 51 52 29 47 75 5706911 43052 2...
output:
464963577
result:
ok single line: '464963577'
Test #56:
score: 0
Accepted
time: 112ms
memory: 3760kb
input:
91 91 54 30 43 59 26 25 80 96 7 55 12 58 41 11 69 20 35 97 97 71 91 95 93 3 52 73 55 5 65 5 60 53 77 64 86 2 76 84 66 100 96 31 69 60 63 65 66 86 5 56 9 78 68 45 33 13 74 71 4 87 50 66 30 44 54 28 9 49 35 74 94 26 53 81 80 78 67 13 18 79 6 52 77 63 76 10 87 32 55 13 5 3472524 7690944 3359693 8600940...
output:
22457676
result:
ok single line: '22457676'
Test #57:
score: 0
Accepted
time: 127ms
memory: 3796kb
input:
96 97 53 68 10 73 57 50 74 32 73 43 91 96 56 43 6 53 76 55 63 89 34 75 28 16 47 74 80 92 16 68 8 84 50 27 42 44 39 29 33 97 26 48 76 91 95 56 47 75 72 50 75 45 81 59 70 65 70 88 7 22 50 69 98 20 69 84 16 41 60 32 85 2 22 75 33 16 94 74 9 41 99 82 4 45 21 23 70 1 92 54 78 5 42 5 24 73 4564376 6610408...
output:
857907245
result:
ok single line: '857907245'
Test #58:
score: 0
Accepted
time: 114ms
memory: 3792kb
input:
90 99 66 37 20 42 60 3 71 33 14 32 5 68 43 30 57 20 85 69 55 33 63 86 1 6 56 100 30 25 15 24 68 40 31 74 4 14 47 81 38 61 97 65 50 27 53 49 49 93 56 43 99 54 42 28 39 69 7 20 44 2 73 44 85 90 15 94 29 91 87 95 83 82 6 62 68 24 37 78 43 95 19 40 30 96 7 81 41 65 73 48 5540981 1480097 4644177 7377764 ...
output:
842957880
result:
ok single line: '842957880'
Test #59:
score: 0
Accepted
time: 131ms
memory: 3872kb
input:
98 100 24 51 68 61 67 92 22 16 21 83 66 94 8 78 89 2 94 95 79 2 37 31 26 41 89 84 19 6 23 84 84 14 79 29 85 40 72 58 55 27 64 64 53 88 11 68 64 96 47 53 88 33 11 74 76 66 11 78 90 63 17 63 6 19 80 21 25 46 98 50 5 27 26 54 51 59 58 27 11 28 41 89 58 22 79 96 73 73 44 33 81 57 23 97 11 46 54 70 16035...
output:
806715254
result:
ok single line: '806715254'
Test #60:
score: 0
Accepted
time: 106ms
memory: 3640kb
input:
100 90 8 9 51 33 73 24 54 58 65 59 42 50 51 3 98 28 85 40 95 25 50 66 94 15 42 40 37 62 1 31 17 97 34 30 59 62 31 20 24 35 23 57 4 6 81 73 54 8 32 77 97 34 5 30 28 17 17 76 89 75 54 56 6 92 4 16 53 10 91 72 34 98 15 17 32 37 67 69 85 81 13 19 27 40 42 53 54 90 97 33 7 79 21 91 32 7 60 4 80 51 377079...
output:
248321419
result:
ok single line: '248321419'
Test #61:
score: 0
Accepted
time: 100ms
memory: 3688kb
input:
90 91 61 36 49 54 72 94 53 64 6 20 40 74 91 11 50 47 42 80 4 48 93 60 19 75 62 95 76 16 65 82 64 9 43 13 38 38 85 22 6 10 50 78 7 17 77 45 43 77 19 18 83 73 28 60 99 88 73 11 90 80 42 6 2 57 33 13 81 14 9 49 21 17 6 31 7 74 52 32 51 82 91 22 9 24 82 67 55 21 27 83 3495745 659743 3470390 9875140 2790...
output:
545341572
result:
ok single line: '545341572'
Test #62:
score: 0
Accepted
time: 128ms
memory: 3792kb
input:
98 99 88 71 41 11 80 47 43 57 43 100 45 5 74 9 19 8 84 8 47 86 80 81 5 80 65 62 38 72 24 47 32 94 24 56 76 88 88 74 87 51 37 19 78 39 93 6 89 67 51 46 30 1 25 80 39 65 8 43 28 61 33 65 8 12 47 3 13 60 3 27 82 20 77 43 99 91 95 69 60 96 94 44 25 60 48 29 74 81 59 10 96 62 36 95 28 64 8 27 3064128 637...
output:
969974311
result:
ok single line: '969974311'
Test #63:
score: 0
Accepted
time: 131ms
memory: 3640kb
input:
97 100 14 89 59 82 44 4 94 23 99 90 93 79 43 64 100 67 17 11 100 81 74 60 46 87 100 77 15 69 23 85 16 54 98 25 34 67 10 30 21 49 90 11 7 6 14 28 47 13 5 95 70 25 38 73 64 43 73 56 63 68 54 100 21 63 49 32 55 79 6 39 85 12 98 50 25 83 93 65 49 76 11 76 63 22 75 50 19 8 69 15 33 30 84 21 68 96 55 1469...
output:
704247800
result:
ok single line: '704247800'
Test #64:
score: 0
Accepted
time: 113ms
memory: 3924kb
input:
93 100 74 8 55 36 30 5 29 46 56 7 23 53 79 64 64 75 24 4 17 4 36 6 91 55 31 51 58 99 8 56 83 16 7 78 82 98 89 96 30 10 6 10 25 74 36 14 20 66 85 9 94 90 25 33 1 5 99 61 87 100 36 14 5 38 81 66 86 69 25 30 40 95 14 33 78 9 71 33 2 13 30 87 74 55 87 14 61 80 77 8 88 96 31 7223814 9124844 6956913 76117...
output:
580311115
result:
ok single line: '580311115'
Test #65:
score: 0
Accepted
time: 101ms
memory: 3856kb
input:
95 91 34 51 30 59 83 23 19 20 37 55 31 98 23 90 14 19 71 100 14 38 84 22 42 78 62 33 22 8 7 39 52 66 53 10 5 73 37 80 57 1 38 23 83 59 90 79 69 75 55 69 33 29 3 4 41 30 76 64 40 17 37 61 78 71 11 63 44 8 52 15 48 28 29 87 5 46 79 85 86 78 44 8 34 50 3 43 78 89 70 14 60 70 90 61 23 5648003 9480985 65...
output:
559865044
result:
ok single line: '559865044'
Test #66:
score: 0
Accepted
time: 117ms
memory: 3852kb
input:
91 99 18 65 69 6 98 54 82 41 69 69 54 75 71 43 36 13 6 1 50 59 19 66 51 77 50 25 73 6 93 37 87 43 30 99 41 49 26 19 81 1 14 53 25 37 64 19 51 21 42 4 30 89 66 94 100 85 84 2 18 50 66 31 81 74 35 2 84 71 47 99 56 11 54 37 19 85 91 27 89 96 80 47 24 37 61 44 36 8 90 77 22 3838694 9605029 8701296 32071...
output:
817989720
result:
ok single line: '817989720'
Test #67:
score: 0
Accepted
time: 107ms
memory: 3856kb
input:
96 90 54 76 18 4 84 88 65 58 11 48 90 70 69 8 59 30 80 81 85 65 48 58 43 59 48 37 1 54 79 96 49 20 30 95 4 24 8 40 82 88 91 16 66 46 10 60 73 48 2 12 20 91 100 83 18 26 8 17 84 82 18 61 99 61 80 41 45 71 37 40 77 32 26 46 41 73 61 37 9 13 49 4 3 20 39 48 44 42 17 93 63 10 31 5 48 60 7802408 8790505 ...
output:
699604095
result:
ok single line: '699604095'
Test #68:
score: 0
Accepted
time: 112ms
memory: 3684kb
input:
91 99 22 7 72 66 3 73 39 59 60 61 48 23 76 47 71 60 39 71 73 96 6 77 59 41 73 31 44 30 82 45 68 18 9 44 82 8 43 26 5 12 49 12 12 16 93 76 41 59 5 97 87 51 67 99 9 83 73 30 62 69 35 60 67 80 53 69 37 94 98 72 52 18 80 9 28 3 38 30 41 41 15 94 38 10 50 26 38 65 48 63 15 7154098 4729276 4334759 5950921...
output:
698557199
result:
ok single line: '698557199'
Test #69:
score: 0
Accepted
time: 131ms
memory: 3864kb
input:
99 100 9 43 24 43 88 54 49 85 84 43 55 33 78 46 67 11 51 11 50 88 99 17 24 17 88 96 93 65 53 87 86 26 11 90 35 19 65 55 63 88 56 37 48 13 18 83 14 88 20 47 24 30 81 99 4 25 76 19 63 10 60 63 82 82 24 10 32 70 67 84 92 79 3 76 2 5 84 90 35 64 90 35 81 72 27 21 17 17 63 90 27 85 19 81 57 81 64 11 1 96...
output:
57541161
result:
ok single line: '57541161'
Test #70:
score: 0
Accepted
time: 114ms
memory: 3872kb
input:
92 92 15 2 5 97 99 90 65 63 83 88 93 70 17 2 27 16 22 60 78 2 17 18 18 17 75 66 48 35 11 90 72 94 77 90 81 53 95 78 19 78 78 16 22 4 80 45 23 36 24 95 16 46 91 86 72 6 49 49 18 75 66 57 36 81 72 84 35 72 53 82 50 51 95 96 4 89 16 83 51 91 9 95 41 33 34 75 58 2 17 86 27 43 8969945 6165057 7009041 629...
output:
98629619
result:
ok single line: '98629619'
Test #71:
score: 0
Accepted
time: 109ms
memory: 3864kb
input:
91 95 2 87 89 14 61 32 22 27 18 98 42 32 71 78 8 36 83 21 83 9 78 5 76 4 52 56 94 58 44 68 94 45 78 79 13 22 44 54 74 73 50 5 96 3 56 97 15 72 14 19 10 49 41 89 8 28 22 66 32 73 11 23 59 66 15 45 84 80 49 28 63 12 30 41 45 96 62 23 74 57 3 90 17 63 7 81 49 80 83 76 73 4054260 2865334 5423780 8651113...
output:
21368275
result:
ok single line: '21368275'
Test #72:
score: 0
Accepted
time: 103ms
memory: 3872kb
input:
92 91 95 28 44 100 62 16 4 81 1 93 59 40 61 100 62 78 31 9 84 78 41 48 84 69 81 94 54 56 39 10 36 38 67 96 36 64 79 95 55 94 83 83 45 23 38 10 75 100 4 2 17 7 20 37 95 17 6 45 3 67 6 29 56 1 16 11 85 51 4 7 72 48 34 77 29 44 59 91 73 29 39 50 80 84 18 9 60 67 26 89 40 36 9781628 3097605 1050868 4921...
output:
937042263
result:
ok single line: '937042263'
Test #73:
score: 0
Accepted
time: 99ms
memory: 3856kb
input:
99 95 34 7 5 39 22 46 81 75 16 96 5 57 24 17 8 22 84 6 100 7 31 9 58 2 62 100 46 47 70 17 89 82 33 96 92 52 39 47 94 78 66 28 38 87 12 58 43 34 28 13 10 13 58 36 14 17 7 27 83 34 46 30 7 21 52 5 11 5 20 61 62 28 48 79 4 81 46 47 97 13 46 34 7 17 34 15 22 18 7 78 39 83 36 71 7 57 17 35 64 285130 1161...
output:
41267954
result:
ok single line: '41267954'
Test #74:
score: 0
Accepted
time: 108ms
memory: 3920kb
input:
90 98 24 64 66 35 69 19 29 19 20 86 31 96 25 68 1 78 7 65 26 83 26 84 87 46 1 24 92 65 87 7 22 56 59 33 30 26 35 97 75 35 5 56 68 25 30 89 11 97 21 32 54 36 94 1 81 31 89 84 81 42 15 8 38 4 63 48 33 28 20 96 24 9 67 2 81 73 84 59 3 38 20 69 1 32 88 82 16 100 63 57 9049120 2392907 8233595 3325701 743...
output:
431527713
result:
ok single line: '431527713'
Test #75:
score: 0
Accepted
time: 111ms
memory: 3700kb
input:
93 90 21 77 71 7 38 63 44 64 98 52 5 22 6 61 24 93 37 68 54 98 75 75 41 89 33 17 41 63 32 91 65 66 88 39 56 51 12 47 88 28 60 11 24 57 20 81 76 67 41 61 74 64 79 37 24 78 39 81 74 11 8 100 16 75 80 56 73 23 66 67 68 5 38 51 69 37 91 51 68 47 36 4 31 42 67 30 48 32 50 51 90 55 27 2530586 6154712 6328...
output:
219125927
result:
ok single line: '219125927'
Test #76:
score: 0
Accepted
time: 102ms
memory: 3852kb
input:
96 91 91 41 70 2 100 63 20 91 9 97 30 89 35 96 27 67 35 58 9 7 65 77 33 37 42 26 6 44 88 64 78 30 60 62 14 59 57 30 13 27 100 41 93 50 13 3 6 17 14 26 77 7 50 51 63 49 16 24 66 4 20 3 54 61 88 19 33 45 58 81 66 9 27 60 50 44 21 45 86 11 25 19 38 75 64 50 42 64 60 14 5 55 4 47 89 77 2486161 3207153 1...
output:
169356192
result:
ok single line: '169356192'
Test #77:
score: 0
Accepted
time: 116ms
memory: 3640kb
input:
100 92 90 70 99 40 37 61 45 51 89 42 100 14 25 67 8 86 24 52 65 97 58 99 28 84 2 16 85 21 12 26 27 37 59 20 65 25 48 97 19 96 63 4 21 52 40 52 68 17 20 53 65 3 95 27 16 53 33 28 1 7 21 83 18 33 40 71 92 100 90 72 42 31 60 40 40 29 34 60 40 52 38 47 78 6 87 94 32 6 69 93 17 40 76 27 14 93 75 18 79 60...
output:
536382656
result:
ok single line: '536382656'
Test #78:
score: 0
Accepted
time: 117ms
memory: 3636kb
input:
97 91 57 84 52 88 86 50 43 81 24 24 73 70 10 80 51 35 4 90 18 45 30 46 82 80 84 50 34 44 47 34 12 63 74 91 10 14 4 70 50 17 67 48 46 68 62 99 40 60 84 33 70 37 53 26 94 73 57 4 75 56 61 14 53 25 35 31 23 28 80 51 17 74 25 51 68 91 42 76 33 45 52 9 73 51 85 15 65 37 3 84 90 80 79 59 18 59 69 7248138 ...
output:
948310410
result:
ok single line: '948310410'
Test #79:
score: 0
Accepted
time: 115ms
memory: 3768kb
input:
98 93 11 16 17 88 65 1 43 71 19 77 16 41 30 4 19 45 16 57 13 26 30 60 42 49 69 77 60 25 2 90 5 10 5 56 92 22 82 79 90 13 89 39 4 25 48 54 94 67 68 33 93 55 43 61 20 83 61 98 61 57 63 82 21 12 47 57 72 48 85 35 90 8 96 28 30 67 78 80 14 88 62 66 8 91 11 66 77 48 18 97 59 90 13 42 1 41 86 10 9090259 9...
output:
762991544
result:
ok single line: '762991544'
Test #80:
score: 0
Accepted
time: 108ms
memory: 3860kb
input:
92 93 92 56 49 9 38 60 22 15 72 16 95 50 53 2 5 83 9 2 36 5 5 38 92 71 21 67 59 19 91 18 77 43 42 76 64 74 8 74 54 34 17 97 63 50 41 20 91 64 40 85 64 67 57 79 35 6 19 93 60 65 86 24 61 5 94 15 15 28 63 86 80 75 73 19 94 37 58 1 1 47 12 71 20 11 100 54 37 11 69 66 82 92 2026735 6923890 9658522 64048...
output:
706430034
result:
ok single line: '706430034'
Test #81:
score: 0
Accepted
time: 113ms
memory: 3684kb
input:
100 93 37 20 65 94 9 8 6 80 65 17 20 20 15 94 32 32 42 50 72 53 37 60 21 28 5 21 1 84 90 94 1 71 3 72 49 21 81 62 68 73 8 21 3 100 43 17 100 30 72 90 22 19 47 19 90 95 33 48 79 31 86 50 12 59 80 27 83 17 73 24 63 71 27 88 66 23 79 5 34 100 34 36 85 20 19 95 8 4 71 3 42 17 50 52 61 44 94 15 78 72 746...
output:
866061257
result:
ok single line: '866061257'
Test #82:
score: 0
Accepted
time: 109ms
memory: 3856kb
input:
91 97 34 73 5 77 65 14 76 79 95 66 48 26 20 94 13 2 65 52 28 58 64 18 51 87 12 85 20 30 49 4 5 46 83 15 85 84 34 31 1 75 72 15 56 49 29 14 10 81 90 9 44 80 79 78 84 9 84 39 25 79 52 84 40 70 63 70 90 77 30 87 13 78 34 50 63 33 92 58 49 61 1 99 75 23 12 11 21 38 30 81 40 6843014 722724 1699876 151516...
output:
545240430
result:
ok single line: '545240430'
Test #83:
score: 0
Accepted
time: 111ms
memory: 3756kb
input:
90 95 91 72 18 94 63 91 19 51 41 22 11 88 4 15 70 41 96 3 72 73 48 75 88 10 40 22 17 94 58 90 86 50 43 30 21 81 58 14 97 60 22 13 47 92 83 62 80 68 76 10 79 14 22 17 71 42 37 83 47 31 73 89 11 83 4 76 34 6 21 17 67 28 39 70 84 60 36 88 90 87 32 93 9 4 48 1 93 21 53 14 9581075 7268430 7725891 2689244...
output:
427759785
result:
ok single line: '427759785'
Test #84:
score: 0
Accepted
time: 122ms
memory: 3756kb
input:
91 97 30 63 99 32 52 13 21 75 26 75 6 49 88 52 5 44 53 93 44 83 18 34 13 47 69 10 39 87 90 88 69 40 27 62 34 21 40 50 15 52 97 47 84 72 77 28 78 58 8 86 99 85 63 9 52 42 14 67 8 30 86 9 79 84 79 23 29 92 54 66 53 83 97 89 26 62 4 11 93 88 90 72 73 42 37 51 95 83 2 52 62 711148 3261419 5265608 319801...
output:
973177498
result:
ok single line: '973177498'
Test #85:
score: 0
Accepted
time: 126ms
memory: 3856kb
input:
99 98 90 100 31 56 97 99 26 45 59 94 73 14 30 22 59 63 68 86 100 2 28 40 4 91 43 16 14 34 13 55 30 92 99 68 12 84 93 64 21 4 87 54 73 85 33 78 37 40 32 22 30 33 74 89 72 31 5 14 78 64 18 97 23 43 54 100 30 90 61 80 43 43 69 9 97 8 63 75 26 53 44 88 19 29 2 3 63 94 10 54 62 41 59 47 56 44 48 66 94 91...
output:
200052113
result:
ok single line: '200052113'
Test #86:
score: 0
Accepted
time: 130ms
memory: 3760kb
input:
100 91 40 66 80 2 21 12 64 29 86 2 13 64 41 70 59 97 67 66 9 29 50 77 24 74 85 51 56 100 28 50 21 5 16 88 4 28 81 53 64 50 98 53 81 66 36 48 77 67 72 85 16 2 17 78 56 77 1 12 88 40 93 10 64 68 47 93 12 77 63 48 43 47 98 74 70 49 43 70 52 43 79 75 79 83 81 18 35 13 100 96 23 100 70 97 69 86 95 45 100...
output:
473878445
result:
ok single line: '473878445'
Test #87:
score: 0
Accepted
time: 122ms
memory: 3868kb
input:
100 98 36 80 5 35 15 68 4 97 48 52 26 35 69 88 13 73 68 43 23 87 62 76 63 20 49 35 35 65 50 10 35 56 1 47 31 32 90 12 17 25 19 84 21 59 33 5 5 39 56 42 58 37 80 16 87 100 1 34 47 18 90 27 86 55 47 98 69 6 76 40 11 85 16 10 60 36 86 79 71 42 60 72 66 11 27 60 35 60 75 23 99 91 5 56 77 84 63 26 96 42 ...
output:
252731308
result:
ok single line: '252731308'
Test #88:
score: 0
Accepted
time: 109ms
memory: 3920kb
input:
94 100 31 86 69 90 98 18 22 32 39 16 30 10 75 31 39 73 62 1 85 21 58 95 39 72 45 21 74 93 1 38 75 43 10 75 83 64 18 51 23 9 6 63 26 63 6 26 35 8 66 68 1 75 64 86 22 23 80 53 23 61 64 57 17 74 38 42 8 10 5 50 22 5 74 20 46 82 22 93 92 55 67 39 19 72 1 3 32 32 66 78 26 62 22 81 4848271 5597780 3051628...
output:
548072146
result:
ok single line: '548072146'
Test #89:
score: 0
Accepted
time: 116ms
memory: 3908kb
input:
99 92 62 78 6 39 15 72 99 26 29 55 75 86 10 77 39 24 62 73 29 84 69 16 45 45 16 85 41 94 24 52 20 47 55 34 54 8 100 6 90 56 84 93 66 3 74 10 14 30 89 36 58 46 11 45 5 79 7 15 20 95 21 37 54 17 40 76 73 23 47 18 16 65 88 95 92 74 53 97 27 9 83 39 95 58 43 51 32 25 64 40 76 62 67 50 21 47 24 90 17 580...
output:
11012986
result:
ok single line: '11012986'
Test #90:
score: 0
Accepted
time: 118ms
memory: 3924kb
input:
97 94 60 85 36 18 81 68 7 22 27 33 57 56 1 89 59 21 97 36 78 71 100 34 58 72 97 49 11 85 79 20 32 78 73 56 68 77 22 86 31 43 89 86 13 2 51 54 18 23 97 3 13 83 10 28 5 56 65 29 19 15 44 32 53 35 6 20 99 9 69 7 91 87 68 55 60 56 62 31 82 7 14 14 23 80 79 93 69 83 80 79 73 81 100 33 9 13 27 582304 8057...
output:
364557675
result:
ok single line: '364557675'
Test #91:
score: 0
Accepted
time: 103ms
memory: 3824kb
input:
92 92 43 66 2 61 66 84 68 88 33 4 89 40 44 20 64 36 97 28 90 66 85 47 4 46 31 71 61 4 41 49 49 50 10 97 66 45 71 14 94 43 94 24 33 40 11 43 78 97 16 30 37 35 25 43 47 1 19 87 22 2 83 50 14 29 79 30 62 89 13 29 94 63 2 44 38 93 38 52 27 85 3 35 35 53 9 29 73 58 68 9 43 58 9640024 1241986 8128732 3193...
output:
166620401
result:
ok single line: '166620401'
Test #92:
score: 0
Accepted
time: 136ms
memory: 3640kb
input:
100 95 58 75 76 12 16 100 99 10 72 36 64 85 24 53 77 72 99 3 71 26 30 6 76 37 33 47 89 68 82 74 29 50 55 16 70 74 81 98 77 37 55 67 55 54 99 99 3 79 11 91 38 43 75 100 86 88 51 21 30 65 84 51 75 100 69 76 40 58 81 52 3 35 76 25 2 53 66 16 81 57 66 4 64 95 77 63 40 40 45 66 56 92 84 80 30 48 52 70 88...
output:
782910973
result:
ok single line: '782910973'
Test #93:
score: 0
Accepted
time: 99ms
memory: 3868kb
input:
94 90 57 50 4 33 61 23 54 41 100 19 46 75 31 22 63 62 76 32 14 34 66 25 91 25 9 52 12 33 29 26 58 41 77 89 76 20 30 91 26 28 86 5 5 19 96 60 13 80 9 41 39 30 98 95 91 16 8 98 21 100 40 34 4 58 24 28 14 49 63 20 73 38 7 55 9 11 91 16 37 74 36 11 64 56 87 20 24 72 68 32 55 76 55 48 4452073 4312541 368...
output:
408421770
result:
ok single line: '408421770'
Test #94:
score: 0
Accepted
time: 126ms
memory: 3644kb
input:
95 96 43 42 63 42 50 87 19 16 31 86 77 53 54 22 71 85 39 44 11 74 33 39 9 96 79 84 33 85 67 73 10 49 73 88 58 16 52 9 8 37 79 85 98 56 35 78 22 89 44 50 84 52 21 77 78 80 30 39 51 95 56 41 11 12 80 67 100 1 23 95 82 15 60 41 57 55 13 9 94 6 87 19 31 66 90 99 70 49 16 95 90 38 96 20 71 8256917 993462...
output:
33075289
result:
ok single line: '33075289'
Test #95:
score: 0
Accepted
time: 120ms
memory: 3912kb
input:
96 95 65 49 13 31 22 48 77 19 31 5 52 93 16 64 84 73 39 15 12 42 77 53 45 73 5 87 89 75 4 1 74 92 94 26 19 51 2 60 73 5 93 18 21 37 59 86 23 83 76 61 12 82 58 30 58 13 7 82 32 81 82 61 86 83 84 36 64 100 84 38 45 70 18 14 9 40 52 25 64 57 21 66 45 11 73 87 80 28 49 98 35 64 60 69 75 46 5097291 52538...
output:
349203096
result:
ok single line: '349203096'
Test #96:
score: 0
Accepted
time: 115ms
memory: 3836kb
input:
97 90 52 62 49 76 96 35 8 69 52 7 51 45 99 32 13 52 18 22 42 54 84 100 19 37 44 16 62 13 29 91 29 73 36 78 87 72 19 10 7 30 63 58 49 97 12 53 3 42 75 34 90 62 40 63 34 37 76 27 57 94 35 39 15 11 90 52 98 50 47 44 43 74 8 1 27 67 74 95 93 63 98 24 74 51 17 56 86 29 45 58 74 27 8 79 62 98 89 3168338 9...
output:
123377892
result:
ok single line: '123377892'
Test #97:
score: 0
Accepted
time: 117ms
memory: 3752kb
input:
91 98 58 36 28 78 70 85 48 18 42 58 82 3 75 33 14 65 56 86 40 93 28 61 32 46 89 6 46 40 83 74 21 48 50 32 7 1 37 89 92 24 47 53 53 37 30 42 88 55 76 96 28 75 78 71 65 66 85 56 18 45 32 77 71 11 78 24 82 88 21 53 13 65 23 68 66 91 35 24 10 43 94 42 1 9 46 45 76 38 51 48 63 5759011 1935848 6942283 769...
output:
705335912
result:
ok single line: '705335912'
Test #98:
score: 0
Accepted
time: 114ms
memory: 3852kb
input:
98 90 79 100 9 51 60 99 14 23 39 65 42 49 7 9 29 24 5 46 64 40 81 72 89 2 88 7 82 1 46 22 73 54 18 10 74 98 94 81 23 39 40 28 77 61 93 56 6 64 86 28 79 52 82 24 95 28 62 64 26 63 65 36 61 67 89 20 26 70 59 38 10 30 57 81 20 100 31 40 15 81 50 26 65 18 42 72 91 94 57 57 3 40 31 23 34 80 48 36 931643 ...
output:
245025825
result:
ok single line: '245025825'
Test #99:
score: 0
Accepted
time: 113ms
memory: 3832kb
input:
92 93 27 15 12 58 90 96 53 43 91 81 69 97 99 14 53 24 25 65 14 33 2 67 42 38 2 25 85 35 33 76 85 38 31 47 100 2 98 71 74 47 36 88 20 95 96 92 56 7 38 36 87 13 8 97 80 13 70 86 89 94 23 81 39 25 48 63 78 20 1 2 100 29 23 60 43 33 95 24 64 63 84 24 44 53 26 24 68 82 63 63 20 3 4424865 1312118 7580709 ...
output:
806710468
result:
ok single line: '806710468'
Test #100:
score: 0
Accepted
time: 116ms
memory: 3868kb
input:
97 94 67 1 85 37 1 48 36 2 26 73 37 94 50 34 3 34 55 23 63 56 62 56 26 59 88 50 71 41 65 46 73 28 99 93 94 45 45 96 21 22 47 29 90 49 98 23 96 30 70 47 84 5 35 59 67 7 10 16 59 23 18 22 1 84 55 16 58 88 61 60 48 91 79 27 16 87 4 51 21 80 44 25 18 78 71 49 4 96 25 63 60 37 69 76 31 92 53 4544466 4434...
output:
735992364
result:
ok single line: '735992364'