Привет, Codeforces!
Мы предлагаем вашему вниманию новую платформу на csacademy.com. Наш проект ориентирован на онлайн-образование. Мы разработали принципиально новую площадку для соревнований по программированию.
Наш первый контест состоялся в январе (IOI-style) с заданиями средней сложности, вы можете найти их в нашем архиве. Для этого надо зарегистрироваться, используя ваш действующий e-mail. Вы также можете войти с помощью Facebook или Google+. После регистрации, вы можете подключиться к своему аккаунту на Codeforces здесь. Мы уже зарезервировали для вас все имена юзеров с сайта ;). Подключившись один раз, за вами закрепляется имя юзера с Codeforces или вы можете выбрать любое другое, на ваше усмотрение.
Наш второй раунд состоится в пятницу, 04.03.2016 в 20:00 (MSK). Если вы хотите принять участие в соревновании, вам необходимо войти и зарегистрироваться перед началом соревнования. Как и в предыдущем раунде, уровень сложности будет средним (похожим на codeforces Div.2). Вам предлагается решить 6 задач за 2 часа и 30 минут. Но на этот раз формат раунда будет несколько отличаться:
- Вы будете видеть ваш результат в режиме онлайн, сразу после выполнения задания в таблице результатов;
- Задачи не будут засчитываться частично: то есть, либо вы выполнили задание, либо нет (ACM-ICPC-style);
- Оценки будут присваиваться в динамике: в зависимости от количества пользователей, которые справились с заданием, оценка будет варьироваться от 100 до 1000.
- Вторым критерием оценки, помимо баллов, будет время и количество ошибок для каждого участника. Проще говоря, если в конце двое или более участников будут иметь одинаковое количество баллов, побеждает тот, кто совершил наименьшее количество ошибок (только для выполненных заданий), а также будет учитываться время, потраченное на решение последнего правильно выполненного задания.
Подробнее о нашей платформе:
- Для корректной работы сайта, мы рекомендуем использовать Google Chrome. Сайт работает в бета-версии, поэтому в других браузерах возможны ошибки и сбои.
- Вы можете использовать C++14, Java8, Python2 и Python3. Но мы рекомендуем использовать преимущественно С++ и Java, т.к. Python может тормозить.
- У нас есть довольно крутой онлайн редактор. Мы используем его сами, надеемся вам тоже понравится;)
Если вы обнаружите какие-либо ошибки, пожалуйста, сообщите нам по адресу [email protected]
CS Academy это мы:
Why? :(
We did this so that people already known to this community and their friends by a certain name can automatically claim it. Users can claim their Codeforces handles from their profile page. Unfortunately, some usernames (any starting with a non-alphanumeric character) are not allowed. Sorry about it. We can manually link some usernames if you make a good case for it. Email us.
Account settings page is empty for me
What browser do you use?
Chrome on Ubuntu (but it's some old version)
I've sent you a private message.
Ah, now I understand! I thought reserved means that they are forbidded for anyone (even the coders who own them) :)
why i cannot see any problems in past contest ?
Unfortunately you cannot read any problems if you are not logged in.
what is the point of this feature ?
Using Codeforces to popularize its competitor....shrewd.
Nothing can beat Codefoces.Even Topcoder fails to beat us ;) Codeforces is the best. No doubt at all <3
We're not trying to beat Codeforces, we just wanted to create a platform based on our personal needs.
yeah, I know. Best of luck :)
personal needs? For example? I just want to know, why people need so many online judge platform, as we notice that the number of OJ is increasing day by day?
it would be really cool if workspace opened with user's program template already typed in it.
We'll implement this soon, it should be done by round 3.
Just registered. Look like will have fun :)
Even after logging in All i see are empty pages . I use chrome on windows 10
I've sent you a private message.
I have the same problem
I use Internet Explorer 11 and have same problem as SarvagyaAgarwal
So, what is the difference of your platform and codeforces (or similar ones)?
We're planning to concentrate more on the educational aspects. We have created some interactive lessons, but we haven't made them public yet as we had to prepare these two rounds. We'll get the lessons up and running next week.
Seem cool,hope to have fun together.
Looks Okey . And Interface is also good . Hope to have some nice problem and to have a Nice Contest to all the Registrant . I am hoping to have some new experience specially about the Dynamic Scoreboard .
All the Best & Keep it Up . It is a great Initiative .
Are the contests rated? JK, JK before all the downvotes come.
I really like the interface. I am a high school (ages 13-18) CS teacher, and am very interested in watching this project grow and see if it would integrate into our competitive programming course.
Good luck!
We have a rating algorithm, but we are still tuning the constants behind it. This round will be a great opportunity for us to test the algorithm.
So yes, this round will be rated retroactively.
I wasn't really concerned about that. It just seems like everyone here wants them to be rated but honestly what does a rating mean? I don't care.
What I really would like to see from this, and I don't know if this is what you are planning, but a way to look up a tutorial of a concept and a ton of problems that you could do on that topic. All ordered in a way that matches how it was explained and slowly require students to make small adjustments then when they are making pretty large adjustments or combining things.
Atleast that is the site I would like to find for competitive programming.
That's exactly what we're aiming for.
Russian conditions problems? I'm google-translate-man.
Unfortunately we don't have translate support yet (not even for our native language, Romanian). Hopefully in the next year or so we'll be able to add multi-language support. Russian is first on the list.
Just want to point out how cool it is that the CF site put this post on the front page, it really goes to show how they care more about the coding community that just say themselves. I feel that a lot of other places would not allow other sites/people to promote themselves, for instance I don't think topcoder would ever put post about another independent site on its front page. So it is very nice that we have CF as an nonprofit site that does not care about making money and all that, allows everything to be much more objective that way.
Seems interesting, I will give Iit a try :D
It's really cool of Codeforces to share other contests' websites. It shows how Codeforces is not commercially oriented but rather trying to be helpful and supportive to the competitive programming community.
I want to change my handle to ATofighi (It's was my old handle) in your site... How can I do it?
Thanks
We manually changed it for you. Please check if everything is ok.
Thank you Codeforces and MikeMirzayanov for all the help. Your support for the community is greatly appreciated.
Starting yesterday we've had a large number of new registered users. Actually, there have been so many new users that we decided to migrate to a new server. It might take a while for the DNS to update, so you might experience problems trying to access csacademy.com for the next half an hour.
It would be cool if you could also link the Codeforces handle to the Topcoder handle.
We wanted to do that but in the meanwhile TopCoder decided to remove the private message functionality. If you have any idea how to check account ownership please let us know.
why all pages are blank ??
I registered and it only asked my email for registration. I confirmed the email and signed out. Where is the option to set a password?? I cannot sign in using that email again
You can reset your password.
Ok. But why didnt it ask for a password the first time i signed up? Its weird
You are asked for the password only after your email is verified. We're still working on our user flow.
Is it possible that out-of-contest submissions can be implemented?
We'll add the problems in the archive when the contest ends. During the contest you can read the statements but you cannot submit unless you are registered.
Всё ровно CF лучше
Никто и не говорил, что он хуже.
No content in the contest page.
I was sign in with Google chrome, i also register Arhiva & round 2. but i cann't see any thing in Arhiva aslo in round 2 page...
We're really sorry for all the users who cannot access our content. It's a browser compatibility problem that we're not going to be able to solve in time for the contest.
In case anyone has the same problem as me: (for me) under linux it's not working under either firefox or google chrome but it's working under chromium.
What browser do I have to use to access the contest? I want to take part.
A new version of Chrome will do.
Nice problems, and the site worked perfectly, it didn't shut down, I expected it to as this was the first contest with such registers, i hope it will grow up more and more...
Waiting for Beta Round#3 ^_^
Indeed, really nice problems. I enjoyed the contest a lot!
Yes it was...
I liked the "run examples" button, it's really helpful, especially when you have large input.
Yes, that's truly great. No need to have a parser :D
May I submit the problems after the contest? I haven't noticed such opportunity.
You can find all the tasks in the archive.
Thank you! Words of gratitude for the contest and your work! I really admire your site. Wish you an enormous inspiration for a fast improvement and developing!
How to solve Lightbulbs
The editorial will be published in a few minutes.
I don't know how to prove it, but I found the pattern by doing a DP and trying out a few test cases. Add to a vector all the bits that are turned on in the initial state (count bits from left to right starting with 1). Then for every bit 'b' in that vector, add 2b - 1 to the answer if position in the vector is even, or subtract it if it's odd.
I'd like a proof though.
Interesting problems and amazing visualization tools, never seen such things before! Thank you for your work! I am wondering how to view other's code after the contest?
Thank you very much! Unfortunately you can't see other's source code for now. Still working on it.
Thanks! Really nice contest. System worked really fast, never seen that before. UI is pretty cool too. Keep working guys! =)
Waiting for updates and third beta-round =)
Thank you and congratulations! We're happy you enjoyed it.
I checked the scoreboard at the end of the round and i was fifth, the penalty for wrong submissions was 25 minutes.
Now i checked i am 7th with 10 minutes penalty for wrong submissions.
My handle on the scoreboard is Ahmed Ossama.
Was the penalty for wrong submissions changed after the contest or did i miss anything?
Initially the penalty for a problem was log2(no_of_bad_submissions) * 25. We changed it after the contest to log2(no_of_bad_submissions) * 15. We decided that 25 was a bit too harsh. We hope these kind of changes don't bother you so much, as we are still trying to find the best constants.
wow :D Awesome experience :D
I enjoyed the contest very much :)
I only had like 10-15 minutes to be in the contest, but looking at your website, it sounds really cool, I'll be sure to participate in your future rounds.
Note: Safari on OSX does not work. ( it gives a blank page on everything except the homepage). Yet it works perfectly on chrome.
Since this was beta, I'd like to give some feedback:
Also I found that when you type in a question, you cannot delete what you have written i.e the backspace button does not work.
This is such great feedback! Thank you!
After thinking a bit I can also list a few things that would be nice to see (but definitely not a must):
And one more small issue I forgot: hovering over almost any area in statement/workspace results in a "task" label, which is a bit annoying, especially when it covers text.
We do already run examples first and do not count the submission if your solution fails on those. Thank you again for your feedback! We will do our best to solve those bugs and implements the features you requested.
Circular Subarray
How to solve this problem ..??
My idea is to find the sums for 1 — N of K Contiguous element circularly . Then sort the results & find out the median elements as Target sum . Now Subtract other Sums from this Target Sum and Add this Absolute values as Answer .
But through this I found my first & last sample are correct .. Other two test does not give the right Answer . Here is My Sample C++ Code
I don't understand the Test 2 & 3 in the problem set . How they are 12 ( 2nd ) & 6 ( 3rd ) ??
Can someone please help me . It'd be a great favor .
Thanks in Advance .
UPD : I figured out the technique of Test Cases but can't solve it .
My solution uses the idea that 2 consecutive ranges of K elements need to have equal sum, which means that Ai = Ai + k for all i. So we can divide the elements into components, with a DSU for example, and then the problem is reduced to making all elements in each component equal.
I didn't exploit the fact that the best answer for each component is the median, like the editorial says, so since the function decreases and then increases, I ended up doing a ternary search for every component.
I did the same but got WA on second test (not examples).
http://codepad.org/wwzzbvPv
I can't enter the account settings page on Safari
I wish I could see the results of all tests...
Wow! Such positive feedback! And useful features too, like code editor, run examples,etc. Must register now! Two great OJs can co exist in harmony I suppose.
Registered. Great UI!! Keep it up! Kinda felt like you've taken the best of all worlds, but who cares! Its really damn user friendly. :D
Can I suggest something? In c++, please change the default template to
#include <bits/stdc++.h>
*Yes :)
I love the "Simulate the problem here" section <3!!
Thanks a lot!
for Matrix Exploration is the intended solution O(nm)? I have a O(knm) but I can't understand why it gets TLE, when knm ≤ 500 * 106. What are the specifications of the machine that runs the final tests?
as I know , with our computers(+ online judges) about 10^8 operations take 1 second to perform.so it is not surprising to get TLE.
If you think more about how bfs works , you can change it a bit to reduce your solution to O(nm).
( sorry for my poor english )
Thank you for your response.
I modified my BFS so that we have k queues, one for every center, and visit the entire matrix by making one step for every queue at a time.
My solution was accepted, however I am not sure about one thing. I have a global visited array declared like
bool vis[500][1000][1000]
. If a bool is 8 bits, then this array requires 500*1000*1000*8 bits, which is around 500 MB. Shouldn't that give problems with the memory or I am missing something? It says that maximum memory usage is 46 MB.No , you are right. C++ optimizer is very powerful and maybe it did some magics! (I asked from my friend).
I appreciate your fast action.
Actually you don't need k queues and such large array.
as you know, BFS begins from start position and first see all places with distance 0(start) , then 1 , 2 , ... So here, you have more than one start position with distance 0 and you can have just one queue that contains all special places initially.
also sharing all visits in one array can't cause any problem so vis[1000][1000] is enough.
my code
I couldn't see tasks or contest dashboard even my account settings ! all pages are empty! i check this with 2computers and many times :(
Use google chrome
I use Ubuntu 14.04 could it be a reason for my problem ?!1.
I use the same operating system. The browser is the problem.
Hey, great site but I don't like how a bunch of tasks are impossible or much harder in Python because Python runs a bit slower. Can you please check that all tasks are possible to 100% solve in Python? If not then maybe increase time for Python slightly? Thanks
Edit: Really unfair that I got downvoted so hard (-18) for this, I'm top ten on the site and I enjoy using the site, I just want to be able to use it in one of the 3 languages that they offer. Sigh
Indeed, we will try to make Python usable some time in the near future.
Во время контеста было написано, что будет разбор задач. Но я так и не смог найти разбор задач.
Nice judge, good work guys. Solved addition and gcd :D
Very nice platform with very interesting problems. I love the website because it is the only place where you can plot a graph or check your ideas on custom made animations. For further information you can try the last 3 problems from Beta round 2.