結果

問題 No.536 人工知能
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-06-12 01:14:08
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 229 bytes
コンパイル時間 1,884 ms
コンパイル使用メモリ 98,632 KB
実行使用メモリ 23,452 KB
最終ジャッジ日時 2023-09-13 03:31:28
合計ジャッジ時間 3,444 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
21,420 KB
testcase_01 AC 73 ms
21,508 KB
testcase_02 AC 73 ms
23,452 KB
testcase_03 AC 75 ms
21,428 KB
testcase_04 WA -
testcase_05 AC 73 ms
21,456 KB
testcase_06 AC 74 ms
21,364 KB
testcase_07 AC 74 ms
21,536 KB
testcase_08 AC 74 ms
21,400 KB
testcase_09 AC 73 ms
21,324 KB
testcase_10 AC 71 ms
21,088 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