Ticket 3015
Problem 1637 -d
Submission 151402896
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
2
38
99 54 9 63 29 78 23 76 64 81 78 60 69 49 29 38 47 46 59 5 33 61 64 80 100 50 56 9 71 74 77 14 89 46 9 51 62 62 
25 82 47 34 12 65 81 56 50 92 98 84 82 40 32 3 9 21 7 37 40 53 76 39 5 11 20 33 34 21 85 53 29 11 26 46 19 81 
100
62 21 57 90 77 78 6 19 88 47 62 80 38 53 81 94 18 55 68 73 48 45 47 30 91 50 71 79 46 15 93 49 27 22 53 35 33 92 4 48 28 99 66 37 63 32 69 85 69 86 15 79 73 97 80 87 61 8 58 5 92 8 36 93 92 35 52 85 9 26 17 58 71 35 65 28 80 32 87 29 43 62 38 18 70 75 41 30 90 72 65 1 62 95 46 46 24 54 79 9 
87 66 73 42 17 53 91 92 35 81 81 23 41 35 89 46 51 33 60 74 62 4 3 17 15 3 84 4 71 50 76 14 89 11 4 30 7 5 93 65 50 68 22 6 1 70 14 84 18 89 79 59 29 14 57 91 63 92 20 64 65 7 69 24 34 98 26 84 36 41 38 92 100 19 70 42 69 86 43 11 81 46 17 74 88 62 1 10 3 14 8 77 86 74 74 16 27 57 40 99 
Expected Output
15317437
120878463
Your Output
-9223372036846314477
-9223372036786602991
Difference
Generator Parameters
--n_cap 100 --n_high 100 --n_low 4 --t_cap 40 --t_high 4 --t_low 1 --val_cap 100 --val_high 100 --val_low 1