Search found 2 matches

by thnkndblv
Sun Oct 02, 2011 8:47 am
Forum: Volume 101 (10100-10199)
Topic: 10195 - The Knights Of The Round Table
Replies: 59
Views: 22779

Re: 10195 - The Knights Of The Round Table

It's some inputs and outputs...

Input:
0.0 0.0 0.0
1.0 1.0 1.0
1.0 1.0 0.0
1.0 0.0 1.0
0.0 1.0 1.0
3.1416 3.1416 3.1416
1000000.0 1000000.0 1000000.0
1000000.0 500000.0 500000.0
0.1 0.1 0.1
3 4 5
30 40 50
300 400 500
3000 4000 5000
30000 40000 50000
300000 400000 500000

Output:
The radius of the ...
by thnkndblv
Sat Aug 13, 2011 11:28 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 96776

Re: 10200 - Prime Time

Maybe you need print the output like this:

printf ("%.2lf\n", (cnt * 100.0) / (double)(b - a + 1) + 1e-9);

Go to advanced search