Submission #104684


Source Code Expand

Copy
puts 1.0 *9 / 5 * gets.to_i + 32;

Submission Info

Submission Time
Task A - Celsius と Fahrenheit
User kimitoboku
Language Ruby (1.9.3)
Score 100
Code Size 33 Byte
Status
Exec Time 64 ms
Memory 4248 KB

Compile Error

./Main.rb:1: warning: `*' after local variable is interpreted as binary operator
./Main.rb:1: warning: even though it seems like argument prefix

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 61 ms 4204 KB
00_sample_02.txt 59 ms 4076 KB
00_sample_03.txt 58 ms 4248 KB
test_01.txt 56 ms 4200 KB
test_02.txt 58 ms 4204 KB
test_03.txt 57 ms 4204 KB
test_04.txt 58 ms 4112 KB
test_05.txt 61 ms 4176 KB
test_06.txt 56 ms 4200 KB
test_07.txt 64 ms 4244 KB
test_08.txt 54 ms 4248 KB
test_09.txt 59 ms 4084 KB
test_10.txt 56 ms 4200 KB
test_11.txt 57 ms 4080 KB
test_12.txt 56 ms 4240 KB
test_13.txt 56 ms 4200 KB
test_14.txt 61 ms 4200 KB
test_15.txt 55 ms 4204 KB
test_16.txt 57 ms 4084 KB
test_17.txt 56 ms 4204 KB
test_18.txt 55 ms 4204 KB
test_19.txt 55 ms 4200 KB
test_20.txt 57 ms 4204 KB