結果
問題 |
No.29 パワーアップ
|
ユーザー |
![]() |
提出日時 | 2020-03-21 12:13:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 608 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-12-21 13:02:44 |
合計ジャッジ時間 | 2,075 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 += [i // 2 for i in item] total += sum([i % 2 for i in item]) // 4 print(total)