B. 【例8.2】成绩

    Type: Default 1000ms 64MiB

【例8.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.

Description

Niu Niu recently took an introductory C++ course. The total score for this course is calculated as follows:
Total Score = Homework Score × 2020% + Quiz Score × 3030% + Final Exam Score × 5050%
Niu Niu wants to know what his final score for this course will be.

Input Format

A single line containing three non-negative integers AA, BB, CC, representing Niu Niu's homework score, quiz score, and final exam score. The scores are separated by a space, and each score is out of 100100 points. 0A,B,C1000 \le A, B, C \le 100 and AA, BB, CC are multiples of 1010.

Output Format

A single line containing an integer, representing Niu Niu's total score for the course, also out of 100100 points.

Sample

100 100 80
90

20251018A班作业(3)

Not Claimed
Status
Done
Problem
4
Open Since
2025-10-19 0:00
Deadline
2025-10-26 23:59
Extension
24 hour(s)