Care to share your method?emotional blind wrote:hint: I solved it using O(n*k) algorithm.
Search found 24 matches
- Tue Mar 25, 2008 7:17 am
- Forum: Volume 9 (900-999)
- Topic: 902 - Password Search
- Replies: 68
- Views: 39758
- Fri Mar 21, 2008 4:11 am
- Forum: Volume 9 (900-999)
- Topic: 902 - Password Search
- Replies: 68
- Views: 39758
- Thu Mar 20, 2008 4:08 pm
- Forum: Volume 9 (900-999)
- Topic: 902 - Password Search
- Replies: 68
- Views: 39758
- Tue Oct 10, 2006 4:51 am
- Forum: Volume 111 (11100-11199)
- Topic: 11115 - Uncle Jack
- Replies: 25
- Views: 19645
- Tue Oct 10, 2006 3:02 am
- Forum: Volume 111 (11100-11199)
- Topic: 11115 - Uncle Jack
- Replies: 25
- Views: 19645
- Tue Oct 10, 2006 2:18 am
- Forum: Volume 111 (11100-11199)
- Topic: 11115 - Uncle Jack
- Replies: 25
- Views: 19645
11115 - Uncle Jack
Is this problem meant to be easy? As I keep getting WA! I am not too sure if it's because of the precision or my logic is wrong
I use the following to output the answer, is that correct?
printf("%0.0Lf\n", pow((long double) n, d));
Can anyone provide sample output for the following cases by any ...
I use the following to output the answer, is that correct?
printf("%0.0Lf\n", pow((long double) n, d));
Can anyone provide sample output for the following cases by any ...
- Thu Nov 03, 2005 3:39 pm
- Forum: Algorithms
- Topic: Anagram
- Replies: 7
- Views: 3179
- Sat Oct 15, 2005 12:16 pm
- Forum: Algorithms
- Topic: Anagram
- Replies: 7
- Views: 3179
- Sat Oct 01, 2005 5:06 am
- Forum: ACM ICPC Archive Board
- Topic: 3283 Path
- Replies: 2
- Views: 1617
- Thu Sep 29, 2005 3:00 pm
- Forum: ACM ICPC Archive Board
- Topic: 3283 Path
- Replies: 2
- Views: 1617
3283 Path
Hi There,
I am trying to solve 3283 by using DFS n times which means my algorithm is O(n ^ 2). However, I get timed out, does anyone have a suggestion on how to solve this problem efficiently?
http://acmicpc-live-archive.uva.es/nuev ... php?p=3283
Thanks
I am trying to solve 3283 by using DFS n times which means my algorithm is O(n ^ 2). However, I get timed out, does anyone have a suggestion on how to solve this problem efficiently?
http://acmicpc-live-archive.uva.es/nuev ... php?p=3283
Thanks
- Tue Sep 13, 2005 8:30 am
- Forum: Volume 102 (10200-10299)
- Topic: 10242 - Fourth Point !!
- Replies: 30
- Views: 17805
- Sat Sep 10, 2005 5:22 pm
- Forum: Volume 2 (200-299)
- Topic: 267 - Of(f) Course!
- Replies: 16
- Views: 4435
- Fri Sep 09, 2005 5:57 pm
- Forum: Volume 4 (400-499)
- Topic: 467 - Synching Signals
- Replies: 16
- Views: 7419
- Fri Sep 09, 2005 1:23 pm
- Forum: Volume 2 (200-299)
- Topic: 257 - Palinwords
- Replies: 16
- Views: 7440
- Sat Sep 03, 2005 3:25 pm
- Forum: Volume 7 (700-799)
- Topic: 729 - The Hamming Distance Problem
- Replies: 54
- Views: 21436