結果
| 問題 | 
                            No.908 うしたぷにきあくん文字列
                             | 
                    
| コンテスト | |
| ユーザー | 
                             asdfghjkl;
                         | 
                    
| 提出日時 | 2019-10-18 22:51:06 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 341 bytes | 
| コンパイル時間 | 255 ms | 
| コンパイル使用メモリ | 28,672 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-06-25 18:02:11 | 
| 合計ジャッジ時間 | 948 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 12 WA * 6 | 
ソースコード
#include <stdio.h>
int main(void){
    char s[1000];
    int count;
    int flag=0;
    scanf("%s",s);
    for(count=0;s[count]!='\0';count++){
    if(count%2==0&&s[count]==' '){}
    else if(count%2==1&&'a'<=s[count]&&s[count]<='z'){}
    else{flag=1;break;}
    }
    if(flag==0){printf("Yes\n");}
    else{printf("No\n");}
    return 0;
}
            
            
            
        
            
asdfghjkl;