結果

問題 No.908 うしたぷにきあくん文字列
ユーザー eSeFeSeF
提出日時 2019-10-20 16:18:45
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 1,735 bytes
コンパイル時間 904 ms
コンパイル使用メモリ 66,068 KB
実行使用メモリ 24,736 KB
最終ジャッジ日時 2023-09-15 14:38:28
合計ジャッジ時間 2,776 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
20,452 KB
testcase_01 AC 50 ms
20,452 KB
testcase_02 AC 51 ms
18,508 KB
testcase_03 AC 51 ms
22,460 KB
testcase_04 WA -
testcase_05 AC 51 ms
22,512 KB
testcase_06 WA -
testcase_07 AC 51 ms
22,480 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 51 ms
22,576 KB
testcase_11 AC 51 ms
22,456 KB
testcase_12 AC 51 ms
22,480 KB
testcase_13 AC 51 ms
20,600 KB
testcase_14 WA -
testcase_15 AC 52 ms
20,468 KB
testcase_16 AC 50 ms
20,488 KB
testcase_17 AC 50 ms
20,524 KB
testcase_18 AC 51 ms
20,544 KB
testcase_19 AC 50 ms
20,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using static System.Math;
using static System.Array;
using static AtCoder.Tool;
namespace AtCoder
{
    class AC
    {
        const int MOD = 1000000007;
        const int INF = int.MaxValue / 2;
        const long SINF = long.MaxValue / 2;
        const double EPS = 1e-8;
        static readonly int[] dx = { 0, 1, 0, -1 };
        static readonly int[] dy = { 1, 0, -1, 0 };

        
        static void Main(string[] args)
        {
            //var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
            //Console.SetOut(sw);
            var cin = new Scanner();

            var s = Console.ReadLine().Split();
            for(var i = 0; i < s.Length; i++)
            {
                if (s[i].Length > 1)
                {
                    Console.WriteLine("No");
                    return;
                }
            }

            Console.WriteLine("Yes");


            
            
            //Console.Out.Flush();
        }

        
    }

    

    

    public class Scanner
    {
        public int[] SplitRead()
        {
            int[] array = Console.ReadLine().Split().Select(int.Parse).ToArray();
            return array;
        }
        public long[] SplitReadL()
        {
            long[] array = Console.ReadLine().Split().Select(long.Parse).ToArray();
            return array;
        }
    }

    public static class Tool
    {
        static public void Initialize<T>(ref T[] array, T initialvalue)
        {
            for (var i = 0; i < array.Length; i++)
            {
                array[i] = initialvalue;
            }
        }
    }
}
0