結果

問題 No.423 ハムスター語初級(数詞)
ユーザー maimai
提出日時 2016-09-22 22:21:19
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 73 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 11,392 KB
実行使用メモリ 15,304 KB
最終ジャッジ日時 2023-08-11 01:28:34
合計ジャッジ時間 1,652 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
15,104 KB
testcase_01 AC 76 ms
15,236 KB
testcase_02 AC 75 ms
15,256 KB
testcase_03 AC 79 ms
15,048 KB
testcase_04 AC 75 ms
15,160 KB
testcase_05 AC 78 ms
15,252 KB
testcase_06 AC 74 ms
15,304 KB
testcase_07 AC 77 ms
15,032 KB
testcase_08 AC 76 ms
15,088 KB
testcase_09 AC 76 ms
15,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

t = gets.chomp

if t == "ham"
    puts "ham"
else
    puts t + "ham"
end
0