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

Автор EbraM96, история, 4 года назад, По-английски

How do you manage to keep on doing competitive programming? Given that you have a full-time job and you have to keep learning new technologies cauz our industry is about always learning. These things take almost all the available time of the day! I find it not easy to do so :( My guess is there are many users here started doing competitive programming when they were undergrad. How could you keep you competitive programming activities like solving problems, participating in contests, ..etc after graduation and getting a job?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

Автор EbraM96, история, 6 лет назад, По-английски

In my submissions page, when I click on a solution for a problem or a problem link it does not open and displays "You are not allowed to view this contest.". Although I can open the problem and my submission if I open the group page!

Полный текст и комментарии »

Теги bug
  • Проголосовать: нравится
  • +9
  • Проголосовать: не нравится

Автор EbraM96, история, 6 лет назад, По-английски

I tried to use the option that displays the standings of a specific division with my friends and it's not working.. It works only with common standings.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +29
  • Проголосовать: не нравится

Автор EbraM96, история, 6 лет назад, По-английски

How does codeforces run codes safely?

I mean like:

  • Preventing system calls
  • Allocating resources and time
  • Preventing connections
  • Isolating the process from the server

And what is the best way to do this?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Please keep the MOD value 10^9 + 7 !

I had a bug in my code cauz I had the MOD value set to 10^9 + 7 and it was 10^9 + 9 in the problem -_-

Полный текст и комментарии »

  • Проголосовать: нравится
  • -46
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Sometimes two consecutive contests have a gap of around a week between them (maybe more)... And sometimes consecutive contests have no gap and are held in consecutive days.. Please check recent contests history..

Why not to schedule them having around a day or two between them?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +38
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Is it possible to view solutions that were submitted during contest time only? If it is possible, can I view only accepted solutions?

Notice: I know about CF API but I don't want to use it for that.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Ooops! Something has broken down in Codeforces. Do not panic, you can try to reload the page or return Home. Anyway we will carefully read megabytes of logs, analyze stacktraces and fix the problem.

The above error page appears repeatedly these days.. Please fix it :(

Полный текст и комментарии »

  • Проголосовать: нравится
  • +44
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Problem: 279C - Ladder

MLE:33920174

AC:33920297

The only difference is at line 66:

MLE: while(~i&&a[i]<=a[i-1])

AC: while(i&&a[i]<=a[i-1])

When i = 0 the array access a[i-1] will be invalid I get that but why does this result a MLE verdict?!

Note: while(~i) is the same as while(i!=-1)

Полный текст и комментарии »

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Is it possible to extend the registration period for a contest on a group?

The registration is only available 5 hours before the contest!

Полный текст и комментарии »

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

Problems shared and problems created on codeforces polygon system for a single user could by large.

Adding the option to group a set of problems into a folder would be great!

Example:

Training camp 17:

--> problem-1

--> problem-2

Training camp 18:

--> problem 1

--> problem 2

It will make browsing problems much proper and easier!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +25
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

When I try to create a package I got this error:

"PackageException: five.cpp got WA on tests#5 which violates tag MAIN."

What does it mean exactly?!!? How could it be wrong answer!!

Please check this pic:

How could it get WA #4 then WA #5 although I did not commit any changes to the problem !

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

http://mirror.codeforces.com/gym/100495/problem/A

I don't know why this code produces a RTE!

Solution

Could any one please help me find the problem with it?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -10
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски
  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

First one happened with me before and obviously it is not fixed yes..

When I try to hack a solution nothing loads in the hacking page.

Second one is when I submit a solution this happens..

First maybe the solution is "In queue"

then "Running on pretest X"

then "Wrong answer on pretest X"

AGAIN it is displayed "Running on pretest X"

finally "Wrong answer on pretest X"

If it does run again on CF server it would be a drawback on performance.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

In any submission details there are several data like: verdict, time it was sent & judging time.... etc.

Why not to add something like:

The time when a submission is sent during the contest time.

Like: the submission was sent after MM:SS of the beginning of the contest.

It will help us to track the time taken to solve problems during the contest!

And certainly will be helpful to track this over many contests to measure the progress of solving problems in contests!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +21
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

http://www.algorithmist.com

The website has gone down for several days for now. Is it going to work soon?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

Автор EbraM96, история, 7 лет назад, По-английски

what is "Minimal contest percent" in group rating ? Minimal contest percent user has to participate in to appear in rating. what does this mean ?!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

What is a Ghost Participant in CF Gym contests ?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

Whenever I try to hack a solution , CF gets stuck in this case :

I couldn't hack any of the others' solutions !

Полный текст и комментарии »

  • Проголосовать: нравится
  • +44
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

Couple of days ago I opened CF on my mobile and it turned out to be having hell lot of ads and pop-ups . I thought that was something with my browser and I tried to access CF using another tablet device and it turns out to have the same annoying ads which doesn't even let me stay in CF page then I thought again this might be about the browser (UC Browser) so I used many different other browser but the same ads and pop-up windows :(

And now I'm using my fresh-installed OS and there are the ads again but not as much as it while browsing CF on my non-desktop devices .

PLEASE STOP THIS ANNOYING POP-UPS .

Полный текст и комментарии »

  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

I've been reading this great blog and tried to solve B. Troynacci Query but I couldn't :( . I already tried reading its editorial but it contained the equations directly for coding ! I couldn't understand how the equations were derived , and please :

A- I need help to solve the above problem .

B- Can I do all operations and apply modulo at the end when printing only , like :

print : OUTPUT%mod ?

C- I need problems like this to solve .

Полный текст и комментарии »

  • Проголосовать: нравится
  • -11
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

Is there any resource to get ICPC finals or regionals problems which have editorials ? I tried the gym but there is no such thing :( ... the main reason why I'm looking for such contests is to train with my team , so any resources , suggestion or anything that would help with such training would be appreciated too . THANKS :) .

Полный текст и комментарии »

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

While solving I find some problems which I couldn't solve after hard trying with them ; so for such problems I'm confused ..

which is better in that case ?

A- Push the problem to my to-do list , keep going solving other problems and return back to solve it later after a while . Maybe after solving other problems , and after solving it read the editorial and figure out what went wrong with me that made me unable to solve it the first time . If after I return to solve it and couldn't solve it again : repeat A .

B- After I'm completely done with the problem and I'm no longer making any progress with it , I start read the editorial , find what's it about and figure out what went wrong with me that made me unable to solve it .

Полный текст и комментарии »

  • Проголосовать: нравится
  • +14
  • Проголосовать: не нравится

Автор EbraM96, история, 8 лет назад, По-английски

I hope to make something makes browsing favorite posts/comments easier than just listing them under each other .

Maybe a button on saving date to show all saved posts in this date or show saved posts between two dates or maybe by tags but being like std::stack is not so favorable :D .

Полный текст и комментарии »

  • Проголосовать: нравится
  • -20
  • Проголосовать: не нравится