Блог пользователя zholnin

Автор zholnin, история, 9 лет назад, По-английски

Hi everbody,

I am going through preparations now — my only experience with this staff before is single course at Udacity about Parallel programming with CUDA. Not exactly the same thing, but the same paradigm.

My question is regarding their testing environments:

Dstributed Code Jam Guide

I do want to be able to test some solutions beforehand and have this tool at hand during the round itself.

Did anybody try to get this thing working with MS Visual C++? Does it make sense to try?

Should I try to make this thing working with MS Visual C++, switch to gcc or switch to Python for this round?

What are your impressions of this tool?

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Status update:

It does work with Microsoft Visual Studio. I was able to do the following (generally following included README.TXT):

  • install Go and build parunner.exe with it.
  • parunner.exe is self-sufficient and you can just copy it over to directory where you solutions are compiled to.
  • add message.h, message_internal.c, zeus.h, zeus_local.c to your project. It should compile fine (with three warnings).
  • after compilation, use parunner.exe -n:100 solution.exe, and it works like a charm.
»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Main question now — rules say that we will be getting inputs using library functions, and each problem will have its own function names to get its parameters.

In terms of testing — what do you see as best solution — I am thinking now about creating additional file which will be serving those function calls and supplying my solution with inputs from problem description. It seems that the only option is to write this piece of code during competition itself. What do you think?