Problem 2740 --Math Functions - Triangle

2740: Math Functions - Triangle

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $13$ 正确数量 $10$
裁判形式 特别裁判/Special Judge 我的状态 尚未尝试
难度 分类标签 STL

Triangle 

For given two sides of a triangle a and b and the angle C between them, calculate the following properties: 

S: Area of the triangle 

L: The length of the circumference of the triangle 

h: The height of the triangle with side a as a bottom edge

The length of a, the length of b and the angle C are given in integers.
Print S, L and h in a line respectively. The output should not contain an absolute error greater than 10^-4.
4 3 90
6.00000000
12.00000000
3.00000000

推荐代码 查看2740 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$0 $ms] 请问一下安科怎么走 449800 2019-07-29 14:42:00
内存最少[$2076 $KB] amespaces 338352 2018-12-05 16:48:54
第一AC 却又像风捉摸不住 332296 2018-11-27 12:49:16
第一挑战 却又像风捉摸不住 332296 2018-11-27 12:49:16

赛题来源/所属竞赛 会津大学《C++ Programming I》 C++程序设计(入门)

竞赛编号 竞赛名称 竞赛时间 访问比赛