結果
問題 |
No.1734 Decreasing Elements
|
ユーザー |
|
提出日時 | 2024-01-23 10:40:44 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 138 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 308,052 KB |
最終ジャッジ日時 | 2024-09-28 06:39:40 |
合計ジャッジ時間 | 6,795 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 1 WA * 17 TLE * 1 -- * 5 |
ソースコード
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] for aj in a] print(n-z)