結果
| 問題 |
No.29 パワーアップ
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2020-03-21 12:13:44 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 243 bytes |
| コンパイル時間 | 139 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2025-10-24 21:13:35 |
| 合計ジャッジ時間 | 1,854 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 22 |
ソースコード
n = int(input())
item = [0] * 14
for i in range(n):
a, b, c = [ int(v) for v in input().split() ]
item[a] += 1
item[b] += 1
item[c] += 1
total += sum([i // 2 for i in item])
total += sum([i % 2 for i in item]) // 4
print(total)
Konton7