Skip to content

Commit 84b8712

Browse files
authored
Update unit.cc
1 parent f5d2fcc commit 84b8712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ bool check_bloom() {
1919
if (ans != 1) { cnt++; }
2020
}
2121
double rate = double(cnt)/count;
22-
std::cout << double(cnt)/count << std::endl;
22+
std::cout << rate << std::endl;
2323
return rate < 0.00018;
2424
}
2525

2626
int main() {
2727
return check_bloom() ? EXIT_SUCCESS : EXIT_FAILURE;
28-
}
28+
}

0 commit comments

Comments
 (0)