結果
| 問題 |
No.2508 Discriminant
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-10-20 21:56:13 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 207 bytes |
| コンパイル時間 | 13,261 ms |
| コンパイル使用メモリ | 384,292 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-20 18:42:48 |
| 合計ジャッジ時間 | 13,899 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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");
}
}