結果

問題 No.1285 ゴミ捨て
ユーザー rekkrekk
提出日時 2020-12-02 11:42:25
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 168 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 22,304 KB
最終ジャッジ日時 2024-09-13 06:29:31
合計ジャッジ時間 4,974 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 TLE * 1 -- * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
array = [int(input()) for i in range(int(n))]
answer = 0
for i in array:
    if any([i + 1 < j for j in array]) is False:
        answer += 1
print(answer)
0