結果
問題 | No.524 コインゲーム |
ユーザー |
|
提出日時 | 2017-04-14 22:39:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 139 bytes |
コンパイル時間 | 547 ms |
コンパイル使用メモリ | 61,696 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-02 10:16:16 |
合計ジャッジ時間 | 1,577 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
#include<iostream>int main(void){unsigned long n;scanf("%lu", &n);if(n%4==3)printf("X\n");else printf("O\n");return 0;}