Hi, As you know practice tasks are published in the last week, if you know solutions can you share some hints, thanks in advance.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3382 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 151 |
| 3 | maspy | 149 |
| 4 | AmShZ | 145 |
| 5 | Um_nik | 143 |
| 6 | Errichto | 139 |
| 7 | BledDest | 136 |
| 8 | adamant | 135 |
| 9 | maroonrk | 132 |
| 10 | cry | 130 |
Hi, As you know practice tasks are published in the last week, if you know solutions can you share some hints, thanks in advance.
| Name |
|---|



problem 2 : here
problem 3 keyword: two pointers
thanks a lot
I used two pointers in third problem, but I can't get last 35 points... (If the restriction of the number of calling the row(a,b) method is 400000, it is easy...)
http://gyazo.com/5cefc933b359b884bb437c493811c89a
Yes , you should think of some trick and use the advantage that function row return the number of bridges.
this happened with me too! first coded 4*n rows calls solution then I tried not to make the pointers back one step and got 100%
I found 3*n rows calls solution but couldn't find any better algorithms...
My AC solution for 3rd problem makes exactly 2N calls to function "row" and then uses a very standard pointer walk to report bridges in order. I'd like to know what is the most interesting approach for problem "birthday".
I think it's great that practice tasks are open for anyone to submit. Does anyone know if it'll be also possible for the actual competition's tasks ? Perhaps we can hope for a live online contest ?
Euler's polynomial theorem.
please, show me example solution on pascal!!!