提出 #46418598
ソースコード 拡げる
use proconio::{input, marker::Chars};
fn main() {
input! {
s: [Chars; 3],
};
let ans = s
.into_iter()
.map(|s_i| s_i[0].to_ascii_uppercase())
.collect::<String>();
println!("{}", ans);
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Three-letter acronym |
| ユーザ | bouzuya |
| 言語 | Rust (rustc 1.70.0) |
| 得点 | 100 |
| コード長 | 236 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 2076 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt |
| All | 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt, 01-00.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-00.txt | AC | 1 ms | 1968 KiB |
| 00-01.txt | AC | 1 ms | 1792 KiB |
| 00-02.txt | AC | 1 ms | 1844 KiB |
| 00-03.txt | AC | 1 ms | 2060 KiB |
| 01-00.txt | AC | 1 ms | 1924 KiB |
| 01-01.txt | AC | 1 ms | 1916 KiB |
| 01-02.txt | AC | 1 ms | 2076 KiB |
| 01-03.txt | AC | 1 ms | 1968 KiB |
| 01-04.txt | AC | 1 ms | 1920 KiB |
| 01-05.txt | AC | 1 ms | 1928 KiB |
| 01-06.txt | AC | 1 ms | 2060 KiB |