NSG_SYPHER's blog

By NSG_SYPHER, history, 21 month(s) ago, In English

My solution is not giving correct output (Maybe I am doing something wrong in the counting of numbers equal to gcd over a range. It would very helpful if anyone can tell me what's wrong in the solution. Thank you

Problem https://codeforces.com/contest/474/problem/F

Solution-> https://ideone.com/Xi6t93

Full text and comments »

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

By NSG_SYPHER, history, 21 month(s) ago, In English

My solution is throwing an exit code 3 upon submission. Pls tell me what's wrong in the solution. Thank you

Problem https://codeforces.com/contest/1700/problem/B

Solution-> https://ideone.com/bamalP

Full text and comments »

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