2 人解决,7 人已尝试。
2 份提交通过,共有 13 份提交。
9.5 EMB 奖励。
单点时限: 5.0 sec
内存限制: 256 MB
Bill is working in a secret laboratory. He is developing missiles for national security projects. Bill is the head of the aerodynamics department.
One surprising fact of aerodynamics is called Whitcomb area rule. An object flying at high-subsonic speeds develops local supersonic airows and the resulting shock waves create the effect called wave drag.Wave drag does not depend on the exact form of the object, but rather on its cross-sectional profile.
Consider a coordinate system with
Bill’s department makes a lot of computer simulations to study missile’s aerodynamic properties before it is even built. To approximate missile’s cross-sectional profile one takes samples of
Your task is to find the area
The first line of the input file contains three integer numbers:
For each integer
9 0 5 0 0 5 -3 0 2 0 -1 2 3 0 2 0 1 2 2 2 0 2 -2 0 -2 -2 0 -2 2 0
16.00000 14.92000 10.08000 4.48000 1.12000 0.00000
2 人解决,7 人已尝试。
2 份提交通过,共有 13 份提交。
9.5 EMB 奖励。