Need some testcases on solving this problem
Posted
by user285825
on Stack Overflow
See other posts from Stack Overflow
or by user285825
Published on 2010-03-27T02:47:56Z
Indexed on
2010/03/27
2:53 UTC
Read the original article
Hit count: 240
programming-contest
I am trying to solve the minesweeper problem of acm problemset archive, http://uva,onlinejudge,org/index,php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1130
I tested with all the possible cases that I can imagine of:
1, minimum 1 1 , 1 1 #
2, maximum
upto 100
upto 100
repeat until 100
3, for each position I test for mine 4 4
,,,
,,,, ,,,, 4 4 ,#,, ,,,, ,,,, ,,,,
lastly 4 4 ,,,, ,,,, ,,,, ,,,#
4, for each postion I put a ',' and surround it with mines 4 4 ,###
#
#
#
4 4
,
#
#
#
lastly 4 4
#
#
#
,
I thought that these are reasonable and representative sets of testcases, But still Wrong answer, I am not sure what else could I test for, I would be glad if someone throw some light on further strategy to test this thing,
© Stack Overflow or respective owner