結果

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

テストケース

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

ソースコード

diff #

input = gets.chomp
if input.include?("ai")
	puts input.gsub("ai","AI")
else
	puts "#{input}-AI"
end
0