結果
問題 | No.536 人工知能 |
ユーザー | Maisu |
提出日時 | 2017-06-30 23:26:16 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 287 bytes |
コンパイル時間 | 913 ms |
コンパイル使用メモリ | 111,096 KB |
実行使用メモリ | 25,536 KB |
最終ジャッジ日時 | 2024-04-15 07:07:24 |
合計ジャッジ時間 | 1,630 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 23 ms
25,536 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 22 ms
21,428 KB |
testcase_04 | AC | 23 ms
23,264 KB |
testcase_05 | WA | - |
testcase_06 | AC | 23 ms
25,404 KB |
testcase_07 | WA | - |
testcase_08 | AC | 23 ms
23,260 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; public class Program { public static void Main() { string name = Console.ReadLine(); if (name.Substring(name.Length-2, 2) == "ai") { Console.WriteLine(name.Substring(0, name.Length-2) + "AI"); } else { Console.WriteLine(name + "-ai"); } } }