結果

問題 No.536 人工知能
ユーザー CroweaCrowea
提出日時 2019-01-24 00:10:08
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 257 bytes
コンパイル時間 698 ms
コンパイル使用メモリ 62,968 KB
実行使用メモリ 23,512 KB
最終ジャッジ日時 2023-10-14 09:33:14
合計ジャッジ時間 2,392 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
21,328 KB
testcase_01 AC 73 ms
23,244 KB
testcase_02 AC 72 ms
21,444 KB
testcase_03 AC 74 ms
21,176 KB
testcase_04 WA -
testcase_05 AC 72 ms
19,300 KB
testcase_06 AC 73 ms
21,268 KB
testcase_07 AC 72 ms
23,300 KB
testcase_08 AC 73 ms
21,164 KB
testcase_09 AC 71 ms
19,420 KB
testcase_10 AC 69 ms
20,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

class Program
{
    static void Main(string[] args)
    {
        var line = Console.ReadLine();
        string aiName = line.EndsWith("ai") ? line.Replace("ai", "AI") : string.Concat(line, "-AI");
        Console.WriteLine(aiName);
    }
}

0