結果
| 問題 | No.175 simpleDNA |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-12-06 23:29:31 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 325 bytes |
| 記録 | |
| コンパイル時間 | 8,048 ms |
| コンパイル使用メモリ | 183,140 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-30 20:10:40 |
| 合計ジャッジ時間 | 1,893 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
fn main() {
let mut input = String::new();
std::io::Read::read_to_string(&mut std::io::stdin(), &mut input).ok();
let input: Vec<u32> = input
.split_whitespace()
.take(2)
.map(|n| n.parse().unwrap())
.collect();
println!("{}", u64::from(input[1]) * 2u64.pow(input[0] - 3));
}
cra77756176