JEE Mock Test Score Maximization
JEE Mock Test Score Maximization
MediumArrays100% accepted
Meera is preparing for JEE Advanced from Pune. She calculates her score as 4×Math + 3×Chemistry + 3×Physics. She wants to know her maximum possible score if she could exclude her weakest subject from evaluation.
Approach
Given 3 subject scores [Physics, Chemistry, Math], find the maximum total by excluding one subject using formula: 4×M + 3×C + 3×P without one subject.
Input
3
60 70 80
Output
150
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards