Ticket 2843
Problem 1658 -e
Submission 151165009
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
3 1
2 3 9 
5 8 1 
6 7 4 
Expected Output
GMM
GGG
GGG
Your Output
GGM
GGG
GGG
Difference
Generator Parameters
--n_cap 2000 --n_high 9 --n_low 3