結果

問題 No.412 花火大会
ユーザー convexineq
提出日時 2021-02-03 03:59:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 130 ms
コンパイル使用メモリ 82,140 KB
実行使用メモリ 60,160 KB
最終ジャッジ日時 2024-06-30 00:12:10
合計ジャッジ時間 1,714 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

b,c,d,n,*a = map(int,open(0).read().split())
b,c,d = sorted([b,c,d])
from itertools import combinations
a.sort()
print(sum((b <= a[i] and c <= a[j] and d <= a[k])<<i for i,j,k in combinations(range(n),3)))
0