結果

問題 No.536 人工知能
ユーザー jiro8719jiro8719
提出日時 2018-06-26 18:05:24
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 42 ms
コンパイル使用メモリ 11,404 KB
実行使用メモリ 15,264 KB
最終ジャッジ日時 2023-09-13 14:11:57
合計ジャッジ時間 1,700 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,116 KB
testcase_01 AC 80 ms
15,224 KB
testcase_02 AC 79 ms
15,132 KB
testcase_03 AC 79 ms
15,264 KB
testcase_04 WA -
testcase_05 AC 80 ms
15,108 KB
testcase_06 AC 80 ms
15,068 KB
testcase_07 AC 79 ms
15,224 KB
testcase_08 AC 83 ms
15,252 KB
testcase_09 AC 78 ms
15,112 KB
testcase_10 AC 79 ms
15,180 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

input = gets.chomp
if input[-2..-1].include?("ai")
    puts input.gsub("ai","AI")
else
    puts "#{input}-AI"
end# your code goes here
0