結果
| 問題 | No.1734 Decreasing Elements |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-23 10:55:11 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 158 bytes |
| コンパイル時間 | 249 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 39,896 KB |
| 最終ジャッジ日時 | 2024-09-28 06:40:29 |
| 合計ジャッジ時間 | 13,768 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 TLE * 1 -- * 7 |
ソースコード
n=int(input()) a=list(map(int,input().split())) z=0 for i in range(n) : if a[i] == 0 : z+=1 else: a=[aj-a[i] if aj>=a[i] else aj for aj in a] print(n-z)