結果

問題 No.3060 サンプルケース至上主義
ユーザー koba-e964koba-e964
提出日時 2020-04-01 22:40:13
言語 Ruby
(3.3.0)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 403 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 11,576 KB
実行使用メモリ 15,312 KB
最終ジャッジ日時 2023-09-09 19:22:53
合計ジャッジ時間 1,082 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,312 KB
testcase_01 AC 81 ms
15,284 KB
testcase_02 AC 80 ms
15,244 KB
testcase_03 AC 79 ms
15,308 KB
testcase_04 AC 80 ms
15,312 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# coding: utf-8
s=gets.chomp
if s=="0"
  puts 'Nothing'
  exit
elsif s=='3.14159265'
  puts 'pi'
  exit
elsif s=="1112345678999+X"
  y="19m19p19s東南西北白發中+Y"
  if gets.chomp==y
    puts "九蓮宝燈\nThirteen Orphans"
  end
  exit
end
if s=='All your base are belong to us.'
  puts [3,4,4,3,6,2,2]
  exit
end
if s=='くぁwせdrftgyふじこlp'
  puts 'さmpぇ'
end

0