Title |
User |
Message |
Date Posted |
... |
royanitra04 |
|
Dec 24, 2015 - 8:45:14 pm UTC |
... |
royanitra04 |
|
Dec 24, 2015 - 4:26:23 pm UTC |
Re: Help |
jargon |
1. This question is straightforward. 2. Copying code is heavily frowned upon. |
Dec 24, 2015 - 1:10:51 am UTC |
... |
royanitra04 |
|
Dec 23, 2015 - 10:07:26 pm UTC |
Re: ???? |
jargon |
It just doesn't work. Read your code again; you're clobbering variables. I suggest making an effort to figure out what's wrong with your code before asking for help. Otherwise, you may find a less th... |
Dec 22, 2015 - 9:19:21 pm UTC |
... |
girishr2004 |
|
Dec 22, 2015 - 3:34:33 pm UTC |
Why am I not getting it? |
royanitra04 |
On most of my recent codes, I get either 6/15 or 9/15. Please let me know what is wrong with code. Thank you. |
Dec 12, 2015 - 9:01:06 pm UTC |
Re: Why am i failing case 3 |
azneye |
int n; cin >> n; does not read the first newline character. So your first call of getline(cin, line) reads the newline character on the first line which means you missed reading the last line of input... |
Jan 30, 2014 - 6:39:44 pm UTC |
Why am i failing case 3 |
omniwarking |
|
Jan 30, 2014 - 12:43:56 am UTC |