結果
| 問題 |
No.29 パワーアップ
|
| コンテスト | |
| ユーザー |
twkmath
|
| 提出日時 | 2018-10-19 19:38:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 257 bytes |
| コンパイル時間 | 265 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2025-10-24 21:08:02 |
| 合計ジャッジ時間 | 1,632 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 RE * 15 |
ソースコード
i = set(); c = 0 for _ in range(int(input())): j = sorted([int(e) for e in input().split()]) if j[0]==j[1]: del j[0]; del j[1]; c+=1 elif j[1]==j[2]: del j[1]; del j[2]; c+=1 for e in j: if e in i: i.remove(e); c+=1 else: i.add(e) print(c+len(i)//4)
twkmath