current position:Home>Please have a look. I don't quite understand

Please have a look. I don't quite understand

2022-01-27 03:04:07 CSDN Q & A

Task description
The title requires reading a third-order determinant , Output the value of this determinant .

Input format :
There are three lines of input data , Three numbers per line ( Are integers. , The absolute value is not greater than 100), Represents a third-order determinant .

Output format :
Output the value of the determinant .

sample input :
1 2 3
6 5 4
8 7 9

sample output :
-21




Refer to the answer 1:

What are the calculation rules for the value of determinant




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270304027693.html

Random recommended