MostafaM.Galal's blog

By MostafaM.Galal, history, 13 months ago, In English

i am trying to make a scraper for the accepted solutions on Codeforces and this is not feasible as it needs a lot of requests i searched on the API supported by the site but the submission object doesn't contain this piece of information so i was hoping to add this attribute to the submission object or create another object that could contain this attribute to make submissions request for a specific user light-weight. i know that gyms are not allowed to be seen except by coaches or the solver so it could be handled using specific parameters for authentication and thanks in advance

Full text and comments »

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

By MostafaM.Galal, history, 2 years ago, In English

i condensed the graph and the value of each new node is the sum of the scc values so the graph supposed to be acyclic then i run dijkstra to find the maximum path by adding negative sign to the weights can anyone tell me what is wrong with my code here is the code https://ideone.com/VZvL6W and the link to the problem https://www.spoj.com/problems/GOODA/ Thanks in advance

Full text and comments »

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