結果
| 問題 | No.135 とりあえず1次元の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-09 10:43:13 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 467 ms |
| コンパイル使用メモリ | 81,240 KB |
| 実行使用メモリ | 91,740 KB |
| 最終ジャッジ日時 | 2026-10-11 09:09:51 |
| 合計ジャッジ時間 | 3,405 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 WA * 1 |
ソースコード
#coding: utf-8 ##yuki_135 import sys x=int(raw_input()) s=[] s=map(int,raw_input().split()) s.sort() 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