結果

問題 No.441 和か積
ユーザー posaune-0xa0
提出日時 2018-04-20 22:52:04
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 27,264 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-27 05:18:20
合計ジャッジ時間 1,113 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 12 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>

int main(void)
{
    char A[202], B[202];
    scanf("%s %s", A, B);

    if(strcmp(A, "0") || strcmp(A, "1")
      || strcmp(B, "0") || strcmp(B, "1"))
        printf("S\n");
    else if(strcmp(A, "2") && strcmp(B, "2"))
        printf("E\n");
    else
        printf("P\n");

    return 0;
}
0