Type: Default 1000ms 256MiB

分跳绳

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【题目描述】

学校新买来 m 根跳绳,每个班分 n 根,最多可以分给几个班的同学,还剩多少根?(m≥n)。(4.1.9)

图片炸了

【输入格式】

两个整数,用空格隔开,分别代表总共采购的跳绳数量以及每个班级分到的跳绳数量。

【输出格式】

两个整数,用空格隔开,第一个整数代表可以分到的班级的数量,第二个整数代表剩余的跳绳数量。

【样例数据】

100 30
3 10

少科院七年级第1次课——整数运算

Not Claimed
Status
Done
Problem
10
Open Since
2025-11-22 0:00
Deadline
2025-12-6 23:59
Extension
24 hour(s)