Drew_is_me's blog

By Drew_is_me, 3 years ago, translation, In English

Good afternoon, I am happy to announce a new type of speed training contests!

This is an absolute new format on Codeforces, which I have come up with and will implement. In each of the contests there will be 2-4 problems that need to be solved in 15 minutes, the competition format will be ICPC. The tasks will be in both Russian and English. The main idea of these contests is to learn how to solve simple ideological problems quickly. The contests will be available in the Training Sessions, and the time of the contest will be the same for all of them. The first contest will take place on March 31 (preliminary time 16:35 Greenwich Mean time), very soon it will appear in training, so I invite everyone to take part in this first-of-its-kind contest!

Upd1: This contest will be in gym uploaded by my friend codeforces_administrator

Upd2: You can see Quick (fast) contest #1 now in gym!

The registration opens 6 hours before the start!

Upd3: The registration for Quick (fast) contest #1 has opened! Sign up (register) now and invite your friends to compete with them!

https://codeforces.com/gymRegistration/103029

UPD4: Sorry, right now we can't do the editorial, cause that's just our first experience in this kind of contest, but we are happy to make some results: Congrats to winners!

1) mars4 -- The only person who solved all the tasks without a single penalty. Congrats!

2) Kira_1234

3) CommandMaster

4) AnandOza

5) bulbunyuk

And as it is speed contest we also want to congratulate people with "First-AC"

A) AnandOza

B) AnandOza

C) clam

D) AnandOza

Code for A:

n, x = map(int, input().split())
ar1 = list(map(int, input().split()))
k = int(input())
ar2 = list(map(int, input().split()))
kek = set()
for elem in ar2:
    kek.add(elem)
ans = 1
for i in range(n):
    if i + 1 not in kek:
        ans += ar1[i]
print(ans)

Code for B:

n = int(input())
if n == 1:
    print('Win')
elif n == 2:
    print('Draw')
else:
    print('Lose')

Code for C:

a, b = map(int, input().split())
if a >= b:
    if b == 0:
        print(2 * a + 1)
    else:
        print(0)
else:
    if 2 * a > b:
        print(0)
    else:
        print(b + 1)

Code for D:

from math import sqrt

n, m = list(map(int, input().split()))
c = sqrt(3)
print(max(int(2 * n / c) * (2 * m - 1), int(2 * m / c) * (2 * n - 1)))
Announcement of Quick (fast) contest #1
  • Vote: I like it
  • +223
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Drew_is_me (previous revision, new revision, compare).

»
3 years ago, # |
  Vote: I like it -8 Vote: I do not like it

Wow, I will participate in this!

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This contest will be in gym uploaded by my friend codeforces_administrator

»
3 years ago, # |
  Vote: I like it +1 Vote: I do not like it

I recommend this contest, I think that's a good idea!

»
3 years ago, # |
  Vote: I like it +37 Vote: I do not like it

You can as well set time to 60 minutes to give enough time to weaker participants.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Actually, there won't be anyone with 2 out of 3 problems* if I will set time to 60 minutes, but the idea isn't bad, maybe I will increase time if necessary.

    *All people will have 3 out of 3 problems solved, but I want more competitive. This type of contest is for improving your speed skills

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      I think 15 mins could be way might less, tho 60 min would just not fit the idea for which these contest are to be kept, however, you can maybe add 1 more problem and then make it 30-40 mins ?

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Now you can see Quick (fast) contest #1 in gym!

»
3 years ago, # |
  Vote: I like it -21 Vote: I do not like it

wow, that's great!

»
3 years ago, # |
  Vote: I like it -12 Vote: I do not like it

Good morning

»
3 years ago, # |
  Vote: I like it -15 Vote: I do not like it

Like me like me!

»
3 years ago, # |
  Vote: I like it -17 Vote: I do not like it

I'm a popular hamster

»
3 years ago, # |
  Vote: I like it -16 Vote: I do not like it

Great idea!!! MikeMirzayanov are you proud of him?

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

is it rated?

»
3 years ago, # |
  Vote: I like it +3 Vote: I do not like it

+166 wow

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

sir if i can solve a + b probblem in 5 minutes can i solve all questions from this contest in 15 minutes?>?????

»
3 years ago, # |
  Vote: I like it +12 Vote: I do not like it

I like longer contests more because they seem to give me more time to think and improve, rather than using templates and typing as fast as possible.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    So, the speed in long contests (for ex. Div2) is a big part of competitive. Your place is based on points, that you lose while typing with small speed

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

LEGO Star Wars is the best known for the world

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Reminder: registration starts in 3 hours

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Unrated or not, this type of contest will train the newbies and pupils to think quick solutions to problems A and B of Div2 + Div3, at the least. A welcome change.

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The registration for Quick (fast) contest #1 has opened! Sign up (register) now and invite your friends to compete with them!

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Here it goes

»
3 years ago, # |
Rev. 2   Vote: I like it +8 Vote: I do not like it

Was really a mood refreshing contest. Waiting for the next round!

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +17 Vote: I do not like it

    Really ? It took me too much time to understand the statement of D and I was unable to understand the statement of C . I think the problems could have been written more nicely or maybe I am bad at understanding problems.

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      totally agree with you

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it -9 Vote: I do not like it

      Yes, I agree with that part statement of C and D were a little unclear.

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      well speedreading and speedunderstanding is part of a speedsolving. I believe statements were clear, but they include some not obligatory words, yep

      • »
        »
        »
        »
        3 years ago, # ^ |
          Vote: I like it +3 Vote: I do not like it

        I'm still confused about how the second step in the game described in B works, but I'm glad I got AC.

      • »
        »
        »
        »
        3 years ago, # ^ |
        Rev. 2   Vote: I like it +16 Vote: I do not like it

        Even after the statement was updated, B still said "And so on, every next move, we take the product of all the factorials that were chosen by John and Katya for all the time, then if $$$i!$$$ is odd, then John gets one point, otherwise, Katya gets one point."

        Anyway, I solved B before the statement update / clarification, since it was such a fast contest it was better for me to guess than to wait for clarification.

        I think that was the worst statement, since it was just wrong. The other ones were okay, if slightly hard to read.

        For a 20-minute contest, it's really important to make sure statements are correct before the contest starts.

»
3 years ago, # |
  Vote: I like it +25 Vote: I do not like it

As a participant, I found the contest quite interesting and cool, though the statements could have been a bit clearer. Anyway, I hope some more rounds like this will be organised.

»
3 years ago, # |
  Vote: I like it +6 Vote: I do not like it

I can not open others' solutions after the contest.

anyone facing some problem? or is there a way?

  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I can, but only for the problems I solved.

»
3 years ago, # |
  Vote: I like it +17 Vote: I do not like it

I can't see the submissions of other people for the problems I couldn't solve. Is this a gym limitation? Kinda annoying especially if there will be no editorial.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    Sorry, we can't open solutions, cause that's a gym limitation(

    About editorial: we are thinking about this right now

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it +6 Vote: I do not like it

      It will be fine also if you can share accepted solutions.

      in case preparing editorial takes time.

      • »
        »
        »
        »
        3 years ago, # ^ |
          Vote: I like it +8 Vote: I do not like it

        You can see solutions for all problems in post

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

What the hell is test 3 of C?

»
3 years ago, # |
  Vote: I like it +37 Vote: I do not like it

If you are interested, as a tester, I can say that initially in the problem D it was possible to put triangles as you like, but then we found this example by 3 by 3.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    That's hilarious. Thank you for simplifying the problem for us. :)

»
3 years ago, # |
  Vote: I like it +30 Vote: I do not like it

Thanks for the fun, short contest and the novel idea! It was nice to have a contest that still was exciting but wasn't a huge time commitment.

A couple points of feedback specific to this format:

  1. Statement clarity is extra important, since there isn't really time for clarifications.

  2. +20 penalty per wrong submission is a bit steep in a 20-minute contest. I got 67 penalty, of which 27 was from solve times and 40 was from 2 wrong submissions, haha. I think maybe I should have been more aware of this and realized that accuracy was more important compared to speed in this format, but I didn't think about it (and it was a bit counterintuitive, haha).

  3. Samples were a bit weak, which is a stylistic choice, but didn't interact well with points 1 and 2 -- weak samples make unclear statements harder to understand and make wrong submissions less avoidable.

»
3 years ago, # |
  Vote: I like it -10 Vote: I do not like it

int n,m; cin>>n>>m; long double c=sqrt(3); int val=max(int(2*n / c)*((2*m)-1), int(2 * m / c) * (2 * n -1));

cout<<val<<endl;

whats wrong in this wa in tc 19 coming please tell

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Will there be more contest of this type??Waiting...