Skip to content

Commit 096a77a

Browse files
committed
further standardization
1 parent 8035f80 commit 096a77a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

contents/approximate_counting/code/c/approximate_counting.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ int main()
7575
{
7676
srand(time(NULL));
7777

78-
printf("Counting Tests, 100 trials\n");
78+
printf("[#]\nCounting Tests, 100 trials\n");
7979
printf("[#]\ntesting 1,000, a = 30, 10%% error\n");
8080
test_approximation_count(100, 1000, 30, 0.1);
8181
printf("[#]\ntesting 12,345, a = 10, 10%% error\n");

contents/approximate_counting/code/cpp/approximate_counting.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ auto test_approximate_count(
5959
}
6060

6161
int main() {
62-
std::cout << "Counting Tests, 100 trials\n";
62+
std::cout << "[#]\nCounting Tests, 100 trials\n";
6363

6464
std::cout << "[#]\ntesting 1,000, a = 30, 10% error \n"
6565
<< test_approximate_count(100, 1000, 30, 0.1) << "\n";

contents/approximate_counting/code/julia/approximate_counting.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function test_approximate_count(n_trials, n_items, a, threshold)
5454
end
5555
end
5656

57-
println("Counting Tests, 100 trials")
57+
println("[#]\nCounting Tests, 100 trials")
5858

5959
println("[#]\ntesting 1,000, a = 30, 10% error")
6060
test_approximate_count(100, 1000, 30, 0.1)

contents/approximate_counting/code/python/approximate_counting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_approximate_count(n_trials, n_items, a, threshold):
4343
else:
4444
print("failed")
4545

46-
print("Counting Tests, 100 trials\n")
46+
print("[#]\nCounting Tests, 100 trials")
4747
print("[#]\ntesting 1,000, a = 30, 10% error")
4848
test_approximate_count(100, 1000, 30, 0.1)
4949
print("[#]\ntesting 12,345, a = 10, 10% error")

0 commit comments

Comments
 (0)