結果
問題 |
No.524 コインゲーム
|
ユーザー |
|
提出日時 | 2025-04-25 20:37:24 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 16,066 ms |
コンパイル使用メモリ | 394,656 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-04-25 20:37:42 |
合計ジャッジ時間 | 14,838 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 WA * 16 |
ソースコード
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" }); }