結果

問題 No.69 文字を自由に並び替え
ユーザー sanntarohsanntaroh
提出日時 2019-04-26 08:26:01
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 384 bytes
コンパイル時間 1,975 ms
コンパイル使用メモリ 105,736 KB
実行使用メモリ 23,500 KB
最終ジャッジ日時 2023-08-15 08:57:31
合計ジャッジ時間 3,679 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
23,416 KB
testcase_01 AC 52 ms
21,544 KB
testcase_02 AC 53 ms
23,420 KB
testcase_03 AC 54 ms
23,500 KB
testcase_04 WA -
testcase_05 AC 53 ms
23,376 KB
testcase_06 AC 52 ms
21,432 KB
testcase_07 AC 53 ms
21,284 KB
testcase_08 AC 55 ms
23,472 KB
testcase_09 AC 54 ms
21,476 KB
testcase_10 AC 52 ms
19,388 KB
testcase_11 AC 53 ms
21,580 KB
testcase_12 AC 53 ms
21,416 KB
testcase_13 AC 54 ms
23,396 KB
testcase_14 AC 54 ms
21,464 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;
using System.Collections.Generic;

namespace test20190423
{
    class Program
    {
        static void Main(string[] args)
        {
            var a = Console.ReadLine();
            var b = Console.ReadLine();
            Console.WriteLine(a.ToCharArray().Except(b).Count() == 0 ? "YES" : "NO");
            Console.ReadLine();

        }
    }
}
0