Hi there!
Tomorrow at 04:00 MSK will be held Topcoder SRM 672.
Let's discuss problems there, after contest.
UPD: Editorial
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3857 |
| 2 | jiangly | 3810 |
| 3 | maroonrk | 3534 |
| 4 | tourist | 3528 |
| 5 | Kevin114514 | 3510 |
| 6 | turmax | 3411 |
| 7 | Um_nik | 3387 |
| 8 | Radewoosh | 3367 |
| 9 | heuristica | 3322 |
| 10 | strapple | 3317 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | maspy | 150 |
| 3 | Um_nik | 145 |
| 4 | Errichto | 139 |
| 5 | adamant | 136 |
| 6 | maroonrk | 134 |
| 7 | nik_exists | 133 |
| 7 | DNR | 133 |
| 9 | AmShZ | 130 |
| 10 | Dominater069 | 129 |
Hi there!
Tomorrow at 04:00 MSK will be held Topcoder SRM 672.
Let's discuss problems there, after contest.
UPD: Editorial
| Name |
|---|



Registration is open. GO!
For more than half an hour I tried to count connected almost Eulearian graphs in Div1-500 =( Didn't realize this is not a condition we need.
Upd: oops, that's pretty non-sense. Now I even can't myself understand what I was counting.
Are there any non-connected almost Eulerian graphs?
Initially I was counting connected graphs with at most 2 vertices having odd degree (*). After this solution failed on samples I realized that in addition to almost Eulerian graphs I also counted graphs with 1 bridge which fall into 2 Eulerian graphs after removal of this bridge. Luckily, it's possible to count AE graphs just from knowing (*) for all N. Maybe you made the same mistake as me initially?
UPD: initial version of the comment was wrong
How to solve Div.1 500?
Editorial link: http://codeforces.me/blog/entry/21112