結果

問題 No.730 アルファベットパネル
ユーザー バカらっくバカらっく
提出日時 2018-09-07 22:00:14
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 1,065 bytes
コンパイル時間 1,842 ms
コンパイル使用メモリ 65,320 KB
実行使用メモリ 23,500 KB
最終ジャッジ日時 2023-08-19 18:40:02
合計ジャッジ時間 2,439 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
21,460 KB
testcase_01 AC 50 ms
21,436 KB
testcase_02 AC 50 ms
21,520 KB
testcase_03 AC 51 ms
23,500 KB
testcase_04 AC 51 ms
23,428 KB
testcase_05 AC 51 ms
21,448 KB
testcase_06 AC 51 ms
21,384 KB
testcase_07 AC 51 ms
21,380 KB
testcase_08 AC 50 ms
19,500 KB
testcase_09 AC 50 ms
21,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text;

public class Program
{

    public void Proc()
    {
        string inpt = Reader.ReadLine();

        string ans = "NO";
        if(inpt.Length == inpt.Distinct().Count()) {
            ans = "YES";
        }
        Console.WriteLine(ans);
    }

    public class Reader
    {
        static StringReader sr;
        public static bool IsDebug = false;
        public static string ReadLine()
        {
            if (IsDebug)
            {
                if (sr == null)
                {
                    sr = new StringReader(InputText.Trim());
                }
                return sr.ReadLine();
            }
            else
            {
                return Console.ReadLine();
            }
        }
        private static string InputText = @"





YUKICODER






";
    }

    public static void Main(string[] args)
    {
#if DEBUG
        Reader.IsDebug = true;
#endif
        Program prg = new Program();
        prg.Proc();
    }
}
0