結果

問題 No.666 1000000007で割るだけ
ユーザー nisizawa
提出日時 2018-08-21 19:51:27
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 13,391 ms
コンパイル使用メモリ 381,872 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-16 10:46:44
合計ジャッジ時間 14,715 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io::stdin;

fn get_ints() -> Vec<u64> {
    let mut line = String::new();
    stdin().read_line(&mut line).ok();
    line.trim().split_whitespace().map(|i| i.parse().unwrap()).collect()
}

fn main() {
    let ints = get_ints();
    let (a, b) = (ints[0], ints[1]);
    let ans = a * b % 1000000007;
    
    println!("{}", ans);
}
0