結果

問題 No.1592 Tenkei 90
ユーザー さかぽんさかぽん
提出日時 2021-07-09 21:22:57
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 1,000 ms
コード長 512 bytes
コンパイル時間 3,855 ms
コンパイル使用メモリ 105,468 KB
実行使用メモリ 23,704 KB
最終ジャッジ日時 2023-09-14 07:27:30
合計ジャッジ時間 4,788 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
23,508 KB
testcase_01 AC 58 ms
23,552 KB
testcase_02 AC 57 ms
21,508 KB
testcase_03 AC 58 ms
21,572 KB
testcase_04 AC 59 ms
21,592 KB
testcase_05 AC 57 ms
21,476 KB
testcase_06 AC 58 ms
23,704 KB
testcase_07 AC 57 ms
21,636 KB
testcase_08 AC 57 ms
21,628 KB
testcase_09 AC 58 ms
21,444 KB
testcase_10 AC 56 ms
19,520 KB
testcase_11 AC 57 ms
23,520 KB
testcase_12 AC 58 ms
23,628 KB
testcase_13 AC 57 ms
21,648 KB
testcase_14 AC 57 ms
23,516 KB
testcase_15 AC 58 ms
23,520 KB
testcase_16 AC 58 ms
21,468 KB
testcase_17 AC 57 ms
23,632 KB
testcase_18 AC 57 ms
21,588 KB
testcase_19 AC 57 ms
23,552 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.Collections.Generic;
using System.Linq;

class B
{
	static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
	static (int, int) Read2() { var a = Read(); return (a[0], a[1]); }
	static long[] ReadL() => Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
	static void Main() => Console.WriteLine(Solve() ? "Yes" : "No");
	static bool Solve()
	{
		var s = Console.ReadLine();
		return s.OrderBy(c => c).SequenceEqual("kyoprotenkei90".OrderBy(c => c));
	}
}
0