I am confused to solve this problem that how can i do that can somebody tell me something about that problem Problem
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Proof_by_QED | 146 |
| 3 | Um_nik | 146 |
| 5 | Dominater069 | 144 |
| 6 | errorgorn | 141 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
| Название |
|---|



Just brute force 4 ways to make a game.
1) First player takes his first card, Second player takes his first card 2) First player takes his first card, Second player takes his second card 3) First player takes his second card, Second player takes his first card 4) First player takes his second card, Second player takes his second card
For each way you already chose the cards were taken in first round and you can easily determine which cards they will put in the second round (just because they had 2 cards).
For each round of the game you can just calculate score (if card1 > card2 then point to First player etc). And from these 4 ways you need to count a ways when the second player wins
Thank you dear I got it.
362136303
If Suneet wants to win a round against Slavic, he has to meet one of these conditions:
you can do it by o(1) ,if you observe it wisely
it doesnt even need wise observation