結果
| 問題 | No.29 パワーアップ |
| コンテスト | |
| ユーザー |
miztom
|
| 提出日時 | 2024-03-12 16:53:17 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 5,000 ms |
| + 76µs | |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-07-15 22:48:51 |
| 合計ジャッジ時間 | 3,003 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
s=set()
c=0
for i in range(int(input())):
for j in input().split():
if j in s:s^={j};c+=1
else:s|={j}
print(c+len(s)//4)
miztom