Hi, As you know practice tasks are published in the last week, if you know solutions can you share some hints, thanks in advance.
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 | jiangly | 3846 |
2 | tourist | 3799 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3590 |
6 | Ormlis | 3533 |
7 | Benq | 3468 |
8 | Radewoosh | 3463 |
9 | ecnerwala | 3451 |
9 | Um_nik | 3451 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | -is-this-fft- | 160 |
2 | Qingyu | 160 |
4 | atcoder_official | 156 |
5 | Dominater069 | 155 |
6 | adamant | 154 |
7 | djm03178 | 151 |
8 | luogu_official | 149 |
9 | awoo | 147 |
10 | Um_nik | 146 |
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!!!