結果
問題 | No.524 コインゲーム |
ユーザー | square1001 |
提出日時 | 2017-06-02 22:55:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 280 bytes |
コンパイル時間 | 839 ms |
コンパイル使用メモリ | 82,264 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-02 10:21:04 |
合計ジャッジ時間 | 1,803 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
#include <cmath> #include <string> #include <vector> #include <iomanip> #include <iostream> #include <algorithm> #include <functional> #pragma warning(disable : 4996) using namespace std; long long n; int main() { cin >> n; cout << (n % 4 != 3 ? "O" : "X") << endl; return 0; }