getchar怎么会TLE #43
Unanswered
jackzhang2013
asked this question in
提问
Replies: 2 comments
-
|
具体输入是什么呢,这个快读没有正确处理读不到数字(输入为空)的情况,会一直读下去。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
CP-Editor 对文件尾的处理不行,你在读入文件后面加一个回车应该就好了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我想用快读,结果会TLE
devc++上运行好好的,后来我看好像是getchar的问题
求助
Beta Was this translation helpful? Give feedback.
All reactions