跳到正文

题解

题解:P2005 A/B Problem II

hyh0174约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2026年1月1日
篇幅
约 1 分钟
题目
P2005

版本

  1. v1当前

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

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

AC 代码:

Python
from sys import set_int_max_str_digits
set_int_max_str_digits(0)
print(int(input())//int(input()))
原文