really strange...
Hello,
My name is Ann, and I live in Riga, Latvia.
For my exam I need to solve problems form website:http://acm.uva.es
I have already solved problems but still have hard problems for me.
If I will not solve them, I will not be allowed to pass this exam :-(
It seems, you ...
Search found 22 matches
- Wed Dec 14, 2005 10:52 pm
- Forum: Off topic (General chit-chat)
- Topic: A spam or something?
- Replies: 13
- Views: 6476
- Sun Nov 13, 2005 11:29 am
- Forum: Volume 109 (10900-10999)
- Topic: 10962 - Don Giovanni's Last Dinner
- Replies: 15
- Views: 7426
- Mon Nov 07, 2005 7:59 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10706 - Number Sequence
- Replies: 34
- Views: 20160
What's the output for the following input?
My program (WA) gives
Code: Select all
3
2147483647
9045
123456789
Code: Select all
2
9
3
- Tue Nov 01, 2005 7:56 pm
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22781
- Tue Nov 01, 2005 7:12 pm
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22781
- Mon Sep 26, 2005 9:02 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10898 - Combo Deal
- Replies: 9
- Views: 8428
- Sun Sep 25, 2005 10:03 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10802 - Lex Smallest Drive
- Replies: 36
- Views: 17974
- Sun Sep 25, 2005 5:35 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10895 - Matrix Transpose
- Replies: 17
- Views: 8757
10895 - Matrix Transpose
I dont understand this sentence in problem descreption:
Does it mean there are more than one matrices or just one?You are given several sparse matrix in a row, each of them described as follows.
- Sun Sep 25, 2005 11:42 am
- Forum: Volume 108 (10800-10899)
- Topic: 10898 - Combo Deal
- Replies: 9
- Views: 8428
I don't really think this is a hard problem. I've tried both bottom-up approach and memoization but the result is the same - WA. I just don't see the reason why.. Is there any tricky input?
Here's my source: a straightforward memoization
Here's my source: a straightforward memoization
Code: Select all
cut after AC
- Wed Jul 06, 2005 11:23 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10618 - Tango Tango Insurrection
- Replies: 0
- Views: 1689
10618 - Tango Tango Insurrection
I'm trying to solve it using DP. I have a array best[71][6] in wich I store the lowest possible energy cost - first index shows the sign I'm currently on, and the second index shows my last move.
Moves are numbered:
0 for left foot on Left
1 for left foot on Up
2 for left foot on Down
3 for right ...
Moves are numbered:
0 for left foot on Left
1 for left foot on Up
2 for left foot on Down
3 for right ...
- Wed Jul 06, 2005 7:14 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10150 - Doublets
- Replies: 46
- Views: 45922
- Mon Jul 04, 2005 12:04 am
- Forum: Volume 105 (10500-10599)
- Topic: 10508 - Word Morphing
- Replies: 35
- Views: 15528
- Sun Jul 03, 2005 6:28 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10508 - Word Morphing
- Replies: 35
- Views: 15528
- Mon Jun 27, 2005 2:03 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10841 - Lift Hopping in the Real World
- Replies: 9
- Views: 7090
- Mon Jun 27, 2005 1:33 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10811 - Up the Ante
- Replies: 20
- Views: 7891