728x90
풀이
물이 끓기 시작하는 온도(B)를 입력받아서, 기압(P)과 이를 통해 알 수 있는 해수면으로부터의 위치를 출력해주면 된다.
소스코드
출처
21612번: Boiling Water
At sea level, atmospheric pressure is 100 kPa and water begins to boil at 100◦C. As you go above sea level, atmospheric pressure decreases, and water boils at lower temperatures. As you go below sea level, atmospheric pressure increases, and water boils
www.acmicpc.net
728x90
'PS > Baekjoon Online Judge' 카테고리의 다른 글
[백준 2458] 키 순서 [Python] (0) | 2023.06.24 |
---|---|
[백준 18138] 리유나는 세일러복을 좋아해 [Python] (0) | 2023.06.24 |
[백준 1647] 도시 분할 계획 [Python] (0) | 2023.06.22 |
[백준 21631] Checkers [Python] (0) | 2023.06.22 |
[백준 25192] 인사성 밝은 곰곰이 [Java] (0) | 2023.06.20 |