結果

問題 No.536 人工知能
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-06-12 01:34:51
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 1,992 ms
コンパイル使用メモリ 96,440 KB
実行使用メモリ 25,400 KB
最終ジャッジ日時 2023-09-13 03:31:45
合計ジャッジ時間 3,641 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 72 ms
21,348 KB
testcase_02 AC 72 ms
21,404 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 71 ms
23,432 KB
testcase_06 WA -
testcase_07 AC 71 ms
21,516 KB
testcase_08 WA -
testcase_09 AC 71 ms
23,428 KB
testcase_10 AC 68 ms
21,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class No536{
    static void Main(string[] args){
        var s=Console.ReadLine();
        if(s.EndsWith("ai"))Console.WriteLine(s.Replace("ai$","AI"));
        else Console.WriteLine($"{s}-AI");
        } 
    }
0