結果

問題 No.908 うしたぷにきあくん文字列
ユーザー GafoGafoGafoGafo
提出日時 2020-02-07 06:32:46
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 521 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 28,764 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-25 22:58:39
合計ジャッジ時間 833 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 WA -
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 1 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
testcase_07 AC 1 ms
4,348 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 0 ms
4,348 KB
testcase_10 AC 1 ms
4,348 KB
testcase_11 WA -
testcase_12 AC 1 ms
4,348 KB
testcase_13 WA -
testcase_14 AC 1 ms
4,348 KB
testcase_15 WA -
testcase_16 AC 0 ms
4,348 KB
testcase_17 WA -
testcase_18 AC 1 ms
4,348 KB
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
    char moji[100][1];
    
    for(int i = 0; i < 100; i++)
    {
        scanf("%s", &moji[i][1]);
    }
    
    for(int j = 0; j < 100; j++)
    {
        if((97 <= moji[j][1]) && (moji[j][1] <=122))
        {
            moji[j][1] = 1;
        }
        else if(moji[j][1] == 32)
        {
            moji[j][1] = -1;
        }
        else
        {
            printf("No\n");
            
            return 0;
        }
    }
    
    printf("Yes\n");
    
    return 0;
    
}
0