結果
問題 | No.383 レーティング |
ユーザー |
|
提出日時 | 2017-07-25 16:07:35 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 12,869 ms |
コンパイル使用メモリ | 401,704 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-09 17:06:51 |
合計ジャッジ時間 | 13,366 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
fn main(){let mut s = String::new();std::io::stdin().read_line(&mut s).unwrap();let vec: Vec<&str> = s.trim().split(' ').collect();let n = vec[1].parse::<i32>().unwrap() - vec[0].parse::<i32>().unwrap();if n > 0 {print!("+");}println!("{}", n);}