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
Search found 36 matches
- Mon Mar 10, 2003 4:07 pm
- Forum: Volume 4 (400-499)
- Topic: 450 - Little Black Book
- Replies: 57
- Views: 11095
- Sun Mar 09, 2003 5:34 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10394 - Twin Primes
- Replies: 101
- Views: 44509
- 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
-sohel
- 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...
- 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
thanx
-sohel
- Thu Nov 07, 2002 10:27 pm
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 33904