結果

問題 No.908 うしたぷにきあくん文字列
ユーザー Ilag
提出日時 2019-12-30 07:47:04
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 1,497 ms
コンパイル使用メモリ 165,192 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 15:38:33
合計ジャッジ時間 2,282 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 12 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// Welcome to my source code!

int main() {
    char c[101];
    int i = 0;
    bool flag = true;
    while (cin >> c[i++]) {
        if (i % 2 && c[i] != ' ') flag = false;
    }
    if (flag) cout << "Yes" << endl;
    else cout << "No" << endl;
}
0