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.net/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
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)))
Auto comment: topic has been updated by Drew_is_me (previous revision, new revision, compare).
Wow, I will participate in this!
This contest will be in gym uploaded by my friend codeforces_administrator
I recommend this contest, I think that's a good idea!
You can as well set time to 60 minutes to give enough time to weaker participants.
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
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 ?
Now you can see Quick (fast) contest #1 in gym!
wow, that's great!
Good morning
Are you OK? It is evening now!
I'm OKAY
Like me like me!
I'm a popular hamster
Great idea!!! MikeMirzayanov are you proud of him?
is it rated?
yes!
+166 wow
sir if i can solve a + b probblem in 5 minutes can i solve all questions from this contest in 15 minutes?>?????
I think no(
Who are you? Author of blog is Drew_is_me, not you!!!
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.
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
LEGO Star Wars is the best known for the world
Reminder: registration starts in 3 hours
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.
Welcome
The registration for Quick (fast) contest #1 has opened! Sign up (register) now and invite your friends to compete with them!
Here it goes
Was really a mood refreshing contest. Waiting for the next round!
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.
totally agree with you
Yes, I agree with that part statement of C and D were a little unclear.
well speedreading and speedunderstanding is part of a speedsolving. I believe statements were clear, but they include some not obligatory words, yep
I'm still confused about how the second step in the game described in B works, but I'm glad I got AC.
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.
Yes, B is just fail. Sorry again for that.
Can you please paste your solution to C and D here
You can see solutions for all problems in post!
Okay Thanks :)
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.
I can not open others' solutions after the contest.
anyone facing some problem? or is there a way?
I can, but only for the problems I solved.
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.
Sorry, we can't open solutions, cause that's a gym limitation(
About editorial: we are thinking about this right now
It will be fine also if you can share accepted solutions.
in case preparing editorial takes time.
You can see solutions for all problems in post
What the hell is test 3 of C?
I think if a > b and b > 0, then answer is always 0.
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.
That's hilarious. Thank you for simplifying the problem for us. :)
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:
Statement clarity is extra important, since there isn't really time for clarifications.
+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).
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.
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));
whats wrong in this wa in tc 19 coming please tell
Use long longs instead of ints
Will there be more contest of this type??Waiting...