結果

問題 No.524 コインゲーム
ユーザー totori_nyaatotori_nyaa
提出日時 2019-11-29 21:27:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 283 bytes
コンパイル時間 1,682 ms
コンパイル使用メモリ 164,868 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-20 21:38:07
合計ジャッジ時間 2,524 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;


signed main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout << fixed << setprecision(20);
    
    ll n;
    cin>>n;
    if(n%4==3){
        cout << "X\n";
        return 0;
    }
    cout << "O\n";

}
0