結果

問題 No.143 豆
ユーザー object1234object1234
提出日時 2019-02-28 22:50:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 106 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 11,456 KB
実行使用メモリ 15,412 KB
最終ジャッジ日時 2023-09-05 16:21:41
合計ジャッジ時間 2,541 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,080 KB
testcase_01 AC 85 ms
15,152 KB
testcase_02 AC 82 ms
15,132 KB
testcase_03 AC 83 ms
15,252 KB
testcase_04 AC 83 ms
15,044 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 83 ms
15,048 KB
testcase_09 AC 84 ms
15,044 KB
testcase_10 AC 83 ms
15,208 KB
testcase_11 AC 83 ms
15,088 KB
testcase_12 AC 83 ms
15,284 KB
testcase_13 AC 83 ms
15,172 KB
testcase_14 AC 84 ms
15,128 KB
testcase_15 AC 84 ms
15,040 KB
testcase_16 AC 83 ms
15,132 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - f_n
Syntax OK

ソースコード

diff #

b1,b2,f_n = gets.chomp.split(" ").map(&:to_i)
puts b1 * b2 - gets.chomp.split(" ").map(&:to_i).inject(&:+)
0