結果

問題 No.524 コインゲーム
ユーザー nayo0513
提出日時 2025-04-25 20:40:59
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 10,820 ms
コンパイル使用メモリ 400,600 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-25 20:41:47
合計ジャッジ時間 12,003 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 16 WA * 16
権限があれば一括ダウンロードができます

ソースコード

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 != 0 { "O" } else { "X" });
}
0