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

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

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!

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

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

Does anybody know how to add own compilation flags to that thingy?

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

Paste it into your template and you will write your solutions 2 times faster!

some C++ code
»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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. :(

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +10 Проголосовать: не нравится

    I have no idea why, but change #include "message.h" to #include <message.h> (the same goes for problem_name)

    • »
      »
      »
      8 лет назад, # ^ |
      Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

      You can keep #include <message.h> and #include <problem.h>. dcj.sh will automatically include all header files from the includes-folder. So simply move problem.h into this folder. message.h will already be there.

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

    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 :)

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

Anyone knows if there is going to be a practice round before Round 2 ?

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +33 Проголосовать: не нравится

    From Google Code Jam discussion group:

    From: Pablo Heiber 	
     
    Hi Artsem,
    
    Thanks for checking in. We are still working on trying to make it happen. We had a dependency cease to exist so we are doing some reworking of the system to get around that. If we can have it fully tested before the weekend (we are trying), we will put up a new practice round. This is likely not going to start before Thursday, though.
    
    Best,
    Pablo
    
    • »
      »
      »
      8 лет назад, # ^ |
        Проголосовать: нравится +5 Проголосовать: не нравится

      According to a mail received today:

      A Distributed Code Jam Practice Round, featuring all of the 2015 DCJ problems and 2016 DCJ Round 1 problems from our Past Problems page, will open tomorrow June 8 at 22:00 UTC and will close June 10 at 22:00 UTC.

      Link to Practice Round