結果
| 問題 |
No.69 文字を自由に並び替え
|
| コンテスト | |
| ユーザー |
sanntaroh
|
| 提出日時 | 2019-04-26 08:26:01 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 384 bytes |
| コンパイル時間 | 867 ms |
| コンパイル使用メモリ | 110,284 KB |
| 実行使用メモリ | 24,456 KB |
| 最終ジャッジ日時 | 2024-11-23 14:54:19 |
| 合計ジャッジ時間 | 1,979 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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();
}
}
}
sanntaroh