Блог пользователя Drew_is_me

Автор Drew_is_me, 3 года назад, перевод, По-английски

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)))
  • Проголосовать: нравится
  • +223
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Добрый день, я рад анонсировать новый тип контестов на скорость в тренировках!

Это абсолютный новый формат на Codeforces, который я придумал и буду реализовывать. В каждом из контестов будет 2-4 задачи, которые надо решить за 15 минут, формат соревнования будет ICPC. Задачи будут и на русском, и на английском языке. Основная идея данных контестов заключается в том, чтобы научитьсAя решать простые идейные задачи быстро. Контесты будут доступны в Тренировках, для всех время контеста будет одно и то же. Первый контест состоится 31 марта (предварительное время 19:35), совсем скоро он появится в тренировках, поэтому приглашаю всех принять участие в этом первом в своем роде контесте!

»
3 года назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

Wow, I will participate in this!

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

This contest will be in gym uploaded by my friend codeforces_administrator

»
3 года назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится +37 Проголосовать: не нравится

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

  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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 года назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

      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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится -21 Проголосовать: не нравится

wow, that's great!

»
3 года назад, # |
  Проголосовать: нравится -12 Проголосовать: не нравится

Good morning

»
3 года назад, # |
  Проголосовать: нравится -15 Проголосовать: не нравится

Like me like me!

»
3 года назад, # |
  Проголосовать: нравится -17 Проголосовать: не нравится

I'm a popular hamster

»
3 года назад, # |
  Проголосовать: нравится -16 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Maybe if you iron out some of the technical bugs these contests could be incorporated into the official rated codeforces contests (with a separate speed rating maybe). I would definitely take them because 2 hr contests interfere too much with school.

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

is it rated?

»
3 года назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

+166 wow

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится +12 Проголосовать: не нравится

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 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

LEGO Star Wars is the best known for the world

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Reminder: registration starts in 3 hours

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Reminder: registration starts in 3 hours

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Here it goes

»
3 года назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

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

  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится +17 Проголосовать: не нравится

    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 года назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      totally agree with you

    • »
      »
      »
      3 года назад, # ^ |
        Проголосовать: нравится -9 Проголосовать: не нравится

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

    • »
      »
      »
      3 года назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

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

      • »
        »
        »
        »
        3 года назад, # ^ |
          Проголосовать: нравится +3 Проголосовать: не нравится

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

      • »
        »
        »
        »
        3 года назад, # ^ |
        Rev. 2   Проголосовать: нравится +16 Проголосовать: не нравится

        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 года назад, # |
  Проголосовать: нравится +25 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I wasted so much time in understanding problem B, and there was a typo in it. Seriously, having a mistake in problem statement in a 20 minutes contest is not OK!

»
3 года назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

I can not open others' solutions after the contest.

anyone facing some problem? or is there a way?

»
3 года назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Условие C было очень не понятным для меня:( А так жду новых раундов от вас!

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What the hell is test 3 of C?

»
3 года назад, # |
  Проголосовать: нравится +37 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится +30 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится -10 Проголосовать: не нравится

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 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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