题解:P2005 A/B Problem II

· · 题解

题目传送门:https://www.luogu.com.cn/problem/P2005

这题可直接使用 python 水过,
但是应引入sys库的set_int_max_str_digits模块扩充位数,
否则会 RE #5~#11与#13 几个点。 RE 记录

AC 代码:

from sys import set_int_max_str_digits
set_int_max_str_digits(0)
print(int(input())//int(input()))