Type: RemoteJudge 1000ms 64MiB

【例6.2】捡石头

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.

说明

幼儿园小朋友昨天捡到3块小石头,想再去捡一块小石头,让这44块石头正好一共重2020斤,请问他应该去捡一块多少斤的石头?

输入格式

三个整数 aa bb cc,是这三块石头的重量(斤)。(0<a,b,c,a+b+c200 < a,b,c,a+b+c≤20)

输出格式

一个整数,是第四块石头的重量(斤)。

样例

3 5 7
5

初一3基础班第四周作业

Not Claimed
Status
Done
Problem
10
Open Since
2023-9-18 15:30
Deadline
2023-10-7 16:00
Extension
0 hour(s)