結果
| 問題 | 
                            No.908 うしたぷにきあくん文字列
                             | 
                    
| コンテスト | |
| ユーザー | 
                             asdfghjkl;
                         | 
                    
| 提出日時 | 2019-10-18 22:40:16 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 340 bytes | 
| コンパイル時間 | 418 ms | 
| コンパイル使用メモリ | 27,776 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-25 17:47:29 | 
| 合計ジャッジ時間 | 836 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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;