結果

問題 No.2322 MMA文字列
ユーザー tkjytkjy
提出日時 2024-01-16 05:39:35
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 376 bytes
コンパイル時間 14,273 ms
コンパイル使用メモリ 158,876 KB
実行使用メモリ 176,340 KB
最終ジャッジ日時 2024-01-16 05:39:53
合計ジャッジ時間 15,633 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
28,836 KB
testcase_01 AC 50 ms
28,836 KB
testcase_02 WA -
testcase_03 AC 52 ms
28,836 KB
testcase_04 AC 51 ms
28,836 KB
testcase_05 AC 51 ms
28,836 KB
testcase_06 AC 52 ms
28,836 KB
testcase_07 AC 52 ms
28,836 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 58 ms
28,836 KB
testcase_12 AC 52 ms
28,836 KB
testcase_13 AC 51 ms
28,836 KB
testcase_14 AC 51 ms
28,836 KB
testcase_15 AC 57 ms
28,836 KB
testcase_16 WA -
testcase_17 AC 52 ms
28,836 KB
testcase_18 AC 52 ms
28,836 KB
testcase_19 AC 52 ms
28,836 KB
testcase_20 AC 55 ms
28,836 KB
testcase_21 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (123 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

using System;

class Program
{
    static void Main()
    {
        
        string S = Console.ReadLine();

        if (S.Length != 3)
        {
            Console.WriteLine("No");
            return;
        }

        if (S[0] == S[1])
        {
            Console.WriteLine("Yes");
        }
        else
        {
            Console.WriteLine("No");
        }
    }
}
0