Title |
User |
Message |
Date Posted |
Re: y? |
PEGPro2016 |
Don't mind it. It's just to specify that the program should break after a line with 2 spaces. |
Nov 21, 2017 - 11:33:27 pm UTC |
y? |
hezeyu2007 |
can somone tell me why there is a pq after the two-spaced line? |
Nov 21, 2017 - 11:14:55 pm UTC |
... |
Ronaldo |
e45xy6j |
Nov 14, 2017 - 8:48:20 pm UTC |
I don't understand the error |
Cameron |
I keep getting wrong answers, but I don't know the source of these of these errors. All the test cases do work for me, and when 2 spaces are input, the program does end.I have considered all variation... |
Aug 03, 2017 - 10:11:19 pm UTC |
Re: What am i getting wrong? |
asdflkjh |
LOL [he's NOT my friend] [stranger] jialeyu: LOL [he's my friend] |
Mar 30, 2017 - 1:28:44 am UTC |
Re: Question |
spencereir |
use getline(cin, stringname); then you can just check if stringname == " " |
Jul 04, 2016 - 12:59:16 am UTC |
Question |
jimpix |
Your program should end immediately when it encounters a line with two spaces. I don't get it. How do I do i... |
Jul 02, 2016 - 2:31:38 am UTC |
Re: Why??? |
Alex |
Look at the sample output very carefully. |
Dec 27, 2015 - 9:24:18 pm UTC |
Why??? |
jialeyu |
Why am I getting 0/300? |
Dec 27, 2015 - 8:23:44 pm UTC |
Re: How in Python3? |
jialeyu |
Use the break keyword. Ex: "if chars == " ": break That will end a while loop. |
Dec 27, 2015 - 8:05:57 pm UTC |