結果
問題 |
No.581 XOR
|
ユーザー |
![]() |
提出日時 | 2018-03-23 08:23:46 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 45 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-24 20:59:52 |
合計ジャッジ時間 | 1,514 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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]