結果
| 問題 |
No.581 XOR
|
| コンテスト | |
| ユーザー |
tanukidon
|
| 提出日時 | 2018-03-23 08:25:28 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 51 bytes |
| コンパイル時間 | 119 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-06-24 20:59:54 |
| 合計ジャッジ時間 | 1,468 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 WA * 4 |
コンパイルメッセージ
Main.rb:2: warning: `-' after local variable or literal is interpreted as binary operator Main.rb:2: warning: even though it seems like unary operator Syntax OK
ソースコード
n = gets.chomp.split.map(&:to_i) p (n[1] -n[0]).abs
tanukidon