50115. Depth of Water
難度:1/51
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);
}
50115. Depth of Water
https://aaronlin1229.github.io/judgegirl_50115/