from math import comb
n, r = map(int, input().split())
print(comb(n, r))
위와 같은 코드로 의도와 다르게 통과됩니다. Python 에서는 import 구문 자체를 막아야 할 것 같습니다.
댓글 1
-
InformaticsTeacher
2025.12.21 15:37
from math import comb
n, r = map(int, input().split())
print(comb(n, r))
위와 같은 코드로 의도와 다르게 통과됩니다. Python 에서는 import 구문 자체를 막아야 할 것 같습니다.
2025.12.21 15:37
방안을 마련해볼께요.