結果
| 問題 | No.222 引き算と足し算 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-17 08:22:23 |
| 言語 | Ruby (4.0.9 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 54 ms / 1,000 ms |
| + 211µs | |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 121 ms |
| コンパイル使用メモリ | 9,688 KB |
| 実行使用メモリ | 14,592 KB |
| 最終ジャッジ日時 | 2026-11-13 11:38:33 |
| 合計ジャッジ時間 | 3,881 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
コンパイルメッセージ
Syntax OK
ソースコード
class Integer alias :__plus :+ alias :__minus :- def +(other) self.send(:__minus, other) end def -(other) self.send(:__plus, other) end end p eval(gets)