結果
| 問題 | No.11 カードマッチ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-20 09:56:35 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 297 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 20,696 KB |
| 最終ジャッジ日時 | 2026-08-24 01:10:10 |
| 合計ジャッジ時間 | 6,047 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 19 |
ソースコード
W = int(input())
H = int(input())
N = int(input())
suit = {}
number = {}
for i in range(N):
line = input().split()
suit.add(int(line[0]))
number.add(int(line[1]))
result = W * H - (W - len(suit)) * (H - len(number)) - N
print(result)