結果

問題 No.1539 不可欠な部分
ユーザー そすうぽよそすうぽよ
提出日時 2021-06-06 18:37:13
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 150 bytes
コンパイル時間 219 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,544 KB
最終ジャッジ日時 2024-05-02 13:07:08
合計ジャッジ時間 21,913 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 442 ms
12,160 KB
testcase_02 AC 498 ms
12,416 KB
testcase_03 AC 271 ms
12,416 KB
testcase_04 AC 233 ms
12,416 KB
testcase_05 AC 219 ms
12,288 KB
testcase_06 AC 293 ms
12,416 KB
testcase_07 AC 130 ms
12,288 KB
testcase_08 AC 203 ms
12,288 KB
testcase_09 AC 435 ms
12,288 KB
testcase_10 WA -
testcase_11 AC 502 ms
12,288 KB
testcase_12 AC 510 ms
12,288 KB
testcase_13 AC 495 ms
12,288 KB
testcase_14 AC 491 ms
12,160 KB
testcase_15 AC 498 ms
12,544 KB
testcase_16 WA -
testcase_17 AC 496 ms
12,160 KB
testcase_18 AC 503 ms
12,288 KB
testcase_19 AC 494 ms
12,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
n.times do |i|
  a=gets.to_i
  if a == 1
    puts 0.1012977284
  elsif a == 2
    puts 0.1013153186
  else
    puts 0.1013211836
  end
end
0