#PCBBAY0000043. Đổi tổng số giây thành số giờ thực (Seconds to Decimal Hours)
Đổi tổng số giây thành số giờ thực (Seconds to Decimal Hours)
Seconds to Decimal Hours
Version: Phuoc Hung OJ Extended
Problem Statement
Given a duration in seconds, convert it to decimal hours using . Print the number of hours with exactly 4 decimal places; do not split it into hours, minutes and seconds.
Input
The only line contains real number , the duration in seconds.
Output
Print decimal hours with exactly 4 decimal places.
Subtasks
- Subtask 1 (100 points): .
Examples
Example 1
Input
3600
Output
1.0000
Explanation. Substituting 3600 into s / 3600 gives approximately 1. The required output formatting produces 1.0000.
Example 2
Input
5400
Output
1.5000
Explanation. Substituting 5400 into s / 3600 gives approximately 1.5. The required output formatting produces 1.5000.
Example 3
Input
1
Output
0.0003
Explanation. Substituting 1 into s / 3600 gives approximately 0.000277777777778. The required output formatting produces 0.0003.