結果
| 問題 | No.29 パワーアップ |
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2022-03-07 03:39:41 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 5,000 ms |
| + 995µs | |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,992 KB |
| 最終ジャッジ日時 | 2026-07-15 22:41:22 |
| 合計ジャッジ時間 | 3,770 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
import collections as c n,*s=map(int,open(0).read().split()) d=c.Counter(s) cnt=0 ans=0 for i in d.values(): ans+=i//2 cnt+=i%2 print(ans+cnt//4)
harurun