#D. 考级202209-4:数字求和

    Type: Default 1000ms 256MiB

考级202209-4:数字求和

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.

题目描述

给定一个正整数a,以及另外的5个正整数,问题是:这5个整数中,小于a的整数的和是多少?

输入格式

输入一行,只包括6个小于100的正整数,其中第一个正整数就是a。

输出格式

输出一行,给出一个正整数,是5个数中小于a的数的和。

输入样例数据 1

10 1 2 3 4 11

输出样例数据 1

10

数据范围与提示

一级第10轮

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2023-8-1 9:30
End at
2023-8-20 3:30
Duration
450 hour(s)
Host
Partic.
14