当前位置:网站首页>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;
}
边栏推荐
- [cloud native | kubernetes] learn more about ingress
- list和dict的应用
- R language ggplot2 visualization: use the ggrep package to add a number label to the data point at the end of the line plot
- There was an error installing mysql. Follow the link below to CMD
- Stm32f1 and stm32cubeide programming examples - device driver -eeprom-at24c256 driver
- imagemagick:a gentle introduction to magick++
- import torch_geometric 的Data 查看
- Stm32f1 and stm32subeide programming example - device driver -dht11 temperature sensor driver
- torch_ About the geometric Mini batch
- Installation of pagoda
猜你喜欢

IC chip scheme fs4062b for lithium battery charging with 5V boost to 12.6V

成功定级腾讯T3-2,万字解析

import torch_geometric 的Data 查看

下一个职场演讲PPT的明星,会不会是此刻的你【完美总结】

unittest框架

442 authors, 100 pages! It took Google 2 years to release the new benchmark big bench | open source

Improve pipeline efficiency: you need to know how to identify the main obstacles in ci/cd pipeline

Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading

Overview of embedded system 2- composition and application of embedded system

移动应用出海的“新大陆”
随机推荐
Introduction to application design scheme of intelligent garbage can voice chip, wt588f02b-8s
Known as the next generation monitoring system! See how awesome it is
Stm32f1 and stm32subeide programming example - device driver -dht11 temperature sensor driver
leetcode 47. Permutations II full permutations II (medium)
镜像扫描工具预研
[brush title] probability of winning a draw
嵌入式驱动程序设计
Resume NFT platform trustrecruit joined Octopus network as a candidate application chain
unittest框架
[you code, I fix] whitesource was officially renamed mend
442 authors, 100 pages! It took Google 2 years to release the new benchmark big bench | open source
深度学习的多个 loss 是如何平衡的?
Will the next star of PPT for workplace speech be you [perfect summary] at the moment
构建嵌入式系统软件开发环境-建立交叉编译环境
嵌入式系统概述3-嵌入式系统的开发流程和学习基础、方法
[wechat applet development] Part 1: development tool installation and program configuration
嵌入式系统硬件构成-基于ARM的嵌入式开发板介绍
verilog-mode的简要介绍
嵌入式系统概述2-嵌入式系统组成和应用
Pytorch to onnx, onnxruntime reasoning in mmclas