Key idea: Reverse-engineering the set of distinct averages from aggregate constraints, then linking student-level and test-level totals.
Step 1: Determine the set of student averages.
Let averages be aP,aQ,aR,aS,aT.
Sum = 350. Distinct integers.
Conditions:
- aP=aQ+10
- aR=Median
- aS=2aT
Substitute: (aQ+10)+aQ+aR+2aT+aT=350
2aQ+3aT+aR=340.
Since aR is the median of 5 distinct integers, and sum is 350 (avg 70), aR is likely near 70.
Also aS=2aT≤100⟹aT≤50.
Since distinct and positive, aT≥1.
Let's iterate on aT:
If aT=30⟹aS=60.
Eq: 2aQ+90+aR=340⟹2aQ+aR=250.
We need distinct set {aQ,aQ+10,aR,60,30}.
Sorted order matters for median.
Knowns: 30, 60.
Unknowns: aQ,aQ+10,aR.
From 2aQ+aR=250⟹aR=250−2aQ.
Since aR is median, it must be the 3rd value.
Possible configurations of sorted set:
Case A: 30<60<aR<... (Impossible, aR must be median, so 2 below, 2 above).
Since 30 is likely min, and 60 is next?
If aR is median, we need exactly 2 values <aR and 2 values >aR.
Try values for aQ:
If aQ=70⟹aP=80.
aR=250−140=110. (Too high, max 100).
If aQ=80⟹aP=90.
aR=250−160=90. Collision with aP. Invalid.
If aQ=75⟹aP=85.
aR=250−150=100.
Set: {30,60,75,85,100}.
Sorted: 30, 60, 75, 85, 100.
Median is 75. Matches aR=75? No, here aR=100.
So aR is NOT the median in this set. Invalid.
Backtrack. We need aR to BE the median.
So in sorted set, aR is at index 3.
Values: {x1,x2,aR,x4,x5}.
We have {30,60,aQ,aQ+10,aR}.
If aT=30,aS=60.
Remaining {aQ,aQ+10,aR}.
For aR to be median, we need two values smaller and two larger.
Smaller candidates: 30, 60.
Larger candidates: aQ,aQ+10.
This implies 30<60<aR<aQ<aQ+10.
So aR>60 and aQ>aR.
Substitute aR=250−2aQ.
250−2aQ>60⟹190>2aQ⟹aQ<95.
aQ>250−2aQ⟹3aQ>250⟹aQ>83.3.
Possible integers for aQ: {84,...,94}.
Also need distinctness.
Set: {30,60,250−2aQ,aQ,aQ+10}.
Check collisions.
If aQ=84⟹aR=82. Set: {30,60,82,84,94}. Median=82. Matches aR. VALID.
If aQ=85⟹aR=80. Set: {30,60,80,85,95}. Median=80. Matches aR. VALID.
...
If aQ=90⟹aR=70. Set: {30,60,70,90,100}. Median=70. Matches aR. VALID.
Are there other aT values?
If aT=20⟹aS=40.
2aQ+60+aR=340⟹2aQ+aR=280.
aR=280−2aQ.
Need 40<aR<aQ (assuming 20, 40 are smallest).
280−2aQ>40⟹240>2aQ⟹aQ<120.
aQ>280−2aQ⟹3aQ>280⟹aQ>93.3.
Try aQ=94⟹aR=92. Set: {20,40,92,94,104}. 104 > 100. Invalid.
So no solution for aT=20.
If aT=40⟹aS=80.
2aQ+120+aR=340⟹2aQ+aR=220.
aR=220−2aQ.
Assume 40, 80 are smallest? Or mixed.
If 40<80<aR<aQ<aQ+10:
220−2aQ>80⟹140>2aQ⟹aQ<70.
aQ>220−2aQ⟹3aQ>220⟹aQ>73.3.
Contradiction (aQ<70 and >73).
So 40, 80 cannot both be below median.
Maybe 40<aR<80<...?
Then aR is median. Elements below: 40, ?. Elements above: 80, ?.
We have {aQ,aQ+10}. One must be below, one above?
Or both above?
If both above: 40<aR<80<aQ<aQ+10.
Requires aR<80⟹220−2aQ<80⟹140<2aQ⟹aQ>70.
And aQ>80.
And we need one more value below aR.
Available: None. (Only 40 is guaranteed below).
So this config fails.
Conclusion: Only valid sets come from aT=30.
Valid sets parameterized by aQ∈[84,90].
Sets:
- {30, 60, 82, 84, 94} (Sum=350)
- {30, 60, 80, 85, 95}
- {30, 60, 78, 86, 96}
- {30, 60, 76, 87, 97}
- {30, 60, 74, 88, 98}
- {30, 60, 72, 89, 99}
- {30, 60, 70, 90, 100}
Step 2: Maximize Test 3 Average.
Total Sum of all scores = 350×3=1050.
Sum(T1) = 70×5=350.
Sum(T2) = 75×5=375.
Sum(T3) = 1050−350−375=325.
Avg(T3) = 325/5=65.
WAIT. The average of T3 is FIXED by the total sum.
Total sum is fixed by student averages sum (350).
Student averages sum is fixed by problem statement.
So Avg(T3) is CONSTANT regardless of the specific set of student averages.
Why did the question ask for "maximum possible"?
Perhaps the sum of student averages is NOT fixed?
"Sum of the five student averages is 350." -> Fixed.
"Average score of Test 1... is 70." -> Fixed.
"Average score of Test 2... is 75." -> Fixed.
Mathematically, Avg(T3) = 65. Uniquely.
The "maximum possible" phrasing suggests I might have missed a degree of freedom.
OR, the question is a trick to test confidence in invariants.
OR, one of the conditions allows variation.
"Five student averages are distinct integers."
"Sum... is 350."
Is it possible the student averages are NOT the arithmetic means of their test scores?
"Average scores across the three tests". Standard definition.
Okay, I will adjust the question to make T3 variable.
Change "Sum of five student averages is 350" to "The SUM OF SCORES in Test 3 is maximized subject to..."?
No, simpler: Remove the fixed sum of student averages.
Replace with: "The overall average score across all tests and students is 72."
Total Sum = 72×15=1080.
Sum(T1)=350, Sum(T2)=375.
Sum(T3) = 1080−725=355.
Avg(T3) = 71. Still fixed.
To make T3 variable, the TOTAL SUM must be variable.
This happens if student averages are not fixed sum.
Let's change Condition 2 to: "The MEDIAN of the five student averages is 70."
And remove the fixed sum.
Now we need to MAXIMIZE Sum(Student Avgs) to maximize T3.
Max Sum of 5 distinct integers with Median=70, aS=2aT, aP=aQ+10.
From previous analysis, valid sets existed for aT=30 with aQ∈[84,90].
Max sum occurs at max aQ.
Max aQ=90⟹ Set {30, 60, 70, 90, 100}. Sum = 350.
Are there sets with higher sums?
Try aT=35⟹aS=70.
Median must be 70. So aR=70.
But aS=70. Collision. Invalid.
Try aT=40⟹aS=80.
Median=70.
Set includes {40, 80, 70}.
Remaining aQ,aQ+10.
Sorted: 40<70<80.
We need 2 below, 2 above 70.
Below: 40. Need one more.
Above: 80. Need one more.
So one of {aQ,aQ+10} is <70, one is >80.
aQ<70 and aQ+10>80⟹aQ>70.
Contradiction.
Try aT=25⟹aS=50.
Median=70.
Set {25, 50, 70}.
Need one <70, one >70 from {aQ,aQ+10}.
aQ<70 and aQ+10>70⟹aQ>60.
So aQ∈[61,69].
Max sum at aQ=69⟹aP=79.
Set: {25, 50, 69, 70, 79}. Sum = 293. (Lower than 350).
Try aT=45⟹aS=90.
Median=70.
Set {45, 90, 70}.
Need one <70, one >90?? No, just >70.
Sorted: 45<70<90.
Need one <70 and one >70.
aQ<70 and aQ+10>70⟹aQ∈[61,69].
Max sum at aQ=69⟹aP=79.
Set: {45, 70, 69, 79, 90}. Sorted: {45, 69, 70, 79, 90}. Sum = 353.
HIGHER THAN 350.
Try aT=48⟹aS=96.
aQ∈[61,69]. Max aQ=69⟹aP=79.
Set: {48, 96, 70, 69, 79}. Sum = 362.
Try aT=49⟹aS=98.
Max aQ=69⟹aP=79.
Set: {49, 98, 70, 69, 79}. Sum = 365.
Try aT=50⟹aS=100.
Max aQ=69⟹aP=79.
Set: {50, 100, 70, 69, 79}. Sum = 368.
Can we go higher?
Max possible distinct integers ≤100 with median 70.
Top 2: 100, 99.
Bottom 2: 69, 68? No, constrained by relations.
With aT=50, we got {50, 69, 70, 79, 100}. Sum=368.
Can we increase aQ?
Constraint was aQ<70. Max integer 69.
Can we increase aT? Max 50 (since 2aT≤100).
So Max Sum of Student Averages = 368.
Total Score Sum = 368×3=1104.
Sum(T3) = 1104−350−375=379.
Avg(T3) = 379/5=75.8.
I will use this modified version (Median=70 instead of Sum=350) for the final YAML.
Answer: 75.8.