結果
| 問題 | No.29 パワーアップ | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2016-10-28 13:28:32 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 11 ms / 5,000 ms | 
| コード長 | 251 bytes | 
| コンパイル時間 | 59 ms | 
| コンパイル使用メモリ | 7,844 KB | 
| 実行使用メモリ | 7,716 KB | 
| 最終ジャッジ日時 | 2025-10-24 20:59:23 | 
| 合計ジャッジ時間 | 1,194 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 22 | 
ソースコード
#yuki_029 n=int(raw_input()) t=[] for i in xrange(n): s=map(int,raw_input().split()) t+=s u=[0 for i in xrange(11)] for i in xrange(1,11): u[i]= t.count(i) res1=0 res2=0 for i in xrange(1,11): res1+=u[i]/2 res2+=u[i]%2 res=res1+res2/4 print res
