Ticket 16495
Problem 1733 -d2
Submission 182959738
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
1
643 30 46
1111111111111111111111111011111111101111111111111111111111111111111111111111111111011111111111111110111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111011111111111111111011111111111111111111111101111111110111111111111111111111111011111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111011111111111111111111111111111111111111111111011110111111111111111111010111111111011111111111
0000101111011100100101001100011111001100011111110011111001111110001011111110101111001111010000101111110111010101111110110011101011011011110000111101010101111101111000111111111111001111001110111101101011001010111011011111001110110111101110011110110111111101001010110011011001000101111011101111111001110110111101111011011111110010110111001111101111111001111010101110010110001110101101110001111001110111011011011110111110111111101000110111000111011111100011111110110110001001110101011001111100011101010101001001011111000011111101110111111001110101001111101010101010111010101111110111110000100111111110100100111001111100001001011111011110101110010
Expected Output
4270
Your Output
1825
Difference
Generator Parameters
--n_high 1000 --n_low 300 --t_high 1 --t_low 1 --x_high 50 --x_low 1 --y_high 50 --y_low 1