This commit is contained in:
yly 2025-11-17 20:39:49 +08:00
parent 745e29475c
commit a8a0837e11
2 changed files with 3 additions and 4 deletions

View File

@ -30,6 +30,5 @@ int main(int argc, char **argv) {
total = total * 4;
printf("Result: %.10lf\n", total);
printf("Accuracy: %.10lf\n", PI - total);
printf("Time:
%.10lf\n", (double)(time2 - time1)/CLOCKS_PER_SEC);
printf("Time: %.10lf\n", (double)(time2 - time1)/CLOCKS_PER_SEC);
}