90分...第一个点老是WA,求解答

P1200 [USACO1.1] 你的飞碟在这儿 Your Ride Is Here

@[Moxder](/space/show?uid=18331) 字符串定义太小
by __世界第一弱__ @ 2016-10-27 21:29:13


@[世界第一弱](/space/show?uid=24397) 是把字符串数组长度从6改成7吗?
by Moxder @ 2016-10-28 10:13:19


@[Moxder](/space/show?uid=18331) 没错
by __世界第一弱__ @ 2016-10-28 16:28:57


你第一句干嘛用的? “char comet[6]="\0",group[6]="\0";”
by wisdom_grass @ 2016-10-30 09:58:05


@[liyuheng](/space/show?uid=23842) 不用初始化数组为\0吗?
by Moxder @ 2016-10-31 16:52:26


应该不用吧, 读入就被覆盖了。
by wisdom_grass @ 2016-11-01 21:20:18


|