結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-09 21:27:39 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 423 bytes |
| コンパイル時間 | 14,053 ms |
| コンパイル使用メモリ | 380,108 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-01 15:09:58 |
| 合計ジャッジ時間 | 14,402 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#![allow(unused_macros, unused_imports)]
use proconio::marker::Chars;
macro_rules! dbg {
($($xs:expr),+) => {
#[cfg(debug_assertions)]
std::dbg!($($xs),+)
}
}
fn main() {
proconio::input!{
mut s: Chars,
}
s.sort();
let mut t = "kyoprotenkei90".chars().collect::<Vec<_>>();
t.sort();
if s == t {
println!("Yes");
} else {
println!("No");
}
}