Nezzar's blog

By Nezzar, history, 5 years ago, In English

We are going to organize a competition, but we cannot find any resources that help us to write external validator to check if the output is close enough to the expected answer. Can someone provide us some working validator files or give us some idea on how to work?

Any testlib solution will be appreciated.

 
 
 
 
  • Vote: I like it
  • +13
  • Vote: I do not like it

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

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

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

In the checkers provided by default by testlib, I think you can find what you need: https://github.com/MikeMirzayanov/testlib/blob/master/checkers/rncmp.cpp