用gets会让第一个字符串多读一个字符回车

P3375 【模板】KMP

scanf和gets混用了吧 scanf到\n为止,但不会读入\n 第二个gets就把\n吃掉了
by a2600254 @ 2018-05-23 12:12:52


|