https://www.eolymp.com/en/problems/4578
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
https://www.eolymp.com/en/problems/4578
Name |
---|
is there a non-hieroglyphic version of this problem?
It's not exactly hierogliphyc. You'd say "it's greek to me" :) the site is supposedly Ukrainian, the language seemingly Russian, hence let me translate for you:
Here is card game for 2 players. Initially each of them gets some amount of cards, say
n1
andn2
. On every turn players pick one from their hand and lay them on the table. Weaker of two is discarded, while stronger is returned to the owner's hand. If cards are equal, both are discarded.Game goes on until one of the players loses all cards. If the opponent still has some cards, he is awarded
1
point, otherwise both are awarded0.5
.There are
N
types of cards. "Strength" relation is not necessarily transitive and is given by matrixA
— e.g.Aij = 1
means cardi
beats cardj
(otherwise0
).The goal is to determine maximal average win for the player, supposing the opponent uses silly-random strategy.
Well, I agree problem may be curious, however description could be a bit more clear.