Hello. It has proved to be not well known that there is currently going DCJ practice round! Everybody who is going to participate should take a part in it to familiarize with distributed environment! Here it is: https://codejam.withgoogle.com/codejam/contest/6264486/dashboard Info about it was written in a mail which looked like it doesn't contain any interesting info, so probably most users disregarded it and don't know about those rounds. Thanks to zholnin for letting me know!
Does anybody know how to add own compilation flags to that thingy?
Compilation flags can be changed in the dcj/config.json file.
Paste it into your template and you will write your solutions 2 times faster!
Has anyone managed to get the local testing tool working on Ubuntu with a C++ solution? All I get is a bunch of undefined references to MyNodeId() etc. :(
I have no idea why, but change #include "message.h" to #include <message.h> (the same goes for problem_name)
You can keep
#include <message.h>
and#include <problem.h>
.dcj.sh
will automatically include all header files from theincludes
-folder. So simply moveproblem.h
into this folder.message.h
will already be there.You can do the same way we did last year: Build it yourself (with zeus and message included, both .h and .c files). Then use PARunner tool to run it manually.
I build it with MSVC 2013, then run like this:
parunner.exe -n=2 -trace_comm=false -stderr="tagged" DGCJ.exe
These are just example options. works like a charm..
PARunner is in one of subfolders. Swistakk should be especially happy to use it, because some of the messages it prints are in Polish :)
Anyone knows if there is going to be a practice round before Round 2 ?
From Google Code Jam discussion group:
According to a mail received today:
Link to Practice Round