結果
| 問題 | 
                            No.908 うしたぷにきあくん文字列
                             | 
                    
| コンテスト | |
| ユーザー | 
                             a
                         | 
                    
| 提出日時 | 2020-04-09 14:03:01 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 645 bytes | 
| コンパイル時間 | 2,625 ms | 
| コンパイル使用メモリ | 166,972 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-09-13 06:58:15 | 
| 合計ジャッジ時間 | 2,320 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 9 WA * 9 | 
ソースコード
/**
 *  author:   TakeruOkuyama
 *  created:  2020-04-09 13:18:37
**/
#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main(){
    string S;
    cin >> S;
    rep(i, S.size()){
        if(i % 2 == 0){
            if('a' <= S[i] == S[i] <= 'z'){
            }else{
                cout << "No" << endl;
                return 0;
            }
        }else{
            if(S[i] == ' '){
            }else{
                cout << "No" << endl;
                return 0;
            }
        }
    }
    cout << "Yes" << endl;
return 0;}
/**
**/ 
            
            
            
        
            
a