結果
問題 |
No.1882 Areas of Triangle
|
ユーザー |
![]() |
提出日時 | 2022-03-23 16:20:56 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 117 ms / 2,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 372 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 91,236 KB |
最終ジャッジ日時 | 2024-10-11 19:17:43 |
合計ジャッジ時間 | 3,054 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 24 |
ソースコード
from bisect import bisect_left n, t = map(int, input().split()); t *= 2 a = sorted(map(int, input().split())) ans = 0 for i in a: k = -(-t // i) ans += n - bisect_left(a, k) print(ans)