Search found 36 matches

by saiqbal
Mon Mar 10, 2003 4:07 pm
Forum: Volume 4 (400-499)
Topic: 450 - Little Black Book
Replies: 57
Views: 11095

easy!! just comment out the while loop in the main method. there will be only one set of input in the input file.

good luck
-sohel
by saiqbal
Sun Mar 09, 2003 5:34 pm
Forum: Volume 103 (10300-10399)
Topic: 10394 - Twin Primes
Replies: 101
Views: 44509

there is no critical input for this problem really bcoz u know all possible inputs!! :)

btw try the following input and output:
input:
1
10
100
1000
10000
100000

output:
(3, 5)
(107, 109)
(3821, 3823)
(79559, 79561)
(1260989, 1260991)
(18409199, 18409201)
hope it'll help :)
by saiqbal
Sat Mar 08, 2003 6:30 am
Forum: Volume 4 (400-499)
Topic: 450 - Little Black Book
Replies: 57
Views: 11095

Re: 450

im wondering why u r getting WA instead of TLE. i checked both the codes u paste here and none actually terminates after end of input. i guess u better check it.

-sohel
by saiqbal
Fri Mar 07, 2003 5:04 pm
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 32538

Anagram

my AC program's output for ur input: [e]rosh' = [horse]' a cbd = abdc a cbd = ac bd abdc = ac bd carthorse = horsecart carthorse = orchestra erosh = erosh erosh = erosh erosh = horse erosh = horse erosh = erosh erosh = horse erosh = horse erosh = horse erosh = horse horse = horse horsecart = orchest...
by saiqbal
Fri Mar 07, 2003 2:54 pm
Forum: Volume 4 (400-499)
Topic: 450 - Little Black Book
Replies: 57
Views: 11095

RE:450

check your bubble sort method. your program's output for even sample input doesn't matches.

thanx
-sohel
by saiqbal
Thu Nov 07, 2002 10:27 pm
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 33904

how do u say the following input has a unique solution?!?

3
2
2

!!!!!! :o

Go to advanced search