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 | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3408 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 153 |
| 2 | nik_exists | 151 |
| 3 | maroonrk | 150 |
| 4 | maspy | 149 |
| 5 | AmShZ | 146 |
| 6 | Um_nik | 143 |
| 7 | Errichto | 139 |
| 8 | adamant | 135 |
| 9 | BledDest | 134 |
| 10 | cry | 130 |
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