当前位置:网站首页>2061: [example 1.2] trapezoidal area
2061: [example 1.2] trapezoidal area
2022-06-12 13:23:00 【Xiao Liu wants to be number one】
2061:【 example 1.2】 Trapezoid area
The time limit : 1000 ms Memory limit : 65536 KB
Submission number : 53034 Passing number : 20855
【 Title Description 】
In a trapezoid, the area of the shaded part is 150 square centimetre , Find trapezoidal area .

【 Input 】
( nothing )
【 Output 】
Output trapezoidal area ( Keep two decimal places ).
【 sample input 】
( nothing )【 sample output 】
( nothing )
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double a, b, h, s;
h = 150 * 2 / 15.0;
s = (15 + 25) * h / 2.0;
cout << setiosflags(ios::fixed)<<setprecision(2)<<s;
return 0;
}
边栏推荐
- 嵌入式系統硬件構成-基於ARM的嵌入式開發板介紹
- C language [23] classic interview questions [2]
- 中科物栖CEO张磊:“芯片+OS”范式在万物互联时代的机遇与挑战|量子位·视点分享回顾...
- JVM 运行时参数
- 位图、布隆过滤器和哈希切分
- [you code, I fix] whitesource was officially renamed mend
- 构建嵌入式系统软件开发环境-建立交叉编译环境
- 深度学习的多个 loss 是如何平衡的?
- Realization of Joseph Ring with one-way ring linked list
- Share PDF HD version, series
猜你喜欢

嵌入式系統硬件構成-基於ARM的嵌入式開發板介紹

leetcode 47. Permutations II full permutations II (medium)

Successfully rated Tencent t3-2, 10000 word parsing

torch_geometric message passing network

Embedded system hardware composition - embedded system hardware architecture

torch_geometric mini batch 的那些事

嵌入式系统概述2-嵌入式系统组成和应用

C#DBHelper_FactoryDB_GetConn

Experience and learning path of introductory deep learning and machine learning

Overview of embedded system 1- definition, characteristics and development history of embedded system
随机推荐
Innovation training (XII) project summary
Vant tab bar + pull-up loading + pull-down refresh demo van tabs + van pull refresh + van list demo
Innovation training (XI) summary of some bugs in the development process
Symbolic constant, const qualifier
创新实训(十一)开发过程中的一些bug汇总
【刷题篇】抽牌获胜的概率
torch_ geometric message passing network
创新实训(十二)项目总结
R language ggplot2 visualization: use the ggrep package to add a number label to the data point at the end of the line plot
【云原生 | Kubernetes篇】深入了解Deployment(八)
嵌入式系统概述2-嵌入式系统组成和应用
import torch_ Geometric first graph network example
智能垃圾桶语音芯片应用设计方案介绍,WT588F02B-8S
import torch_geometric 的Data 查看
Summary of question brushing in leetcode sliding window
Newoj week 10 question solution
【VIM】. Vimrc configuration, vundle and youcompleteme have been installed
入门深度学习与机器学习的经验和学习路径
关于#SQLite写注册功能时,数据表查询出错#的问题,如何解决?
Pre research of image scanning tool