from math import comb
n, r = map(int, input().split())
print(comb(n, r))
위와 같은 코드로 의도와 다르게 통과됩니다. Python 에서는 import 구문 자체를 막아야 할 것 같습니다.
수정한 이유 :
from math import comb
n, r = map(int, input().split())
print(comb(n, r))
위와 같은 코드로 의도와 다르게 통과됩니다. Python 에서는 import 구문 자체를 막아야 할 것 같습니다.
수정한 이유 :