結果

問題 No.69 文字を自由に並び替え
ユーザー takosamatakosama
提出日時 2017-12-17 22:13:42
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 479 bytes
コンパイル時間 2,783 ms
コンパイル使用メモリ 105,240 KB
実行使用メモリ 24,716 KB
最終ジャッジ日時 2023-09-09 21:23:44
合計ジャッジ時間 3,391 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 49 ms
24,560 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 49 ms
20,488 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 49 ms
20,504 KB
testcase_10 AC 49 ms
22,560 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 48 ms
20,568 KB
testcase_14 AC 48 ms
18,436 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.IO;
using System.Linq;

namespace yukicore
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            var n = Console.ReadLine().ToCharArray();
            var m = Console.ReadLine().ToCharArray();
            Array.Sort(n);
            Array.Sort(m);

            
            if (n== m)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");
        }
    }
}
0