MuhammadSawalhy's blog

By MuhammadSawalhy, history, 3 months ago, In English

In the last round Codeforces Round #838 (Div. 2) I managed to solve A, B, and C in about 45 minutes even faster than a friend of mine who is a master and faster than lots of experts. I was left with about 1:45:00 to solve D but in vain. This happens many times in recent rounds, solving the first 3 problems so quickly and D is the big obstacle that seems impossible to approach.

If anyone can give me some advice to attack D more efficiently I'll be thankful.

Full text and comments »

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

By MuhammadSawalhy, history, 7 months ago, In English

What can really cause such a runtime error with this version of the GNU C++ compiler? The only thing I thought about was a bug in this version, which was fixed later in GNU C++17.

Full text and comments »

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

By MuhammadSawalhy, history, 9 months ago, In English

This is my first time submitting an answer with python. I tried PyPy 3-64 but got runtime error, I thought it was my fault to submit with PyPy as the language which I don't know anything about it. Then I tried to submit again with Python 3 in no vain.

These are my submissions:

  1. https://codeforces.com/contest/1690/submission/160147330
  2. https://codeforces.com/contest/1690/submission/160147403

Can anyone help?!

Full text and comments »

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