|
|
вернуться в форумFunny error Послано Lukom 21 июл 2005 00:52 I make problem 1012 with long ariphmetic, but got WA #6 During some time I searched an error, and she appeared interesting: in each slot of array I wrote down 7 numbers. For example number 76192801046017773930 (n=20, k=10) in my array looked so: a[]={7773930, 104601, 761928, 0, ... 0} but as you see the second (104601) number has 6 numbers: it must look so 0104601, and the first zero did not hatch. Through this my number looked so 7619281046017773930. errors are different... :P Re: Funny error Послано acmkx 26 июл 2005 11:58 Thank you very much! With your help,I get AC now! Re: Funny error Thanks a lot,at the first time I want decrease the cost of memory so I used each four digits to represent one digit,but this compression also take the number a mistake,when it should get an output for 0146,the program output an 146,it lost some digits~~~~~ |
|
|