Dazzler's blog

By Dazzler, history, 6 years ago, In English

There is an interactive problem asked in recent ongoing codejam qualification round. I am getting TLE again and again. I don't know how to use local testing tool given there. Please, someone, help me.

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

»
6 years ago, # |
  Vote: I like it +1 Vote: I do not like it

I'm struggling with it to (and suspect it's the interactive bit). However there is a writeup on the interactive practise problem which contains model solutions. Hope it helps. https://codejam.withgoogle.com/2018/challenges/0000000000000130/analysis/0000000000000523

»
6 years ago, # |
  Vote: I like it +5 Vote: I do not like it

To use the interactive tool, go to the bottom of the problem and press download. It'll warn you about the program, but (for chrome) just go to chrome://downloads/ and click allow. From there, use their instructions: C++, after compilation: python testing_tool.py ./my_binary Python: python testing_tool.py python my_code.py Java, after compilation: python testing_tool.py java my_main_class_name If you can't download it, copy and paste this and put it into a file called testing_tool.py: https://hastebin.com/ayalutugad.py