#P8839. [传智杯 #4 初赛] 组原成绩
[传智杯 #4 初赛] 组原成绩
Problem Description
The Computer Organization course at Hualishu University of Science and Technology (HUST) is about to release grades. You now need to calculate how your Computer Organization score is made up.
Specifically, the Computer Organization score consists of three parts: attendance , homework , and exam . The total score is calculated by the following formula:
We guarantee that .
Now you are given your , and you want to compute your total score.
Due to the special rules of the academic system, the final score must be an integer, and it is obtained by directly removing the fractional part.
Input Format
One line with three integers, representing .
Output Format
One line with one integer, which is .
50 100 100
90
Hint
Translated by ChatGPT 5