답안 #281718

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
281718 2020-08-23T10:36:34 Z Huntersoulz Examination (JOI19_examination) Python 3
0 / 100
488 ms 22492 KB
n, q = list(map(int, input().split()))
arr = []
for _ in range(n):
  score = list(map(int, input().split()))
  arr.append(score)
for i in range(q):
  x, y, z = list(map(int, input().split()))
  for k in range(n):
    if arr[k][0] >= x and arr[k][1] >= y and arr[k][0] + arr[k][1] >= z:
      count += 1
  print(count)
  
  
  
# 결과 실행 시간 메모리 Grader output
1 Runtime error 21 ms 3308 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 488 ms 22492 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 488 ms 22492 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 21 ms 3308 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -