Search found 163 matches
- Mon Jun 04, 2007 5:44 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10688 - The Poor Giant
- Replies: 27
- Views: 21253
Thanks ;). I understood the problem and I solved it. Although a bit slow, around 5 secs. I used a recursive method with memoization. And to pass the time limit I used a dirty tricky :-? Although I am not proud of that, I have passed it and I have learnt something else about DP. A good problem for ...
- Sun Jun 03, 2007 10:56 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10688 - The Poor Giant
- Replies: 27
- Views: 21253
- Tue May 22, 2007 3:27 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11201 - The problem of the crazy linguist
- Replies: 21
- Views: 13856
- Sat May 19, 2007 3:45 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11201 - The problem of the crazy linguist
- Replies: 21
- Views: 13856
- Fri Dec 15, 2006 9:33 pm
- Forum: Volume 9 (900-999)
- Topic: 949 - Getaway
- Replies: 8
- Views: 6236
- Fri Dec 15, 2006 5:31 pm
- Forum: Volume 9 (900-999)
- Topic: 949 - Getaway
- Replies: 8
- Views: 6236
949 - Getaway
Hi all,
Im trying to solve this problem but im getting WA. So, i dont know if i dont understand something in the statement problem, im missing something, i have a(or more than one) bug, ...
So, in order to try clear my doubts, could anyone give the correct output for this test cases, and even ...
Im trying to solve this problem but im getting WA. So, i dont know if i dont understand something in the statement problem, im missing something, i have a(or more than one) bug, ...
So, in order to try clear my doubts, could anyone give the correct output for this test cases, and even ...
- Tue Nov 28, 2006 5:51 pm
- Forum: Volume 9 (900-999)
- Topic: 923 - One Against Many
- Replies: 4
- Views: 3685
Yeah! i was trying it yesterday with that, but i was getting TLE although now I'm thinking I was using the floor() function of math.h. So, that could be a good reason to get TLE(stupid of me). I saw your memory allocated to solve the problem and I thought my "cycle method" could be OK, since it had ...
- Tue Nov 28, 2006 5:16 pm
- Forum: Volume 9 (900-999)
- Topic: 923 - One Against Many
- Replies: 4
- Views: 3685
Hi,
I'm trying this problem but I can't figure out how to solve it. I have thought the obvious DP (N^3), but obviously I'll get TLE with this one. So, could anybody say how solve it? I think must be a good prunning, I have tried some of them with DFS but any of them were not OK. I have thought try ...
I'm trying this problem but I can't figure out how to solve it. I have thought the obvious DP (N^3), but obviously I'll get TLE with this one. So, could anybody say how solve it? I think must be a good prunning, I have tried some of them with DFS but any of them were not OK. I have thought try ...
- Mon Nov 27, 2006 11:10 pm
- Forum: Volume 9 (900-999)
- Topic: 929 - Number Maze
- Replies: 92
- Views: 55174
- Sun Nov 26, 2006 8:19 pm
- Forum: Volume 9 (900-999)
- Topic: 988 - Many Paths, One Destination
- Replies: 9
- Views: 9598
- Fri Nov 24, 2006 3:41 am
- Forum: Volume 9 (900-999)
- Topic: 980 - X-Express
- Replies: 3
- Views: 3744
- Thu Nov 23, 2006 7:06 pm
- Forum: Volume 9 (900-999)
- Topic: 980 - X-Express
- Replies: 3
- Views: 3744
980 - X-Express
Hi,
the input of this problem have only 3 lines? Is that right?
If not, what is the correct input format?
Im getting WA and I think my algorithm is correct, and I dont know if the reason could be my input parser.
the input of this problem have only 3 lines? Is that right?
If not, what is the correct input format?
Im getting WA and I think my algorithm is correct, and I dont know if the reason could be my input parser.
- Tue Oct 24, 2006 6:16 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11129 - An antiarithmetic permutation
- Replies: 21
- Views: 21525
- Mon Oct 23, 2006 6:46 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11136 - Hoax or what
- Replies: 31
- Views: 23105
- Mon Oct 23, 2006 4:49 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11129 - An antiarithmetic permutation
- Replies: 21
- Views: 21525