In today's E problem, my submission used exactly n-1 queries for each n to give out the answer. Can this be proven to be the least number of queries needed or is a better bound achievable?
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 150 |
In today's E problem, my submission used exactly n-1 queries for each n to give out the answer. Can this be proven to be the least number of queries needed or is a better bound achievable?
Name |
---|
E was one of all time CRINGE problems.
why?
I think D was too(the only problem I've seen).
B was veri haRd foR me becuz i am retartet :(( and I convict chetar who is betar zan me like 3en7oras and mabloly and kedo sefawy and shoo91 xD
but thnk gd i dont chet
you mean JOO91 when you said shoo91? UPD: I found a banned account JOO_91 in his profile team XD Upd2: it seems like all users in his profile team are his alt's.
ys i ment him
So smart !
Matters went from Egypt to Russia.. Good cheating reputation JOO91 and
VT and JD ? xD (Ds da w lw 7d2 efhmha lol)
?
ماا بورااااحه
sry chetars, i fil bord tonight so I am making fun on u
ههه
l0l
ko4ary m4t4t
upd: JOO_91 = Aboeldahab [maybe] = JOO91 but Yousef.Osama I think is share account(not sure what he is)
Smartest person ever
Tamora you forgot this one.
I think he is unrelated :) But this one is related Rayo :)))
Why is that hard to understand? His account got banned, so he made a new one. Why assume that other accounts are his as well?
All of them have a similar photo or name. Perhaps I said "seems" so maybe it wasn't?
I think you need an eye check
yes, i think laik yu and good u farm contribuoshan
because upcoming days for you are hard :)))))))))))
So to me this only seems like age difference. This is just as funny as absolute_mess tag's absolute-mess's alt when you ping him.
E was decent i guess
Obviously, you can binary search for the first $$$i$$$ such that $$$f(1, i) > 0$$$, but it's still $$$O(n)$$$ queries in the worst case.
why only for first, like we can binary search for second also such that f(1,j) > f(1,i), then we can fill 0 in between i and j and 1 at j and continue so on. Is it also n queries ??