Hi, As you know practice tasks are published in the last week, if you know solutions can you share some hints, thanks in advance.
№ | Пользователь | Рейтинг |
---|---|---|
1 | jiangly | 3640 |
2 | Benq | 3593 |
3 | tourist | 3572 |
4 | orzdevinwang | 3561 |
5 | cnnfls_csy | 3539 |
6 | ecnerwala | 3534 |
7 | Radewoosh | 3532 |
8 | gyh20 | 3447 |
9 | Rebelz | 3409 |
10 | Geothermal | 3408 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 173 |
2 | adamant | 164 |
3 | awoo | 161 |
4 | TheScrasse | 160 |
5 | nor | 159 |
6 | maroonrk | 156 |
7 | SecondThread | 152 |
8 | pajenegod | 146 |
9 | BledDest | 144 |
10 | Um_nik | 143 |
Hi, As you know practice tasks are published in the last week, if you know solutions can you share some hints, thanks in advance.
Название |
---|
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!!!