結果

問題 No.1699 Unfair RPS
ユーザー harurunharurun
提出日時 2021-09-14 13:28:22
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 348 bytes
コンパイル時間 12,008 ms
コンパイル使用メモリ 401,896 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-23 03:36:37
合計ジャッジ時間 13,057 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

use std::io;


fn main(){
  let (b,c)={
    let mut line=String::new();
    io::stdin().read_line(&mut line).unwrap();
    let mut itr=line.split_whitespace();
    let b:i32=itr.next().unwrap().parse().unwrap();
    let c:i32=itr.next().unwrap().parse().unwrap();
    (b,c)
  };
  if b==c {
    println!("Yes");
  } else {
    println!("No");
  }
}
0