結果

問題 No.908 うしたぷにきあくん文字列
ユーザー AtriaAtria
提出日時 2019-11-10 13:48:45
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 634 bytes
コンパイル時間 1,642 ms
コンパイル使用メモリ 61,036 KB
実行使用メモリ 22,724 KB
最終ジャッジ日時 2023-10-13 07:44:28
合計ジャッジ時間 3,015 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
22,644 KB
testcase_01 AC 49 ms
22,568 KB
testcase_02 AC 49 ms
20,684 KB
testcase_03 AC 49 ms
22,516 KB
testcase_04 AC 50 ms
22,596 KB
testcase_05 AC 49 ms
20,560 KB
testcase_06 WA -
testcase_07 AC 49 ms
20,544 KB
testcase_08 AC 49 ms
20,592 KB
testcase_09 WA -
testcase_10 AC 49 ms
20,492 KB
testcase_11 AC 50 ms
22,632 KB
testcase_12 AC 49 ms
22,612 KB
testcase_13 AC 49 ms
22,536 KB
testcase_14 WA -
testcase_15 AC 49 ms
20,496 KB
testcase_16 AC 48 ms
18,548 KB
testcase_17 AC 49 ms
22,500 KB
testcase_18 AC 49 ms
20,528 KB
testcase_19 AC 49 ms
20,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using static System.Console;
using static System.Math;

namespace CP
{
    class Atria
    {
        static void Main(string[] args)
        {
            string s = ReadLine();
            for (int i = 0; i < s.Length; i++)
            {
                if (i % 2 == 1)
                {
                    if (s[i] != ' ')
                    {
                        WriteLine("No");
                        return;
                    }
                }
            }
            WriteLine("Yes");
        }
       
    }
}
0