結果
| 問題 | No.1291 小手調べ |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-12-23 18:24:17 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 438 bytes |
| 記録 | |
| コンパイル時間 | 16,636 ms |
| コンパイル使用メモリ | 406,848 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-18 04:08:42 |
| 合計ジャッジ時間 | 14,306 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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