結果

問題 No.892 タピオカ
ユーザー Aoshi FujiokaAoshi Fujioka
提出日時 2019-09-27 21:24:36
言語 Ruby
(3.3.0)
結果
RE  
実行時間 -
コード長 143 bytes
コンパイル時間 391 ms
コンパイル使用メモリ 11,816 KB
実行使用メモリ 16,884 KB
最終ジャッジ日時 2023-10-25 01:34:03
合計ジャッジ時間 2,317 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
16,044 KB
testcase_01 AC 80 ms
16,044 KB
testcase_02 AC 81 ms
16,044 KB
testcase_03 AC 91 ms
16,628 KB
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

inputs = gets.chomp.split.map(&:to_i)
tapi = inputs[0]**inputs[1] + inputs[2]**inputs[3] + inputs[4]**inputs[5]
puts tapi.odd? ? ':-(' : ':-)'
0