Hello,
This popped in my head as an interesting problem to know the answer for. I could work this out myself, but I'm hoping someone has it off the top of their head or is more motivated :).
![](https://espresso.codeforces.com/bce2d5716917a6c2024043b2dda10f53c5fc3bf9.png)
![](https://espresso.codeforces.com/1183950976ae0f2d421f9b34a96d5e3cd99671ef.png)
![](https://espresso.codeforces.com/76c308c9d55c34692bbeb0dfbadcfd3612a22ee0.png)
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | nor | 157 |
4 | atcoder_official | 156 |
4 | cry | 156 |
6 | -is-this-fft- | 155 |
7 | maroonrk | 154 |
8 | adamant | 153 |
9 | Um_nik | 151 |
10 | djm03178 | 146 |
Hello,
This popped in my head as an interesting problem to know the answer for. I could work this out myself, but I'm hoping someone has it off the top of their head or is more motivated :).
I wrote the following solution in CF #72 for Problem B in Ruby:
1 1 1
-1
wrong answer Output contains longer sequence [length = 1], but answer contains 0 elements
What is the best way to embed source code in Codeforces currently? One way is by using pre tags:
int main() { for (int i = 0; i < n; ++i) printf("testing %lf%%\n", (i + .5) * 100 / n); return 0; }
Due to the rapidly accumulating user content, a natural question to ask: what is the current idiom of looking for blog posts and comments containing a given query? I couldn't find a search field for this anywhere on the site albeit there is one for handles. The site is, however, searchable in Google, but it isn't nearly as convenient as a built-in solution would be. How about it?
P.S. A way to search for tags is to use the url http://mirror.codeforces.com/search?query=yourquery, where yourquery is the tag you're looking for.
My first contest here has left a positive impression. There were some technical difficulties in the beginning, but the administrators successfully got rid of them. The server was quite snappy throughout and the problem statements were well written in my opinion.
On the solving side, I didn't do anything more than glance at problems D and E. Spent a lot of time debugging B, but couldn't find a failing testcase. Not even after generating random ones and comparing with a friend's correct solution. Problem C was also an implementation problem, yet I lost two penalty points there by 1) forgetting about 64-bit integers; 2) using %lld instead of %I64d in printf. Not to mention the time spent trying to figure out what (else) had went wrong.
Overall, still a very good format. 2 hours is probably short enough to devote my time to and the problems seemed to be well varied in terms of difficulty. I hope that I can clear the first three next time.
Looking forward to taking part in a Codeforces round. Lacking some spare time to do so in the moment.
Name |
---|