【例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 × % + Quiz Score × % + Final Exam Score × %
Niu Niu wants to know what his final score for this course will be.
Input Format
A single line containing three non-negative integers , , , 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 points. and , , are multiples of .
Output Format
A single line containing an integer, representing Niu Niu's total score for the course, also out of points.
Sample
100 100 8090
20251018A班作业(3)
- Status
- Done
- Problem
- 4
- Open Since
- 2025-10-19 0:00
- Deadline
- 2025-10-26 23:59
- Extension
- 24 hour(s)