結果
| 問題 | No.3155 Same Birthday | 
| コンテスト | |
| ユーザー |  urectanc | 
| 提出日時 | 2025-05-23 19:01:58 | 
| 言語 | Rust (1.83.0 + proconio) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 24 ms / 2,000 ms | 
| コード長 | 254 bytes | 
| コンパイル時間 | 25,011 ms | 
| コンパイル使用メモリ | 378,976 KB | 
| 実行使用メモリ | 7,844 KB | 
| 最終ジャッジ日時 | 2025-05-23 19:03:04 | 
| 合計ジャッジ時間 | 27,683 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 49 | 
ソースコード
use proconio::input;
fn main() {
    input! {
        n: usize,
        mut birthday: [(usize, usize); n]
    }
    birthday.sort_unstable();
    birthday.dedup();
    let ans = birthday.len() == n;
    println!("{}", if ans { "No" } else { "Yes" });
}
            
            
            
        