結果
| 問題 |
No.383 レーティング
|
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-12-06 23:39:51 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 335 bytes |
| コンパイル時間 | 12,443 ms |
| コンパイル使用メモリ | 386,396 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-13 10:58:33 |
| 合計ジャッジ時間 | 12,073 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
fn main() {
let mut input = String::new();
std::io::stdin().read_line(&mut input).ok();
let input: Vec<i64> = input
.split_whitespace()
.map(|n| n.parse().unwrap())
.collect();
if input[0] == input[1] {
println!("0");
} else {
println!("{:+}", input[1] - input[0]);
}
}
cra77756176