Ask AI
Open a hint-first prompt in a new AI chat. Grok may ask you to confirm before sending.
Open Claude DesktopThe organizer’s problem statement is available at the official source link.
sample trace
Photo Op: sample trace
Trace this official sample for Photo Op: use the task rules to map the shown input to the expected output.
Published input4 5
6 7
1 7 5
2 4 4
3 1 6
4 2 9
2 3
10 7
1 2 10
1 9 1
5 6
8 9
1 3 5
1 4 1
3 10 7
4 9 2
5 6 6modelAlgorithm ideaApply the task rule to this published instance, preserving the relationships defined by the statement.task resultExpected output9
9
9
10
12
12
16
16
12
12
12
12
14
14
- 1
Read the sample
Use the official example for Photo Op as the concrete instance. - 2
Follow the task relation
Apply the exact rule in the official statement to the displayed values. - 3
Check the result
Verify that the final value matches the published expected output.
Tools
1
2
3
4
5
6
7
8
9
10
11
12
Draft saved locally
|12 lines, 156 charsRun output
Run your code to see output.