谜一般的getchar/scanf

P1736 创意吃鱼法

Why use 'getchar' like this?Without 'while'? Who told you that there're exactly two spaces between the lines? How about three spaces?I can type one more space by myself.It's legal. And also, in Linux '\n' ends a line while '\r\n' ends a lind in Windows.
by SeKong @ 2018-07-05 15:57:08


@[Skqliao](/space/show?uid=38018) %全篇英语dalao
by Captain_Paul @ 2018-07-05 16:18:06


@[Skqliao](/space/show?uid=38018) 哦,谢谢大佬%
by Ηydra @ 2018-07-05 16:27:59


@[Captain_Paul](/space/show?uid=43471) I just can't type Chinese in luogu using this device,it's strange.
by SeKong @ 2018-07-05 18:00:05


@[Skqliao](/space/show?uid=38018) I can't understand what you mean due to my poor Chinglish/Engnese
by Owen_codeisking @ 2018-07-09 11:04:51


翻译: 为什么要这样使用getchar?在没有while的情况下? 谁告诉你两行之间一定只有两个空格? 三个空格如何?我可以自己多打一个空格,这是合法的 并且,Windows的换行符是'\r\n'而Linux是'\n'
by EMT__Mashiro @ 2018-08-07 10:24:44


渣翻勿喷
by EMT__Mashiro @ 2018-08-07 10:25:03


|