結果
問題 | No.666 1000000007で割るだけ |
ユーザー |
|
提出日時 | 2020-02-08 00:04:11 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 11,528 ms |
コンパイル使用メモリ | 402,624 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-25 08:28:20 |
合計ジャッジ時間 | 12,661 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
use std::io::Read;fn main() {let mut ab = String::new();std::io::stdin().read_to_string(&mut ab).ok();let ab: usize = ab.trim().split('\n').next().unwrap().trim().split_whitespace().map(|s| s.parse::<usize>().unwrap()).product();println!("{}", ab % 1000000007);}