|
|
вернуться в форумWhy are for (int i = 0; i < 80; i++) printf("%c",ans[i]) and printf ("%s\n", ans) different..? Послано CO2 23 июл 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 |
|
|