dorijanlendvaj's blog

By dorijanlendvaj, history, 7 years ago, In English

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.

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

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

Auto comment: topic has been updated by dorijanlendvaj (previous revision, new revision, compare).