-
[C / Baekjoon _ 백준] 1297 : TV 크기[C] Baekjoon _ 백준/Bronze IV 2020. 11. 3. 21:27
백준 #1297 : TV 크기
문제

- 백준 1297번 TV 크기 - 풀이
12345678910111213#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <math.h>int main(){double length, height, width;float x;scanf("%lf %lf %lf", &length, &height, &width);x = length / sqrt(pow(height, 2) + pow(width, 2));printf("%d ", (int)sqrt((length*length * height*height / (height*height + width*width))));printf("%d", (int)sqrt((length*length * width*width / (height*height + width*width))));}cs '[C] Baekjoon _ 백준 > Bronze IV' 카테고리의 다른 글
[C / Baekjoon _ 백준] 2525 : 오븐 시계 (0) 2020.12.05 [C / Baekjoon _ 백준] 2480 : 주사위 세개 (0) 2020.11.06 [C / Baekjoon _ 백준] 2420 : 사파리월드 (0) 2020.11.05 [C / Baekjoon _ 백준] 1330 : 두 수 비교하기 (0) 2020.11.04 [C / Baekjoon _ 백준] 1008 : A/B (0) 2020.11.02