結果
| 問題 | No.135 とりあえず1次元の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-09 10:41:54 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 76,828 KB |
| 最終ジャッジ日時 | 2025-12-03 19:15:26 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 22 |
ソースコード
#coding: utf-8 ##yuki_135 import sys x=int(raw_input()) s=[] s=map(int,raw_input().split()) s.sort() print s dif=10**6+1 for i in xrange(1,len(s)): if s[-1]==0: print 0 sys.exit() if s[i]==s[i-1]: continue d=s[i]-s[i-1] dif=min(d,dif) print dif