zholnin's blog

By zholnin, history, 9 years ago, In English

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?

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

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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?