結果
問題 |
No.989 N×Mマス計算(K以上)
|
ユーザー |
![]() |
提出日時 | 2020-02-16 10:54:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,012 KB |
最終ジャッジ日時 | 2024-10-06 14:23:03 |
合計ジャッジ時間 | 4,038 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 TLE * 1 -- * 9 |
ソースコード
N,M,K=map(int,input().split()) op,*B=input().split() cnt=0 for i in range(N): A=int(input()) if op=="+": limit_B = K-A else: limit_B = K/A l=filter(lambda x:int(x)>=limit_B,B) cnt+=len(list(l)) print(cnt)