Akizumi's Layer
  • Home
  • Archives
  • Categories
  • Tags
  • About
July 17, 2023
228 words 2 mins

50115. Depth of Water

難度:1/5

1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <stdlib.h>

int main(){
int a, b, h, c, d;
scanf("%d %d %d %d %d", &a, &b, &h, &c, &d);
int v = a * b * h;
int new_h = v / (a * b - c * d);
printf("%d\n", new_h);
}


Coding > Solutions > Judge Girl > 2018
#geometry
50115. Depth of Water
https://aaronlin1229.github.io/judgegirl_50115/
Author
Akizumi
Posted on
July 17, 2023
Licensed under
50116. Play with digits Previous
50114. Simple Polygon Next

Table of Contents

Search

HexoFluid