From 14271b73d8276186eb65945418fedfdb0883d1a3 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Sun, 22 May 2016 23:47:38 +0800 Subject: [PATCH] Create 1363.c --- QUSTOJ/1363.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 QUSTOJ/1363.c diff --git a/QUSTOJ/1363.c b/QUSTOJ/1363.c new file mode 100644 index 0000000..6c70fe9 --- /dev/null +++ b/QUSTOJ/1363.c @@ -0,0 +1,11 @@ +#include +#include +/*This program does not use #define to solve the problem*/ +int main() +{ + double a,b,c,p; + scanf("%lf %lf %lf",&a,&b,&c); + p=(a+b+c)/2; + printf("%.3lf\n",sqrt(p*(p-a)*(p-b)*(p-c))); + return 0; +}