Page 8 of 8
Re: 755 - 487-3279
Posted: Thu Jul 31, 2014 9:08 pm
by brianfry713
Always print a newline char at the end of the last line.
Re: 755 - 487-3279
Posted: Fri Aug 01, 2014 5:35 am
by Ceiei
Okay, I've added the newline at the end, still judged WA though
http://ideone.com/8AnQsG
Re: 755 - 487-3279
Posted: Fri Aug 01, 2014 8:29 pm
by brianfry713
No duplicates.
not
No Duplicates.
Re: 755 - 487-3279
Posted: Sat Aug 02, 2014 6:03 am
by Ceiei
Oh I see.. how could I miss such mistake

Re: 755 - 487--3279
Posted: Thu Oct 30, 2014 5:32 am
by xz816111
I've tested many kind of test,but I still don't know why....plz help
Re: 755 - 487--3279
Posted: Fri Oct 31, 2014 12:29 am
by brianfry713
Print a blank line between datasets. Don't print an extra blank line at the end.
Re: 755 - 487--3279
Posted: Fri Oct 31, 2014 6:55 am
by xz816111
still WA
Re: 755 - 487--3279
Posted: Fri Oct 31, 2014 12:56 pm
by lighted
Try to check input in this thread before posting.
Ghost77 dimen wrote:Hello, revenger.
Try this sample input.
1
12
0-0-0-0-0-0-0
00-0-0-0-0-0
000-0-0-0-0
0000-0-0-0
00000-0-0
000000-0
001-----------------------------------0000
001-------------------------------------------------0000
0---------00000--------1
0000--------------------------------001
---------------------------------1000000
1000--------000----------------------------------------
The output should be as follows
<no blank line>
000-0000 6
000-0001 2
001-0000 2
100-0000 2
<no blank line>
Good luck.
Ghost77 dimen wrote:Ok, try this sample input.
1
11
0-0-0-0-0-0-0
00-0-0-0-0-0
000-0-0-0-0
0000-0-0-0
00000-0-0
000000-0
001-----------------------------------0000
001-------------------------------------------------0000
0---------00000--------1
0000--------------------------------001
---------------------------------1000000
The output should be as follows
<no blank line>
000-0000 6
000-0001 2
001-0000 2
<no blank line>
Good luck.

Re: 755 - 487--3279
Posted: Fri Oct 31, 2014 4:05 pm
by xz816111
Thank u so much!!Love u!!
Re: 755 - 487--3279
Posted: Sun Apr 19, 2015 8:05 pm
by Tahanima
I'm getting TLE with this code. Can anyone please help me out?
https://ideone.com/d0Y2Xr
Re: 755 - 487--3279
Posted: Wed Aug 05, 2015 4:17 am
by maddi
Getting TLE for this code

.Can someone plz tell me what am i doning wrong?
code->
https://ideone.com/mxjlMN