結果
問題 | No.524 コインゲーム |
ユーザー |
![]() |
提出日時 | 2017-06-02 22:33:10 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 147 bytes |
コンパイル時間 | 1,201 ms |
コンパイル使用メモリ | 158,076 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-02 10:19:23 |
合計ジャッジ時間 | 2,188 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
#include<bits/stdc++.h>using namespace std;#define int long longsigned main(){int n;cin>>n;cout<<(n%4==3?"X":"O")<<endl;return 0;}