結果

問題 No.353 ヘイトプラス
ユーザー shi-moshi-mo
提出日時 2016-04-01 22:29:01
言語 Ruby
(3.2.2)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 43 bytes
コンパイル時間 564 ms
コンパイル使用メモリ 11,492 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-09-11 23:59:45
合計ジャッジ時間 1,864 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,292 KB
testcase_01 AC 76 ms
15,344 KB
testcase_02 AC 78 ms
15,188 KB
testcase_03 AC 75 ms
15,288 KB
testcase_04 AC 74 ms
15,156 KB
testcase_05 AC 77 ms
15,284 KB
testcase_06 AC 77 ms
15,296 KB
testcase_07 AC 78 ms
15,056 KB
testcase_08 AC 77 ms
15,140 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: ambiguous first argument; put parentheses or a space even after `-' operator
Syntax OK

ソースコード

diff #

a, b = gets.split.map(&:to_i)
puts -(-a-b)
0