Submission #104963


Source Code Expand

Copy
object Main extends App {
  override def main(args: Array[String]): Unit = {
    var N = readInt;
    println((9.0 / 5) * N + 32)
  }
}

Submission Info

Submission Time
Task A - Celsius と Fahrenheit
User yuki2006
Language Scala (2.9.1)
Score 100
Code Size 140 Byte
Status
Exec Time 965 ms
Memory 42252 KB

Test Cases

Set Name Score / Max Score Test Cases
All 100 / 100 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt
Case Name Status Exec Time Memory
00_sample_01.txt 959 ms 42044 KB
00_sample_02.txt 950 ms 42152 KB
00_sample_03.txt 965 ms 41936 KB
test_01.txt 962 ms 42116 KB
test_02.txt 952 ms 41924 KB
test_03.txt 947 ms 42168 KB
test_04.txt 945 ms 42088 KB
test_05.txt 953 ms 42088 KB
test_06.txt 959 ms 42000 KB
test_07.txt 953 ms 42172 KB
test_08.txt 947 ms 42040 KB
test_09.txt 956 ms 42052 KB
test_10.txt 963 ms 42124 KB
test_11.txt 951 ms 42040 KB
test_12.txt 949 ms 42096 KB
test_13.txt 951 ms 42176 KB
test_14.txt 955 ms 42052 KB
test_15.txt 961 ms 42252 KB
test_16.txt 955 ms 42052 KB
test_17.txt 957 ms 42052 KB
test_18.txt 953 ms 42176 KB
test_19.txt 963 ms 42040 KB
test_20.txt 958 ms 42128 KB