vtmc's blog

By vtmc, history, 18 months ago, In English

I recently go through this problem and try to solve it: https://codeforces.me/gym/102697/problem/008 This is my code: https://onlinegdb.com/mz1QjL3om I tried the formula in the problem but it didn't work with the test cases. I think that some test cases are wrong. Help me!!

Full text and comments »

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

By vtmc, history, 18 months ago, In English

This is my code: https://pastebin.com/xHsJXqKY I keep trying to solve the problem but it's always ends up fails: Runtime error on test 12 Help me!!! Thks in advance!

Full text and comments »

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