### EbraM96's blog

By EbraM96, history, 3 years ago,

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!

• +9

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

By EbraM96, history, 3 years ago,

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

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

• 0

By EbraM96, history, 3 years ago,

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

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

Solution

• -10

By EbraM96, history, 4 years ago,

• -1

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

http://www.algorithmist.com

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

• -8

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

What is a Ghost Participant in CF Gym contests ?

• +4

By EbraM96, history, 4 years ago,

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

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

• +44

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 4 years ago,

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

By EbraM96, history, 5 years ago,

A: I submitted my code to problem B and I was redirected to my submissions page there were no entries in the submissions page ! I had to refresh the page to see my submission !

Edit : also after refreshing the page again I saw the same submission which already had WA verdict re-running the pretests again and surely gave the same WA !

B: These two submissions (Problem B) :

21448936

21449637

the only difference is that in the first one I used :

while(scanf("%c" , &c)==1)

to get all the characters from the input and I got "Wrong answer on pretest 1"

in the second one I used the c++ cin to get the whole string first then process it :

cin>>s;

and I got "Pretests passed" costing me +7 minutes to get it accepted :(

why did this happen ????? thought scanf() works until it reaches end of file !