結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-17 14:18:38 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 109 ms / 5,000 ms |
| コード長 | 184 bytes |
| コンパイル時間 | 352 ms |
| コンパイル使用メモリ | 6,784 KB |
| 実行使用メモリ | 14,792 KB |
| 最終ジャッジ日時 | 2024-12-27 02:16:40 |
| 合計ジャッジ時間 | 2,737 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
#coding:utf-8 N=input() A=map(int,raw_input().split()) A=sorted(A) cnt=0 for i in range(N-1): if A[i-1]!=A[i] and A[i]!=A[i+1]: cnt+=1 if A.count(A[-1]) == 1: cnt+=1 print cnt
a_ten