2013-10-05 AtCoder Regular Contest #015, A : Celsius と Fahrenheit AtCoder 問題文 http://arc015.contest.atcoder.jp/tasks/arc015_1 解法 問題文中の式通りに計算するだけ。 コード n = gets.chomp.to_i printf( "%.8f\n", 9.0 / 5.0 * n + 32 )