結果

問題 No.908 うしたぷにきあくん文字列
ユーザー iwkjoseciwkjosec
提出日時 2019-10-18 21:21:56
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 383 bytes
コンパイル時間 2,178 ms
コンパイル使用メモリ 103,428 KB
実行使用メモリ 22,544 KB
最終ジャッジ日時 2023-09-07 21:03:35
合計ジャッジ時間 3,920 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
20,432 KB
testcase_01 AC 49 ms
20,444 KB
testcase_02 AC 49 ms
20,472 KB
testcase_03 AC 50 ms
22,440 KB
testcase_04 AC 49 ms
20,400 KB
testcase_05 AC 50 ms
20,432 KB
testcase_06 WA -
testcase_07 AC 48 ms
20,464 KB
testcase_08 AC 50 ms
20,544 KB
testcase_09 WA -
testcase_10 AC 50 ms
20,388 KB
testcase_11 AC 49 ms
20,648 KB
testcase_12 AC 49 ms
20,380 KB
testcase_13 AC 49 ms
22,492 KB
testcase_14 WA -
testcase_15 AC 49 ms
20,512 KB
testcase_16 AC 49 ms
20,608 KB
testcase_17 AC 49 ms
20,444 KB
testcase_18 AC 50 ms
20,456 KB
testcase_19 AC 48 ms
18,412 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.Collections.Generic;
using System.Linq;
using System.Numerics;
using static System.Console;
using static System.Math;

class Program
{
    static void Main()
    {
        var r =ReadLine();
        var a=true;
        for (int i = 0; i < r.Length; i++)
        {
            if(i%2==1&&r[i]!=' ')a=false;
        }
        WriteLine(a?"Yes":"No");
    }
}
0