Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic level C++ 1009说反话 #144

Open
HJHY opened this issue Apr 29, 2020 · 1 comment
Open

Basic level C++ 1009说反话 #144

HJHY opened this issue Apr 29, 2020 · 1 comment

Comments

@HJHY
Copy link

HJHY commented Apr 29, 2020

是不是存在错误

@TieString
Copy link

按原来的在编译器里面不会跳出循环,但是不知道为什么在判题系统里面是全部正确的,加一个出口就好了
while (cin >> s) { v.push(s); if (getchar() == '\n') break; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants