Comments

Is there a problem with that ? — Yes. Because they didn't follow Codeforces' terms of agreement.


Terms of agreement:

The registration confirms that you:

  • have read the contest rules and will not violate the rules
  • will not communicate with other participants, use another person's code for solutions, share ideas of solutions
  • will not attempt to deliberately destabilize the testing process and try to hack the contest system in any form
  • will not use multiple accounts and will take part in the contest using your personal and the single account.
On SeyedParsa → IOI 2017 is here!, 9 years ago
+199

???: Hi , so to me seems like a notorious coincidence.

I think main tests of problem D are too weak.

If k = 2 and p = 1000, the answer is 2 (probability is 1/2, which is greater than )

However, some source code (example: 24838082) outputs 3 but passed main tests.

I hadn't participated in elimination round so it was impossible to participate in final round. (Because I hadn't placed in top 200)

I know I could have got $1000 if I participated in both contests. It also makes me sad but t-shirts are more (because 50 participants won them)

I want t-shirts but I forgot participating in elimination round lol

I used to upload large pictures to change my profile images, but the results were noisy. They looked really bad. I tried to reduce noise, and that's how I found out this vulnerability.

Awesome! XD

Thanks to Nemmo and .o. for revising this article.

A group of bears is a non-empty contiguous segment of the line.

On CrazzyBeer → A problem., 12 years ago
+1

Is the final mark rounded down?

On .o. → Good Bye 2014, 12 years ago
+31

Because nobody wants to make straight road bent.

On .o. → Good Bye 2014, 12 years ago
+25

for (int i = 0; i <= t; ++i) {
    dp[i] = dp1[i]; sum += dp[i]; }

Copying array requires much time.

Swapping pointers is better.

double *ptr, *ptr1, *tptr;
ptr = dp;
ptr1 = dp1;

for (int i = 1; i < n; ++i) {
    // Something to do...

    tptr = ptr;
    ptr = ptr1;
    ptr1 = tptr;
}
On gridnevvvit → Codeforces Round #284, 12 years ago
+3

We can see about dynamic scoring system here.

Much data has gone, but our Codeforces is still alive.

The triangle must be isosceles.