vishva1994's blog

By vishva1994, history, 9 years ago, In English

My submitted solution: https://www.codechef.com/viewsolution/9929014 I referred to the problem setters solution while solving for fast exponentiation function . The first two test cases passed . The last one — wrong answer (expected TLE) . Where am i going wrong ??

updated my solution to this but still same error:: https://www.codechef.com/viewsolution/9930909

Changed FMOD function to normal % and got AC . Does anyone know why???

Full text and comments »

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

By vishva1994, history, 9 years ago, In English

Question : http://www.codechef.com/problems/CHPLGNS
My Solution : http://www.codechef.com/viewsolution/7305267

Where am i going wrong ? Why WA . I am finding area and then counting . Help required .

Full text and comments »

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

By vishva1994, 10 years ago, In English

where can i find the editorial link for codeforces round #283 div2 ? http://mirror.codeforces.com/blog/entry/15208 contains only entries for div1

Full text and comments »

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