一组测试点都没过,但是自己测试都是对的

P1598 垂直柱状图

希望更丰富的展现?[使用Markdown](https://www.luogu.org/wiki/show?name=%E5%B8%AE%E5%8A%A9%EF%BC%9Amarkdown)
by RikukiIX @ 2019-03-25 18:49:39


你的输出格式错了 要求输出字母间要打空格 你的没打。 ```cpp your out: * * * * * * * * * * * * * * * * * * * ** ** * *** * * *** ** ** **** * ****** ***** **** ** ************************** ABCDEFGHIJKLMNOPQRSTUVWXYZ std out: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ```
by first_fan @ 2019-03-25 18:51:09


@[fanatic](/space/show?uid=151410)
by first_fan @ 2019-03-25 18:51:26


你的代码改一下就好了: ```cpp //yours: for(j=0;j<26;j++) { putchar(ans[i][j]); } putchar('\n'); //correct: for(j=0; j<26; j++) { putchar(ans[i][j]); putchar(' '); } putchar('\n'); ``` @[fanatic](/space/show?uid=151410)
by first_fan @ 2019-03-25 18:54:32


@[first_fan](/space/show?uid=126484) 我也是一样的情况。看了你的回复后在输出那里多加了个空格就AC了。谢谢你!
by 凌九傲 @ 2019-07-13 18:05:40


|