You can't check using diff as configurations produced might be different, but you can always check your board for inconsistency using a normal dfs. Also check that you put the required number of mines. See for example my solution to C-large which contains the checking code, you can use that to check your board output(you would be required to tweak the code somewhat though).
Regards, Amit Saharana, IIT Delhi. On Mon, Apr 14, 2014 at 12:38 AM, Leandro Coutinho <[email protected]>wrote: > which tool did you use to compare the outputs? > http://www.diffnow.com/ > > > > On Sun, Apr 13, 2014 at 11:05 AM, Wilco Strydom <[email protected]>wrote: > >> I'm not new to Code Jam, and flew through the first two questions but got >> caught on Minesweeper. >> I downloaded another contestants code after the contest and used my small >> input set to compare output and find the bug. >> There was none! All the 'Impossible' match and all other cases we both >> give valid configurations. No idea how my submission failed! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-code/13393ee3-42a2-43d7-8a3b-2291f7c08bf8%40googlegroups.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-code/CAN6UTaw4f6oOp-7Ee6Uh8W8F0k-VVT3eaNcy1fHsYuyLNqZouA%40mail.gmail.com<https://groups.google.com/d/msgid/google-code/CAN6UTaw4f6oOp-7Ee6Uh8W8F0k-VVT3eaNcy1fHsYuyLNqZouA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/CAGuk5cnA-e0C7Dem%3DZwe6YPJOsgzvEyvN7ejz6PVhj6uXzHT5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
