結果

問題 No.349 干支の置き物
ユーザー senshi2000senshi2000
提出日時 2016-03-27 07:13:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 1,353 bytes
コンパイル時間 4,099 ms
コンパイル使用メモリ 110,180 KB
実行使用メモリ 28,288 KB
最終ジャッジ日時 2024-04-10 02:44:41
合計ジャッジ時間 2,641 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
27,892 KB
testcase_01 AC 28 ms
25,980 KB
testcase_02 AC 27 ms
25,776 KB
testcase_03 AC 27 ms
26,236 KB
testcase_04 AC 28 ms
26,156 KB
testcase_05 AC 27 ms
25,980 KB
testcase_06 AC 27 ms
26,104 KB
testcase_07 AC 27 ms
25,980 KB
testcase_08 AC 27 ms
25,980 KB
testcase_09 AC 27 ms
25,980 KB
testcase_10 AC 28 ms
25,776 KB
testcase_11 AC 28 ms
26,236 KB
testcase_12 AC 28 ms
27,888 KB
testcase_13 AC 27 ms
26,108 KB
testcase_14 AC 28 ms
26,112 KB
testcase_15 AC 27 ms
26,364 KB
testcase_16 AC 27 ms
28,288 KB
testcase_17 AC 26 ms
28,028 KB
testcase_18 AC 26 ms
23,728 KB
testcase_19 WA -
testcase_20 AC 26 ms
25,980 KB
testcase_21 AC 27 ms
27,832 KB
testcase_22 AC 27 ms
25,976 KB
testcase_23 AC 27 ms
25,980 KB
testcase_24 AC 27 ms
28,156 KB
testcase_25 AC 26 ms
23,860 KB
testcase_26 WA -
testcase_27 AC 28 ms
24,244 KB
testcase_28 WA -
testcase_29 AC 28 ms
25,908 KB
testcase_30 AC 28 ms
25,984 KB
testcase_31 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;
namespace yuki924
{
    class Problem
    {

        public static List<string[]> getinputdata (){

            List<string[]> list_temp = new List<string[]>();
            string strdata = Console.ReadLine ();

            while (strdata!=null) {

                string[] s_temp = strdata.Split (' ');

                list_temp.Add (s_temp);

                strdata = Console.ReadLine ();

            }

            return list_temp;
        }

        public static void Wordcheck (int l,int r,ref string s){

            string temp = "";

            for(int i= r;i>=l;i--){


                temp += s[i].ToString();

            }

            Console.WriteLine(temp);

        }

        public static void Main (string[] args)
        {
            List<string[]> list_result = new List<string[]>();
            list_result = getinputdata();
            HashSet<string> hs = new HashSet<string>();

            int n =int.Parse(list_result[0][0]);


            for (int i = 1; i < 1 + n; i++)
            {
                hs.Add(list_result[i][0]);
            }

            if (hs.Count > 1)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");

            }


        }

    }
}
0