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 :).
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
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://codeforces.net/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 |
---|