結果

問題 No.730 アルファベットパネル
ユーザー _matumo__matumo_
提出日時 2018-09-09 16:46:16
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 3,367 ms
コンパイル使用メモリ 105,904 KB
実行使用メモリ 23,504 KB
最終ジャッジ日時 2023-08-25 03:00:20
合計ジャッジ時間 4,508 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
21,524 KB
testcase_01 AC 51 ms
23,368 KB
testcase_02 AC 52 ms
21,372 KB
testcase_03 AC 52 ms
21,300 KB
testcase_04 AC 52 ms
21,464 KB
testcase_05 AC 52 ms
21,276 KB
testcase_06 AC 53 ms
23,504 KB
testcase_07 AC 51 ms
21,360 KB
testcase_08 AC 52 ms
23,420 KB
testcase_09 AC 51 ms
21,356 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;
namespace YukiCoder
{
    class Program
    {
        static void Main(string[] args)
        {
            var S = Console.ReadLine();
            int n = S.Distinct().Count();
            Console.WriteLine(S.Count() == n ? "YES" : "NO");
            Console.ReadLine();
        }
    }
}
0