|
|
back to boardBe careful about the length 30 in C Posted by Li Xun 24 Jan 2008 17:10 I got WA at first and I found I have made a mistake: For each line I allocate a string with length 30 but in fact it should be 31, because of the \0 at the end of string in C language. Re: Be careful about the length 30 in C Thank you very much! I got WA#5 because of the same mistake. Re: Be careful about the length 30 in C Posted by wf88 18 Feb 2012 14:32 Thanx a lot! Got the same mistake. |
|
|