755 - 487--3279

All about problems in Volume 7. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 755 - 487-3279

Post by brianfry713 » Thu Jul 31, 2014 9:08 pm

Always print a newline char at the end of the last line.
Check input and AC output for thousands of problems on uDebug!

Ceiei
New poster
Posts: 4
Joined: Tue Mar 04, 2014 4:32 pm

Re: 755 - 487-3279

Post by Ceiei » Fri Aug 01, 2014 5:35 am

Okay, I've added the newline at the end, still judged WA though
http://ideone.com/8AnQsG

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 755 - 487-3279

Post by brianfry713 » Fri Aug 01, 2014 8:29 pm

No duplicates.
not
No Duplicates.
Check input and AC output for thousands of problems on uDebug!

Ceiei
New poster
Posts: 4
Joined: Tue Mar 04, 2014 4:32 pm

Re: 755 - 487-3279

Post by Ceiei » Sat Aug 02, 2014 6:03 am

Oh I see.. how could I miss such mistake :cry:

xz816111
New poster
Posts: 5
Joined: Sun Oct 05, 2014 12:12 pm

Re: 755 - 487--3279

Post by xz816111 » Thu Oct 30, 2014 5:32 am

I've tested many kind of test,but I still don't know why....plz help :(

Code: Select all

AC
Last edited by xz816111 on Fri Oct 31, 2014 4:06 pm, edited 1 time in total.

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 755 - 487--3279

Post by brianfry713 » Fri Oct 31, 2014 12:29 am

Print a blank line between datasets. Don't print an extra blank line at the end.
Check input and AC output for thousands of problems on uDebug!

xz816111
New poster
Posts: 5
Joined: Sun Oct 05, 2014 12:12 pm

Re: 755 - 487--3279

Post by xz816111 » Fri Oct 31, 2014 6:55 am

still WA :(

Code: Select all

AC
Last edited by xz816111 on Fri Oct 31, 2014 4:07 pm, edited 2 times in total.

lighted
Guru
Posts: 585
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 755 - 487--3279

Post by lighted » Fri Oct 31, 2014 12:56 pm

Try to check input in this thread before posting.
Ghost77 dimen wrote:Hello, revenger. 8)

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. 8)

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. 8)
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman

xz816111
New poster
Posts: 5
Joined: Sun Oct 05, 2014 12:12 pm

Re: 755 - 487--3279

Post by xz816111 » Fri Oct 31, 2014 4:05 pm

Thank u so much!!Love u!!

Tahanima
New poster
Posts: 8
Joined: Thu Dec 25, 2014 4:50 pm

Re: 755 - 487--3279

Post by Tahanima » Sun Apr 19, 2015 8:05 pm

I'm getting TLE with this code. Can anyone please help me out?
https://ideone.com/d0Y2Xr

maddi
New poster
Posts: 6
Joined: Sat Jun 07, 2014 12:07 am

Re: 755 - 487--3279

Post by maddi » Wed Aug 05, 2015 4:17 am

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

Post Reply

Return to “Volume 7 (700-799)”