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.
Auto comment: topic has been updated by Nezzar (previous revision, new revision, compare).
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