Search found 1 match

by Robur_131
Fri Jun 19, 2020 6:48 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 163
Views: 50499

Re: 113 - Power of Cryptography

The following code gives AC when the EPS is between 1e-10 and 1e-15. But if EPS is greater than 1e-10 or less than 1e-15, then it gives WA. Why is that? I though the double mantissa is represented by ~16 digits.


#include <iostream>
#include <cmath>

int check(int n, double p, int check_value ...

Go to advanced search