結果

問題 No.5002 stick xor
ユーザー 最新の錆最新の錆
提出日時 2018-05-25 22:32:00
言語 Rust
(1.72.1)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 547 bytes
コンパイル時間 4,420 ms
実行使用メモリ 1,124 KB
スコア -23
最終ジャッジ日時 2018-05-25 22:32:06
ジャッジサーバーID
(参考情報)
judge9 /
純コード判定しない問題か言語
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
1,116 KB
testcase_01 AC 3 ms
1,120 KB
testcase_02 AC 3 ms
1,120 KB
testcase_03 AC 2 ms
1,124 KB
testcase_04 AC 2 ms
1,120 KB
testcase_05 AC 2 ms
1,120 KB
testcase_06 AC 3 ms
1,120 KB
testcase_07 AC 2 ms
1,124 KB
testcase_08 AC 3 ms
1,116 KB
testcase_09 AC 3 ms
1,120 KB
testcase_10 AC 3 ms
1,120 KB
testcase_11 AC 3 ms
1,116 KB
testcase_12 AC 3 ms
1,120 KB
testcase_13 AC 2 ms
1,120 KB
testcase_14 AC 3 ms
1,116 KB
testcase_15 AC 3 ms
1,120 KB
testcase_16 AC 3 ms
1,120 KB
testcase_17 AC 3 ms
1,120 KB
testcase_18 AC 3 ms
1,120 KB
testcase_19 AC 2 ms
1,120 KB
testcase_20 AC 3 ms
1,116 KB
testcase_21 AC 3 ms
1,120 KB
testcase_22 AC 2 ms
1,124 KB
testcase_23 AC 3 ms
1,120 KB
testcase_24 AC 2 ms
1,116 KB
testcase_25 AC 3 ms
1,116 KB
testcase_26 AC 3 ms
1,116 KB
testcase_27 AC 3 ms
1,124 KB
testcase_28 AC 3 ms
1,120 KB
testcase_29 AC 2 ms
1,120 KB
testcase_30 AC 3 ms
1,124 KB
testcase_31 AC 3 ms
1,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io::{Read, stdin};

fn main() {
    let mut buf = String::new();
    stdin().read_to_string(&mut buf).unwrap();
    let mut tok = buf.split_whitespace();
    let mut get = || tok.next().unwrap();
    macro_rules! get {
        ($t:ty) => (get().parse::<$t>().unwrap());
        () => (get!(i64));
    }
    let n = get!();
    let k = get!();
    let mut ls = vec![];
    for _ in 0..k {
        ls.push(get!());
    }
    for _ in 0..n {
        let _ = get();
    }
    for &l in ls.iter() {
        println!("1 1 1 {}", l);
    }    
}
0