結果
| 問題 | 
                            No.2508 Discriminant
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-10-20 21:58:36 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 207 bytes | 
| コンパイル時間 | 14,884 ms | 
| コンパイル使用メモリ | 400,464 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-20 18:52:01 | 
| 合計ジャッジ時間 | 12,415 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 22 | 
コンパイルメッセージ
warning: unused variable: `a` --> src/main.rs:5:9 | 5 | a: String, | ^ help: if this is intentional, prefix it with an underscore: `_a` | = note: `#[warn(unused_variables)]` on by default
ソースコード
#![allow(dead_code)]
fn main() {
    proconio::input! {
        a: String,
        p: String,
        q: String
    }
    if &p == &q {
        println!("No");
    } else {
        println!("Yes");
    }
}