結果

問題 No.1249 小学校1年生の夢
ユーザー aaaakkkkiiiiaaaakkkkiiii
提出日時 2020-11-05 13:20:59
言語 Rust
(1.77.0)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 450 ms
コンパイル使用メモリ 135,628 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-29 16:52:44
合計ジャッジ時間 2,004 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

use std::io;

fn main() {
    let v: Vec<i64> = {
        let mut s = String::new();
        io::stdin().read_line(&mut s).unwrap();
        s.split_whitespace().map(|x| x.parse().unwrap()).collect()
    };

    if v[0] + v[1] == v[2] {
        println!("Collect");
    } else {
        println!("Incorrect");
    }
}
0