Experimental Educational Round: VolBIT Formulas Blitz


A. Again Twenty Five!
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
2
Output
25
----------------------------------------------------------------------------------------------------
B. Moore's Law
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
1000 1000000
Output
1011.060722383550382782399454922040
----------------------------------------------------------------------------------------------------
C. Lucky Numbers
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
2
Output
6
----------------------------------------------------------------------------------------------------
D. Hexagons!
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
2
Output
19
----------------------------------------------------------------------------------------------------
E. A rectangle
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
1 1 5 5
Output
13
----------------------------------------------------------------------------------------------------
F. Selection of Personnel
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
7
Output
29
----------------------------------------------------------------------------------------------------
G. Challenge Pennants
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
2
Output
24
----------------------------------------------------------------------------------------------------
H. Benches
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
5
Output
120
----------------------------------------------------------------------------------------------------
I. Parking Lot
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
3
Output
24
----------------------------------------------------------------------------------------------------
J. Divisibility
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
3000
Output
1
----------------------------------------------------------------------------------------------------
K. Indivisibility
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
12
Output
2
----------------------------------------------------------------------------------------------------
L. Cracking the Code
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
12345
Output
71232
----------------------------------------------------------------------------------------------------
M. Turn
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
60
Output
1
Input
-60
Output
3
----------------------------------------------------------------------------------------------------
N. Forecast
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
1 30 200
Output
-10.000000000000000
-20.000000000000000
----------------------------------------------------------------------------------------------------
O. Arrow
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
8 8 0 2 8 3 4 5
Output
8.000000000000 11.000000000000
4.000000000000 8.000000000000
6.000000000000 8.000000000000
6.000000000000 3.000000000000
10.000000000000 3.000000000000
10.000000000000 8.000000000000
12.000000000000 8.000000000000
----------------------------------------------------------------------------------------------------
P. Area of a Star
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
7 10
Output
108.395919545675
----------------------------------------------------------------------------------------------------
Q. Pyramids
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
2 5 3
Output
38.546168065709
----------------------------------------------------------------------------------------------------
R. Game
time limit per test: 0.5 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
1
Output
1
Input
2
Output
2
----------------------------------------------------------------------------------------------------
