結果
問題 |
No.337 P versus NP
|
ユーザー |
![]() |
提出日時 | 2022-11-23 21:24:43 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 400 bytes |
コンパイル時間 | 12,691 ms |
コンパイル使用メモリ | 390,212 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-25 01:52:04 |
合計ジャッジ時間 | 13,308 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let l = l.unwrap(); let mut l = l.split_whitespace(); let n = l.next().unwrap().parse::<i64>().unwrap(); let p = l.next().unwrap().parse::<i64>().unwrap(); if n == 1 || p == 0 { println!("="); } else { println!("!="); } }); }