When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

EbraM96's blog

By EbraM96, history, 3 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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!

Full text and comments »

Tags bug
  • Vote: I like it
  • +9
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • +29
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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 -_-

Full text and comments »

  • Vote: I like it
  • -46
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +38
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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 :(

Full text and comments »

  • Vote: I like it
  • +44
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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)

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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

The registration is only available 5 hours before the contest!

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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!

Full text and comments »

  • Vote: I like it
  • +25
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

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 !

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By EbraM96, history, 6 years ago, In English

http://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?

Full text and comments »

  • Vote: I like it
  • -10
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English
  • Vote: I like it
  • -1
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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!

Full text and comments »

  • Vote: I like it
  • +21
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

http://www.algorithmist.com

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

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

What is a Ghost Participant in CF Gym contests ?

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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

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

Full text and comments »

  • Vote: I like it
  • +44
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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 .

Full text and comments »

  • Vote: I like it
  • -18
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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 .

Full text and comments »

  • Vote: I like it
  • -11
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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 :) .

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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 .

Full text and comments »

  • Vote: I like it
  • +14
  • Vote: I do not like it

By EbraM96, history, 7 years ago, In English

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 .

Full text and comments »

  • Vote: I like it
  • -20
  • Vote: I do not like it