結果

問題 No.1592 Tenkei 90
ユーザー bluemeganebluemegane
提出日時 2021-07-09 22:12:57
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 1,000 ms
コード長 343 bytes
コンパイル時間 775 ms
コンパイル使用メモリ 63,160 KB
実行使用メモリ 22,580 KB
最終ジャッジ日時 2023-09-14 09:23:06
合計ジャッジ時間 2,830 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
20,536 KB
testcase_01 AC 48 ms
20,592 KB
testcase_02 AC 48 ms
20,552 KB
testcase_03 AC 47 ms
22,524 KB
testcase_04 AC 46 ms
22,540 KB
testcase_05 AC 48 ms
20,464 KB
testcase_06 AC 49 ms
20,564 KB
testcase_07 AC 47 ms
18,516 KB
testcase_08 AC 44 ms
18,524 KB
testcase_09 AC 46 ms
20,540 KB
testcase_10 AC 47 ms
22,512 KB
testcase_11 AC 45 ms
20,540 KB
testcase_12 AC 47 ms
20,544 KB
testcase_13 AC 47 ms
20,600 KB
testcase_14 AC 47 ms
20,472 KB
testcase_15 AC 47 ms
20,560 KB
testcase_16 AC 48 ms
20,468 KB
testcase_17 AC 47 ms
22,444 KB
testcase_18 AC 47 ms
20,468 KB
testcase_19 AC 49 ms
22,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var t = "kyoprotenkei90";
        var s = Console.ReadLine().Trim();
        Console.WriteLine(sort(s) == sort(t) ? "Yes" : "No");
    }
    static string sort(string s)
    {
        var a = s.ToCharArray();
        Array.Sort(a);
        return new string(a);
    }
}
0