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

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

Hello everyone!

Our college came up with an online strategy-based programming contest. Players write code to control troops in a turn-based strategy game. The rules of the game are simple, yet provide enough depth to allow for many interesting strategies to be made.

I would humbly request all of you to head to this link and check it out! The contest has already started, and ends on 4th March at 18:30 hours UTC.

Docs are up here, there's a link to them on the navbar at the top of the screen. There's also a link to a forum on the navbar, where you can ask any questions related to the game.

Good luck and have fun! Please provide feedback and suggestions so that we can make it better :)

game view

Полный текст и комментарии »

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

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

Hello everyone. I've been attending contests for a while now. In order to test my code against sample cases, I came up with a command line tool. It runs your code against the sample cases and shows the result (expected output versus user output) and verdict(AC, WA, TLE, RTE). All this without leaving the terminal. I would really appreciate if you try it out and give some feedback so that I can make it better.

You can prefetch your cases so that you can test them later offline. Or just test your code on the fly.

Install with pip install --user ACedIt

Examples
  • acedit -s codeforces -c 86 -p D -f (prefetch cases from problem 86-D)
  • acedit --set-default-site codeforces (so that you dont need to mention the site everytime)
  • acedit --run solve.cpp -c 835 -p D (run your code against the cases of 835-D)
  • acedit --run test.py -s codechef -c AUG17 -p CHEFFA (similar as above, but with Codechef)

For complete usage instructions, click here

Thanks a lot for your time!!

Полный текст и комментарии »

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