|
|
back to boardShow all messages Hide all messages33 .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# ##.#.#.#.#.#.#.#.#.#.#.#.#.#.#... ...............................## #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #..#.#.#.#.#.#.#.#.#.#.#.#.#.#... ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# ##.#.#.#.#.#.#.#.#.#.#.#.#.#.#... ...............................## #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #..#.#.#.#.#.#.#.#.#.#.#.#.#.#... ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# ##.#.#.#.#.#.#.#.#.#.#.#.#.#.###. ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #..#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# ##.#.#.#.#.#.#.#.#.#.#.#.#.#.#... ...............................## #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #..#.#.#.#.#.#.#.#.#.#.#.#.#.#... ...............................## #.##.#.#.#.#.#.#.#.#.#.#.#.#.#... ................................# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# ##.#.#.#.#.#.#.#.#.#.#.#.#.#.#... ...............................## #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.... answer: 12384 check other tests at timustests.lx.ro 15: #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# 16: ##.#.#.#.#.#.#.#.#.#.#.#.#.#.###. 第15,16行之间不能连通! I am get WA on test 4 too! test 4 is wrong! 我知道TEST 4怎么WA的了! 有几点要归纳出来: 1: ural 有保留字: Following words are reserved. For Pascal: as class dispose except exit exports false finalization finally initialization is library new on property raise true try 我就使用了"try"这个保留字,结果就编译错误了。 2: 第四个数据的底15,16行不能连通! 所以:要从点(1,1)与点(N,N)分别搜索!(我是广搜) 如果只从点(1,1)开始搜,结果为:5760。 如果只从点(N,N)开始搜,结果为:6624。 两者之和正好是正确答案:12384 ! 希望我写的这些对你有用! IMS:WITHOUT WAX CS,HN,CHINA 2006,07,02 23:55
Thank you very much!You are so clever! thanks a lot!!!!!!!!!!!!!!!! :) you are so clever ! Thanks very much ! 上面的几位聪明的中国大牛同胞,看没看见下面的Rules?明确写着“Messages should be written in English.(消息必须用英文写)”,请遵守规则,谢谢。 ------- To my clever Chinese friends above, didb't you see the Rules below? It says clearly that "Messages should be written in English." Please obey that. Thanks. Hah, i guessed myself that labyrinth can have no way from entrance to exit ) the thing is, there doesn't have to be a path from 1,1 to n,n, so you have to check both sides. i got WA at test 4 ,too! thank you!! why cant't discussion be written in chinese or russia?? # Messages should NOT contain source code (especially correct solutions). why?? i think source code indeed may cause cheat,but someone who always gets WA really need them to improve Edited by author 28.03.2008 06:14 Edited by author 28.03.2008 06:15 Good Point~ Thankx The reanson why Test#4 is valid is we can enter upper left as well as lower right. the thing is, there doesn't have to be a path from 1,1 to n,n, so you have to check both sides. Edited by author 13.08.2009 08:22Simple test for those who had WA #4: 3 ..# .#. #.. Answer is 108. Thanks! I got WA in test 4 too. |
|
|