結果
| 問題 | No.3440 Short Short |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-02-06 22:05:09 |
| 言語 | Rust (1.92.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 353 bytes |
| 記録 | |
| コンパイル時間 | 4,013 ms |
| コンパイル使用メモリ | 193,768 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-02-06 22:05:19 |
| 合計ジャッジ時間 | 3,419 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 |
ソースコード
fn main() {
let stdin = std::io::read_to_string(std::io::stdin()).unwrap();
let mut stdin = stdin.split_ascii_whitespace();
let n: u8 = stdin.next().unwrap().parse().unwrap();
println!("{}", output(solve(n)));
}
fn solve(n: u8) -> &'static str {
&"Short"[0..n as usize]
}
fn output(ans: &'static str) -> &'static str {
ans
}