Search found 27 matches
- Fri Nov 07, 2008 7:37 pm
- Forum: Volume 115 (11500-11599)
- Topic: 11549 - Calculator Conundrum
- Replies: 10
- Views: 9011
Re: 11549 - CALCULATOR CONUNDRUM
use cycle detection algorithm like http://en.wikipedia.org/wiki/Floyd_cycl ... _algorithm
- Mon Oct 13, 2008 9:41 am
- Forum: Volume 115 (11500-11599)
- Topic: 11525 - Permutation
- Replies: 9
- Views: 4695
Re: 11525 - Permutation
Hint: split the vectors into smaller ones so that you search and removal time reduces.
- Sun Oct 12, 2008 6:13 pm
- Forum: Volume 115 (11500-11599)
- Topic: 11525 - Permutation
- Replies: 9
- Views: 4695
Re: 11525 - Permutation
You can improve the algorithm further. You don't need to n iterations to find what to print.
Hint: skip the numbers in block
-pvncad
Hint: skip the numbers in block
-pvncad
- Mon Mar 31, 2008 7:15 am
- Forum: Volume 114 (11400-11499)
- Topic: 11444 - Sum
- Replies: 8
- Views: 2665
- Mon Mar 17, 2008 11:20 am
- Forum: FAQ
- Topic: Borring System
- Replies: 20
- Views: 21476
- Tue Sep 11, 2007 6:02 am
- Forum: Volume 112 (11200-11299)
- Topic: 11260 - Odd Root Sum
- Replies: 22
- Views: 14079
- Sat Aug 04, 2007 4:07 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11258 - String Partition
- Replies: 18
- Views: 13397
- Sat Aug 04, 2007 2:19 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11258 - String Partition
- Replies: 18
- Views: 13397
- Sat Aug 04, 2007 2:12 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11258 - String Partition
- Replies: 18
- Views: 13397
- Sat Aug 04, 2007 2:07 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11258 - String Partition
- Replies: 18
- Views: 13397
I too felt the same but got so many WAs.
Can you anything wrong with this code ?
Can you anything wrong with this code ?
Code: Select all
======= Removed ============
- Sat Aug 04, 2007 1:42 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11254 - Consecutive Integers
- Replies: 24
- Views: 14562
- Sat Aug 04, 2007 1:40 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11254 - Consecutive Integers
- Replies: 24
- Views: 14562
- Sat Aug 04, 2007 1:18 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11258 - String Partition
- Replies: 18
- Views: 13397
11258 - String Partition
I tried to solve this using DP. But was getting WA.
Can someone give me tricky i/o ?
Thanks
Can someone give me tricky i/o ?
Thanks
- Sun Jul 29, 2007 11:22 am
- Forum: Volume 112 (11200-11299)
- Topic: 11247 - Income Tax
- Replies: 50
- Views: 28181
- Sun Jul 29, 2007 8:41 am
- Forum: Volume 112 (11200-11299)
- Topic: 11245 - Anti-Arithmetic-Sequence
- Replies: 18
- Views: 7586