|
|
вернуться в форумSome questions about the sample input!Need help! for the sample input: 4 0000 011 1001 11011 can the output be:? 0000 0110 1001 11001 you see,in the last string,the total('1''s place) is 1+4+5=10 10 mod (n+1)=10 mod 5=0,why not the answers isn't this one?? Another question: for the string"10011" is the s=1+4+5=10 or s=1+2+5=8? Can anyont answer me? Thanks a million!єЗєЗ Re: Some questions about the sample input!Need help! Послано simply 6 июн 2003 17:36 > can the output be:? > 0000 > 0110 > 1001 > 11001-------------->the length of the string must be 4!! > you see,in the last string,the total('1''s place) is 1+4+5=10 > 10 mod (n+1)=10 mod 5=0,why not the answers isn't this one?? > Another question: > for the string"10011" > is the s=1+4+5=10 --------------------------this one. > or s=1+2+5=8? > Can anyont answer me? > Thanks a million!єЗєЗ |
|
|