#abc255a. A - You should output ARC, though this is ABC.
A - You should output ARC, though this is ABC.
Score : points
问题描述
给定整数 、 以及一个 矩阵 ,输出矩阵 中的元素 。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Given integers , , and a matrix , print .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
1 2
1 0
0 1
Sample Output 1
0
We have .
Sample Input 2
2 2
1 2
3 4
Sample Output 2
4
We have .
Sample Input 3
2 1
90 80
70 60
Sample Output 3
70
We have .
update @ 2024/3/10 10:50:58