#abc300a. A - N-choice question
A - N-choice question
Score : points
问题描述
给定整数 和 ,求 的值。 这是一个 选项问题,第 个选项为 。 请输出 索引 对应的正确选项。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Given integers and , find .
This is a -choice problem; the -th choice is .
Print the index of the correct choice.
Constraints
- All values in the input are integers.
- are pairwise distinct. In other words, no two choices have the same value.
- There is exactly one such that . In other words, there is always a unique correct choice.
Input
The input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
3 125 175
200 300 400
Sample Output 1
2
We have .
The first, second, and third choices are , , and , respectively.
Thus, the -nd choice is correct, so should be printed.
Sample Input 2
1 1 1
2
Sample Output 2
1
The problem may be a one-choice problem.
Sample Input 3
5 123 456
135 246 357 468 579
Sample Output 3
5
update @ 2024/3/10 08:22:47