結果
| 問題 | No.69 文字を自由に並び替え |
| コンテスト | |
| ユーザー |
AreTrash
|
| 提出日時 | 2016-04-13 11:23:52 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 5,000 ms |
| コード長 | 352 bytes |
| 記録 | |
| コンパイル時間 | 509 ms |
| コンパイル使用メモリ | 111,780 KB |
| 実行使用メモリ | 27,208 KB |
| 最終ジャッジ日時 | 2026-05-25 00:04:47 |
| 合計ジャッジ時間 | 1,781 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
コンパイルメッセージ
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;
namespace No69_1{
public class Program{
public static void Main(string[] args){
var a = Console.ReadLine().ToList();
a.Sort();
var b = Console.ReadLine().ToList();
b.Sort();
Console.WriteLine(a.SequenceEqual(b) ? "YES" : "NO");
}
}
}
AreTrash