pointscmp.cpp 297 B

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