전체 글
-
[C / Baekjoon _ 백준] 1297 : TV 크기[C] Baekjoon _ 백준/Bronze IV 2020. 11. 3. 21:27
백준 #1297 : TV 크기 문제 풀이 1 2 3 4 5 6 7 8 9 10 11 12 13 #define _CRT_SECURE_NO_WARNINGS #include #include 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 /..