結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-09 21:27:39 |
| 言語 | Rust (1.93.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 423 bytes |
| 記録 | |
| コンパイル時間 | 2,782 ms |
| コンパイル使用メモリ | 199,616 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-22 17:36:59 |
| 合計ジャッジ時間 | 3,594 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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");
}
}