时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
Now, given the

coordinates of four points

and

, your task is to calculate the degree of
dihedral angle
.
Here we provide a formula of dihedral angle which might be useful, and we assume

to be the normal vector of plane

, which is a vector perpendicular to the plane

.
输入描述:
The first line contains three integers

,
the
coordinates for point
.
The second line contains three integers
, the
coordinates for point
.
The third line contains three integers
, the
coordinates for point
.
The fourth line contains three integers
, the
coordinates for point
.
It is also guarenteed that all the coordinates are in range [
], and none of the points have same
coordinates.
输出描述:
Please output the degree of dihedral angle
after rounding.
备注:
About rounding:
- If the first digit after the decimal point is less than 5, round the number you're considering down.
- If the first digit after the decimal point is more or equal to 5, round the number you're considering up.