|
|
back to boardWA on #1. tested several times and don't know the problem // ural1014 The Product of Digits // MR [code deleted] Edited by author 16.05.2006 19:08 Edited by moderator 17.05.2006 00:06 Re: WA on #1. tested several times and don't know the problem I've launched your program on tests 9 and 81. Your program's answers: 9<1> 99<2> where <1> and <2> - symbols with such ASCII codes. Re: WA on #1. tested several times and don't know the problem i've tested the program under my system (windows xp) with gcc in the dev-cpp and didn't find any strange ASCII charactors after lines. i really wonder if there're differences between windows and *nix/*bsd on I/O output. regards Edited by author 17.05.2006 13:43 Re: WA on #1. tested several times and don't know the problem Well, i replace the putchar('0' + i); with the printf("%d", i); and it gets AC. i'm more confused >_< |
|
|