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 | tourist | 3856 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3462 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Um_nik | 158 |
5 | atcoder_official | 157 |
6 | Qingyu | 156 |
7 | djm03178 | 152 |
7 | adamant | 152 |
9 | luogu_official | 151 |
10 | awoo | 147 |
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!!!