結果

問題 No.2508 Discriminant
コンテスト
ユーザー 👑 Mizar
提出日時 2023-09-06 20:07:47
言語 Rust
(1.93.0 + proconio + num + itertools)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 349 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 469 ms
コンパイル使用メモリ 191,936 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2026-03-10 17:50:37
合計ジャッジ時間 1,645 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

use std::io::prelude::*;
fn main() {
    let stdin = std::io::stdin();
    let line = stdin.lock().lines().next().unwrap().unwrap();
    let mut tokens = line.split_ascii_whitespace();
    let _a = tokens.next().unwrap();
    let p = tokens.next().unwrap();
    let q = tokens.next().unwrap();
    print!("{}", if p != q { "Yes" } else { "No" });
}
0