Clarifications

Problem H · 2018-12-06 17:43:39

another sample for H
Answer: input:
1
7 17
*****************
*gY..........G.e*
*Y...........G..*
*............GGG*
*...............*
*s.............y*
*****************


output:
46

Problem G · 2018-12-06 16:47:47

IF the final answer is 1.999 . we should print 1.99 or 2 ?
Answer: 2.00