Codeforces Alpha Round 20 (Codeforces format)


A. BerOS file system
time limit per test: 2 seconds
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
//usr///local//nginx/sbin
Output
/usr/local/nginx/sbin
----------------------------------------------------------------------------------------------------
B. Equation
time limit per test: 1 second
memory limit per test: 256 megabytes
input: standard input
output: standard output

Examples
Input
1 -5 6
Output
2
2.0000000000
3.0000000000
----------------------------------------------------------------------------------------------------
C. Dijkstra?
time limit per test: 1 second
memory limit per test: 64 megabytes
input: standard input
output: standard output

Examples
Input
5 6
1 2 2
2 5 5
2 3 4
1 4 1
4 3 3
3 5 1
Output
1 4 3 5 
Input
5 6
1 2 2
2 5 5
2 3 4
1 4 1
4 3 3
3 5 1
Output
1 4 3 5 
----------------------------------------------------------------------------------------------------
