結果

問題 No.524 コインゲーム
ユーザー makecir
提出日時 2017-06-17 17:32:11
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 27,776 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-01 11:27:07
合計ジャッジ時間 1,321 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void){
    int n;
    scanf("%d",&n);
    if(n==1||n%2==0){
        printf("O\n");
    }
    else{
        printf("X\n");
    }
}
0