1246 - Find Terrorists

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

Moderator: Board moderators

Post Reply
drubo
New poster
Posts: 4
Joined: Thu Jul 21, 2011 12:26 pm

1246 - Find Terrorists

Post by drubo »

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??????????????????????
helloneo
Guru
Posts: 516
Joined: Mon Jul 04, 2005 6:30 am
Location: Seoul, Korea

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

Post by helloneo »

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
drubo
New poster
Posts: 4
Joined: Thu Jul 21, 2011 12:26 pm

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

Post by drubo »

Finally i point out my error........ thanx bro.....
AC..NOW>>>>>>>>>
magurmach
New poster
Posts: 26
Joined: Mon May 14, 2012 8:19 pm

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

Post by magurmach »

For Those who are suffering for the lack of higher limit I can guarantee 0<=L<= H<=10000
Post Reply

Return to “Volume 12 (1200-1299)”