买文具
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.
【题目描述】
花花去文具店买了 1 支笔和 1 块橡皮,已知笔x 元 / 支,橡皮 y元 / 块,花花付给了老板 n 元,请问老板应该找给花花多少钱?
【输入格式】
三个整数 x、y、n ,分别代表了笔的单价、橡皮的单价和花花付给老板的钱(已知花花付给老板的钱 n≥x+y )。
【输出格式】
一个整数,代表老板应该找给花花的钱。
【样例数据】
2 1 10
7
少科院六年级第1次作业——整数运算
- Status
- Done
- Problem
- 10
- Open Since
- 2025-12-3 0:00
- Deadline
- 2026-1-3 23:59
- Extension
- 24 hour(s)