pointscmp.cpp 295 B

12345678910111213
  1. #include "testlib.h"
  2. using namespace std;
  3. int main(int argc, char *argv[]) {
  4. setName("example of scored checker");
  5. registerTestlibCmd(argc, argv);
  6. double ja = ans.readDouble();
  7. double pa = ouf.readDouble();
  8. quitp(fabs(ja - pa), "ja=%.4f pa=%.4f", ja, pa);
  9. }