結果

問題 No.423 ハムスター語初級(数詞)
ユーザー mrc1031mrc1031
提出日時 2016-10-07 16:32:40
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 2,593 ms
コンパイル使用メモリ 100,524 KB
実行使用メモリ 22,696 KB
最終ジャッジ日時 2023-08-14 01:50:01
合計ジャッジ時間 2,723 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
20,468 KB
testcase_01 AC 39 ms
20,392 KB
testcase_02 AC 40 ms
20,556 KB
testcase_03 AC 39 ms
22,580 KB
testcase_04 AC 38 ms
20,456 KB
testcase_05 WA -
testcase_06 AC 39 ms
20,468 KB
testcase_07 AC 39 ms
20,648 KB
testcase_08 AC 39 ms
20,428 KB
testcase_09 AC 39 ms
20,620 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        string n = Console.ReadLine();
        Console.WriteLine(n == "hams" ? n : n + "ham");
    }
}
0