結果

問題 No.2322 MMA文字列
ユーザー bluemeganebluemegane
提出日時 2023-06-03 07:25:01
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 730 ms
コンパイル使用メモリ 65,252 KB
実行使用メモリ 22,368 KB
最終ジャッジ日時 2023-08-28 07:38:37
合計ジャッジ時間 2,772 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
20,544 KB
testcase_01 AC 49 ms
20,468 KB
testcase_02 AC 47 ms
18,492 KB
testcase_03 AC 47 ms
20,384 KB
testcase_04 AC 48 ms
20,656 KB
testcase_05 AC 48 ms
20,396 KB
testcase_06 AC 47 ms
20,368 KB
testcase_07 AC 48 ms
22,368 KB
testcase_08 AC 47 ms
20,468 KB
testcase_09 AC 47 ms
20,372 KB
testcase_10 AC 48 ms
20,368 KB
testcase_11 AC 48 ms
20,376 KB
testcase_12 AC 48 ms
22,336 KB
testcase_13 AC 47 ms
20,368 KB
testcase_14 AC 47 ms
20,368 KB
testcase_15 AC 47 ms
20,456 KB
testcase_16 AC 47 ms
20,544 KB
testcase_17 AC 49 ms
20,548 KB
testcase_18 AC 48 ms
20,588 KB
testcase_19 AC 47 ms
20,368 KB
testcase_20 AC 48 ms
20,420 KB
testcase_21 AC 47 ms
20,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim();
        Console.WriteLine(s[0] == s[1] && s[1] != s[2] ? "Yes" : "No");
    }
}
0