結果
問題 | No.536 人工知能 |
ユーザー | abL8ZLsTbF |
提出日時 | 2017-09-17 18:52:56 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 28 ms / 1,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 4,087 ms |
コンパイル使用メモリ | 106,240 KB |
実行使用メモリ | 24,412 KB |
最終ジャッジ日時 | 2024-04-25 14:58:54 |
合計ジャッジ時間 | 1,657 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 26 ms
24,164 KB |
testcase_01 | AC | 27 ms
24,412 KB |
testcase_02 | AC | 27 ms
24,156 KB |
testcase_03 | AC | 27 ms
24,412 KB |
testcase_04 | AC | 27 ms
24,244 KB |
testcase_05 | AC | 27 ms
24,288 KB |
testcase_06 | AC | 27 ms
24,236 KB |
testcase_07 | AC | 27 ms
24,376 KB |
testcase_08 | AC | 27 ms
24,028 KB |
testcase_09 | AC | 28 ms
24,280 KB |
testcase_10 | AC | 26 ms
24,244 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var S = Console.ReadLine(); if (S.EndsWith("ai")) { Console.WriteLine(S.Substring(0, S.Length - 2) + "AI"); } else { Console.WriteLine(S + "-AI"); } } }