結果

問題 No.3027 114514
ユーザー koba-e964koba-e964
提出日時 2017-03-31 22:32:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 106 bytes
コンパイル時間 51 ms
コンパイル使用メモリ 11,268 KB
実行使用メモリ 15,340 KB
最終ジャッジ日時 2023-09-21 21:10:16
合計ジャッジ時間 7,419 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 183 ms
15,260 KB
testcase_01 AC 282 ms
15,100 KB
testcase_02 AC 384 ms
15,292 KB
testcase_03 WA -
testcase_04 AC 584 ms
15,076 KB
testcase_05 AC 684 ms
15,340 KB
testcase_06 AC 484 ms
15,084 KB
testcase_07 AC 885 ms
15,140 KB
testcase_08 AC 985 ms
15,012 KB
testcase_09 AC 786 ms
15,328 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: assigned but unused variable - onemu
Syntax OK

ソースコード

diff #

n = gets.to_i
onemu = [nil, 0, 2, 0, 0, 0, 0, 7, 0, 0, 10]
sleep(0.1*n)
puts [nil,7,8,9,4,5,6,1,2,3,10][n]
0