본문 바로가기
python-algorithm

[백준] 9501

by 무적김두칠 2020. 12. 24.

1
2
3
4
5
6
7
8
import sys
for _ in range(int(sys.stdin.readline())):
    n,d= map(int, sys.stdin.readline().split())
    cnt=0
    for i in range(n):
        a,b,c,=map(int,sys.stdin.readline().split())
        if a*(b/c)>=d: cnt+=1
    print(cnt)
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 9610  (0) 2020.12.25
[백준] 9550  (0) 2020.12.25
[백준] 9493  (0) 2020.12.24
[백준] 9469  (0) 2020.12.24
[백준] 9366  (0) 2020.12.24

댓글