|
|
back to boardWhy are for (int i = 0; i < 80; i++) printf("%c",ans[i]) and printf ("%s\n", ans) different..? Posted by CO2 23 Jul 2007 21:52 The first one got AC but the second one got WA. I have initialized every char in ans to be ' '. OH, I see... I should let ans[80] to be '\0'... sorry..~ Edited by author 23.07.2007 21:58 |
|
|