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

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

So, I made a task for my mashup with 1300 test cases. Verification was OK and I was able to package it. However, when judging solutions that weren't submitted from "Submit package solutions" i got Judgement failed(the package ones got 1300 points right away). Here's an example log: https://pastebin.com/1TrbxMJu . I noticed "Data too long for column 'judgeProtocol' at row 1" at several places, so is the only fix to have less test cases? If so, then is there a fixed limit for the number of test cases?

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

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

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

So, I just made a new interactive task for my mashup contest, submitted an awful solution that should get about 100 points, and I see "Partial result: 0 points". I scroll down to see that I indeed got some points on the test cases. Why is the result 0 points? Video for explanation: here. The links for the codes for the checker and interactor are in the description of that video. Also, is there a way to initialize testlib's RNG with a seed besides something like this?

char **ar=argv;
ar[0][0]=seed/256;
ar[0][1]=seed%256;
registerGen(argc,ar,1);

EDIT: So, apparently testlib automatically puts a random seed to the command line. So, I removed the seed part of the interactor code, but of course the problem still persists.

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

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