Mahmoud..Adel's blog

By Mahmoud..Adel, history, 2 months ago, In English,

Hi Codeforces!

As you all know, IOI'2018 is coming up soon, and teams are getting ready to travel to Japan.

Fortunately, I was able to make it this year to the team representing my country.

And to make it even better, the IOI this year will be held in any otaku's heaven : )

My excitement to go to japan had motivated me to train for long hours and do my best, changing the process that was tedious to me before to a very fun one : )

But unfortunately, we have had some trouble with the flight expenses. Even worse, the ministry of communication (which should have been the main sponsor) has just told us that they can’t afford our flight so most probably we won’t be able to find a sponsor. Therefore 2 members of our team would be traveling on their own budget. The other two (including me) won't be able to make it. So I was wondering if any of you have suggestions to what could we do to attend IOI 2018 on time?

Thanks in advance

UPD : we started a gofundme until we work sth out with the government (https://www.zoomaal.com/projects/65455)

UPD 2 : 1335$ already collected ... any tiny bit of help would be appreciated

UPD 3 : we reached half the goal and our second milestone ... 2060$ raised so far

UPD 4 : already 145% of the goal has been raised ... thanks to you, we are going to JAPAN ... that would have been impossible without ur help, thanks cf community.

Read more »

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

By Mahmoud..Adel, history, 2 months ago, In English,

when I tried to open it, this message appeared : "Сервис недоступен. Идут технические работы." It was working just fine 3 or 4 hours ago ... is the problem from the site itself ? and if not how can I solve it?

Read more »

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

By Mahmoud..Adel, history, 4 months ago, In English,

I was wondering why (on educational rounds) they only post the overall winners while winners from both division are posted separately on rated-for-div 2-only codeforces rounds.

Another question is: At first, Educational rounds were unrated for all divisions, now it is rated for div 2 only, are they planning to do rated-for-div 1 contests in the future ?

Read more »

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

By Mahmoud..Adel, history, 9 months ago, In English,

These are two solutions for uva 784 — maze exploration problem :

https://paste.ubuntu.com/26433633/

https://paste.ubuntu.com/26433634/

the first one gets accepted but the second one does not although they are almost identical ? can anyone help with the explanation

Read more »

 
 
 
 

By Mahmoud..Adel, history, 10 months ago, In English,

I was trying to solve 150A and I submitted a solution where I used a variable ( i ) in a loop :

for(int i=2; i*i<=n; i++)
    {
        while(n%i == 0)
        {
            n /= i;
            p[k++] = i;
        }
    }

and it got TLE in test 7

submission : 32983991

and when I changed the datatype of variable ( i ) to long long it got accepted.

submission : 32984272

can anyone help me with the reason...?

Read more »

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

By Mahmoud..Adel, history, 11 months ago, In English,

An inquiry… Which is more effective? Digging deeper in each knowledge branch, as DP or graph theory, to be up to bar in it or working on diverse topics on the same time?
Other workable techniques are welcomed :D

Read more »

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