結果
| 問題 | 
                            No.2894 Monotonic Intervals
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2024-09-20 21:37:44 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 5 ms / 2,000 ms | 
| コード長 | 158 bytes | 
| コンパイル時間 | 14,855 ms | 
| コンパイル使用メモリ | 379,044 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-20 21:38:02 | 
| 合計ジャッジ時間 | 15,795 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 14 | 
ソースコード
use proconio::{input, marker};
fn main() {
    input! {
        _n: usize,
        mut s: marker::Bytes,
    }
    s.dedup();
    println!("{}", s.len());
}