結果
| 問題 | No.1291 小手調べ |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-12-23 18:24:17 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 438 bytes |
| 記録 | |
| コンパイル時間 | 1,233 ms |
| コンパイル使用メモリ | 187,236 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-12 18:53:44 |
| 合計ジャッジ時間 | 3,038 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
fn main() {
let mut xx = String::new();
std::io::Read::read_to_string(&mut std::io::stdin(), &mut xx).ok();
let xx: Vec<usize> = xx.split_whitespace().skip(1).flat_map(str::parse).collect();
let mut answer = vec![];
for &n in &xx {
answer.extend(['9']);
answer.extend(vec!['0'; n - 1]);
answer.extend(['\n']);
}
let answer: String = answer.iter().collect();
print!("{answer}");
}
cra77756176