結果
問題 |
No.182 新規性の虜
|
ユーザー |
|
提出日時 | 2016-02-07 14:11:14 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 496 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 14,976 KB |
最終ジャッジ日時 | 2024-09-21 21:30:09 |
合計ジャッジ時間 | 7,625 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 TLE * 1 -- * 21 |
ソースコード
#coding: utf-8 ##yuki_182 import sys n=int(raw_input()) s=[] s=raw_input().split() if len(s)!=n: print "error" sys.exit() cnt=0 for i in xrange(len(s)): if int(s[i])<=0: print "error" sys.exit() if s.count(s[i])==1: cnt+=1 print cnt