結果

問題 No.989 N×Mマス計算(K以上)
ユーザー mayuutann
提出日時 2020-02-16 10:59:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 241 bytes
コンパイル時間 207 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 19,168 KB
最終ジャッジ日時 2024-10-06 14:23:15
合計ジャッジ時間 4,363 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8 TLE * 1 -- * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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
    cnt += len([b for b in B if int(b)>=limit_B])    
print(cnt)    
    
0