brucewayne123's blog

By brucewayne123, history, 8 years ago, In English

http://codeforces.me/problemset/problem/437/D i was trying this problem but i dont know why i am getting wrong answer on test 7.. my code outputs some negative value(maybe an overflow error but i checked and wasnt able to found one). please someone look through my code and help.. my submission :- http://codeforces.me/contest/437/submission/18170970 PS:- i matched my solution with some accepted one and my logic is same.

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