結果

問題 No.1249 小学校1年生の夢
ユーザー aaaakkkkiiii
提出日時 2020-11-05 13:20:59
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 12,129 ms
コンパイル使用メモリ 382,816 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-22 10:57:03
合計ジャッジ時間 13,250 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 17 WA * 13
権限があれば一括ダウンロードができます

ソースコード

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