Ahmed_Hussein_Karam's blog

By Ahmed_Hussein_Karam, history, 2 months ago, In English

Hi MikeMirzayanov,

I suggest a celebration "Tourist Round" to celebrate the new "Tourist Rank" and the new achievement by tourist reaching the rate 4k+

The round could have some strange/cool problems similar to what we do in "April Fool's round", but with different ideas. The character in the problems shall have the name "tourist" as well :)

What do you all think?

Full text and comments »

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

By Ahmed_Hussein_Karam, history, 4 years ago, In English

One lesson I have learned on last Div #3 contest is "avoid using pow() function in C++, it is can lead to Wrong Answer".

I am sharing this with a practical example:

This submission works only if you replace long long p = pow(n1, 3) + pow(mid, 3);

with long long p = n1 * n1 * n1 + mid * mid * mid;

I feel like it is useful to sare it !

Full text and comments »

By Ahmed_Hussein_Karam, history, 4 years ago, In English

Could anyone let me know why this submission doesn't work?

Full text and comments »

By Ahmed_Hussein_Karam, history, 4 years ago, In English

Hi codeforces users,

This is a problem solving training prepared by an Algorithm Engineer at Valeo, Mohamed Ayman. Happy coding!

Full text and comments »

By Ahmed_Hussein_Karam, history, 4 years ago, In English

On November 1st 2017, I was rated 1239 and I registered in Codeforces Round #431 (Div. 2). Being able to solve just one problem, my rating fell to 1233.

Getting closer to my first gray-colored handle, I had a real fear from joining contests anymore.. I don't want to become "Newbie".. never!

On December 2019, and after 2 years of disappointment, I knew about (Div. 3) contests. I really was happy and decided I should come back and give it a try..

Despite being able to solve only 2 problems, the 3rd was hacked and I got the idea of 4 problems.. this really increased my confidence. However, my rate only increased by 22 points.. still slow, but I felt like "seems fine.. but not enough encouraging". Now, after my first (Div. 4) contest after around 5 months of inactivity, my rating jumps by 72!

I am really grateful, and this is really encouraging.. thanks MikeMirzayanov, and tanks for testers! I decided I will never give up.

Full text and comments »

By Ahmed_Hussein_Karam, history, 6 years ago, In English

What does it mean when the verdict of my submission is "Judgement failed"?

Full text and comments »

By Ahmed_Hussein_Karam, history, 7 years ago, In English
By Ahmed_Hussein_Karam, 7 years ago, In English

It has been 3 years when my journey on codeforces started !
I gained a lot of experience and enjoyed a lot of challenging problems.
In 2018, I am seeking more, and wishing you all great ranking improvements.
Happy New Year for all of you :)

Full text and comments »

By Ahmed_Hussein_Karam, history, 7 years ago, In English

According to this wikipedia link, under the title "Success probability of the contraction algorithm":
Number of possible cuts in a graph is 2^(n-1)-1, while maximum number of minimum cuts is nC2, where n is number of vertices.
My question:
Why number of possible cuts differ from maximum number of minimum cuts? why isn't any cut a (candidate) minimum cut?

Full text and comments »

By Ahmed_Hussein_Karam, history, 8 years ago, In English

It is all about virtual participation in passed contests..
After choosing and submitting the start time, why not enable the registrant to edit that time after registration instead of cancelling it and reattempting to register!!
I imagine it to be something like that..

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

Hey tourist fans. What is the meaning of this logo being added to a user profile?!

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

For those beginners who want to go deeply in competitive programming.. those sites would help :)
Choose and GO!
Codeforces
TopCoder
SPOJ
UVA online judge
a2oj online judge with it's leveled ladders
hackerEarth
URI online judge
ACM live archieve

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

Try to enjoy your few days being a legendary master handled :)

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

Did this person really come first in the round?!
Did he manage to solve 5 problems in 3 minutes while sitting on the ground?!
Is he/she now proud?!
Is he/she the top? did he/she touch the cloud?!
Did he become a celebrity or was looked for to be found?!
If no, what was this for :)

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

For those who want to learn more about the main topics of competitive programming, I think you will find this helpful.

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

What is the most efficient way to convert an integer to a string in C++?

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

Why isn't there an editorial for Codeforces Round #273 (Div. 2)?!
For those who are able to make one.. please don't hesitate.

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

It's widely known that in body-effort based activities (football, basketball, ...), the player must do a lot of exercises just before the start of the match in order to get ready, but I'm wondering if it differs when activities are mental-effort based (e.g. chess, coding,...). In other words, before a codeforces round, should I relax, take a nap or try to activate my mind by solving some problems?

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

I have tried many online judges, but found that codeforces is the best one for those who want to be excellent in competitive programming.
Now, after few months of being a registrant, I became an expert (after being so bad in programming)!!
This progress really impressed me and made me write this message to thank the codeforces team, especially MikeMirzayanov
I will recommend this site for all my friends from now on.

Full text and comments »

By Ahmed_Hussein_Karam, history, 9 years ago, In English

I want to ask two questions regarding the final round of VK cup 2015 that was held on 26/7/2015: First, when will the final standings be shown on codeforces? Second, during the round, why isn't it allowed to show the current standings? (Whenever I try to see them, I find the page blocked)

Full text and comments »