結果

問題 No.11 カードマッチ
ユーザー hogeover30hogeover30
提出日時 2017-01-25 09:43:13
言語 Ruby
(3.3.0)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 43 ms
コンパイル使用メモリ 11,356 KB
実行使用メモリ 15,300 KB
最終ジャッジ日時 2023-08-27 06:47:43
合計ジャッジ時間 2,702 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,104 KB
testcase_01 AC 80 ms
15,096 KB
testcase_02 AC 84 ms
15,068 KB
testcase_03 AC 82 ms
15,112 KB
testcase_04 AC 83 ms
15,016 KB
testcase_05 AC 84 ms
15,068 KB
testcase_06 AC 82 ms
15,152 KB
testcase_07 AC 80 ms
15,300 KB
testcase_08 AC 81 ms
15,152 KB
testcase_09 AC 81 ms
15,124 KB
testcase_10 AC 82 ms
15,228 KB
testcase_11 AC 82 ms
15,056 KB
testcase_12 AC 82 ms
15,000 KB
testcase_13 AC 80 ms
15,012 KB
testcase_14 AC 83 ms
15,004 KB
testcase_15 AC 82 ms
15,192 KB
testcase_16 AC 81 ms
15,072 KB
testcase_17 AC 82 ms
15,056 KB
testcase_18 AC 80 ms
15,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

w,h,n=(1..3).map{gets.to_i}
s,k=$<.map(&:split).transpose.map{|e|e.uniq.size}
p k*w-n+s*h-=k
0