結果

問題 No.524 コインゲーム
ユーザー nayo0513
提出日時 2025-04-25 20:44:22
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 286 bytes
コンパイル時間 12,332 ms
コンパイル使用メモリ 400,476 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-25 20:44:37
合計ジャッジ時間 13,796 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

use proconio::input;

fn main() {
    // let mut stdin = LineSource::new(BufReader::new(io::stdin()));
    // macro_rules! input(($($tt:tt)*) => (proconio::input!(from &mut stdin, $($tt)*)));
    input! {
        n:usize,
    }
    println!("{}", if n % 4 != 3 { "O" } else { "X" });
}
0