Ticket 16895
Problem 1841 -b
Submission 1
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
4
2 2 1 6 
5
2 9 3 4 4 
Expected Output
1110
11000
Your Output
1100
11000
Difference
Generator Parameters
--q_high 9 --q_low 1 --t_high 2 --t_low 1 --xi_high 9 --xi_low 0