米老鼠偷糖果
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.
【题目描述】
米老鼠发现了厨房放了n颗糖果,它一次可以背走a颗,请问米老鼠背了x次之后还剩多少颗?(假设x次之后一定有糖果剩下)
【输入格式】
三个整数n、a、x分别代表总共有n颗糖果,米老鼠一次背走a颗糖果,总共背了x次。
【输出格式】
一个整数,代表剩余的糖果数量。
【样例数据】
12 2 3
6
少科院七年级第1次课——整数运算
- Status
- Done
- Problem
- 10
- Open Since
- 2025-11-22 0:00
- Deadline
- 2025-12-6 23:59
- Extension
- 24 hour(s)