結果
問題 |
No.536 人工知能
|
ユーザー |
|
提出日時 | 2019-01-24 00:10:08 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 1,381 ms |
コンパイル使用メモリ | 104,732 KB |
実行使用メモリ | 24,668 KB |
最終ジャッジ日時 | 2024-09-16 04:32:38 |
合計ジャッジ時間 | 2,429 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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); } }