Hepic_Antony_Skarlatos's blog

By Hepic_Antony_Skarlatos, 5 years ago, In English,

I am referring to this problem: https://www.hackerrank.com/contests/w14/challenges/superman-celebrates-diwali

My source: http://pastebin.com/mvhXAMAU

My c++ code,pass some tests and gets some WA,but 2-3 days now I cant really undetand the reason. I checked also the editorial,and I saw almost same logic. Also I think that editorial's source give different results than the correct too...weird. So I made this post,for every coder can help me,and find any error to my source.

Thank you in advance !!!

{solved}

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