Ticket 3384
Problem 1658 -e
Submission 152584823
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
4 6 8 
1 5 2 
9 3 7 
Expected Output
GGG
GGG
MMG
Your Output
GGG
GGG
MMG

Difference
Generator Parameters
--n_cap 2000 --n_high 9 --n_low 3