結果
問題 |
No.3149 find X which satisfies with equlation
|
ユーザー |
![]() |
提出日時 | 2025-05-20 23:08:29 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 144 bytes |
コンパイル時間 | 11,621 ms |
コンパイル使用メモリ | 399,356 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-20 23:08:43 |
合計ジャッジ時間 | 13,520 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 44 |
コンパイルメッセージ
warning: variable does not need to be mutable --> src/main.rs:7:9 | 7 | let mut ans: usize = a ^ b; | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
ソースコード
use proconio::input; fn main() { input!{ a: usize, b: usize, } let mut ans: usize = a ^ b; println!("{}", ans) }