1246 ---- WA >> Plaese help.....

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

Moderator: Board moderators

1246 ---- WA >> Plaese help.....

Postby drubo » Fri Nov 25, 2011 10:01 am

Gettig WA ....
Need some critical input & output...........

Here is my output
Input:
3
0 0
0 100
65 1

Output:
-1
2 3 4 5 7 8 9 11 13 16 17 19 23 25 27 29 30 31 32 37 41 42 43 47 49 53 59 60 61 64 66 67 70 71 73 78 79 81 83 84 89 90 97
2 3 4 5 7 8 9 11 13 16 17 19 23 25 27 29 30 31 32 37 41 42 43 47 49 53 59 60 61 64

//////////////
is there any problem in the output??????????????????????
drubo
New poster
 
Posts: 4
Joined: Thu Jul 21, 2011 12:26 pm

Re: 1246 ---- WA >> Plaese help.....

Postby helloneo » Sat Nov 26, 2011 3:40 pm

input

Code: Select all
1
0 100


My output

Code: Select all
2 3 4 5 7 9 11 13 16 17 19 23 25 29 31 37 41 43 47 49 53 59 61 64 67 71 73 79 81 83 89 97


My AC code also assume that H is always greater than or equal to L
helloneo
Guru
 
Posts: 516
Joined: Mon Jul 04, 2005 6:30 am
Location: Seoul, Korea

Re: 1246 ---- WA >> Plaese help.....

Postby drubo » Sat Nov 26, 2011 9:03 pm

Finally i point out my error........ thanx bro.....
AC..NOW>>>>>>>>>
drubo
New poster
 
Posts: 4
Joined: Thu Jul 21, 2011 12:26 pm

Re: 1246 ---- WA >> Plaese help.....

Postby magurmach » Wed Jun 20, 2012 9:06 am

For Those who are suffering for the lack of higher limit I can guarantee 0<=L<= H<=10000
magurmach
New poster
 
Posts: 25
Joined: Mon May 14, 2012 8:19 pm


Return to Volume XII

Who is online

Users browsing this forum: No registered users and 0 guests

cron