結果

問題 No.102 トランプを奪え
ユーザー nayo0513
提出日時 2025-04-26 21:33:37
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 353 bytes
コンパイル時間 14,440 ms
コンパイル使用メモリ 385,996 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-26 21:33:53
合計ジャッジ時間 14,672 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

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! {
        a:[usize;4]
    }
    let mut v = 0;
    for a in a {
        v ^= a % 4;
    }
    println!("{}", if v != 0 { "Taro" } else { "Jiro" });
}
0