#abc184a. A - Determinant
A - Determinant
Score : points
问题陈述
给定一个 矩阵 。 矩阵 的行列式可以计算为 。 求出它。
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
Given is a matrix .
The determinant of can be found as .
Find it.
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
3 4
Sample Output 1
-2
The determinant of is .
Sample Input 2
0 -1
1 0
Sample Output 2
1
Sample Input 3
100 100
100 100
Sample Output 3
0