Algorithm/Acmicpc.net (백준) [C언어] 백준 : 앵그리 창영 (3034번) - #include <stdio.h> #include <math.h> int main() { int n, w, h, match; double box; scanf("%d %d %d", &n, &w, &h); box = sqrt(w * w + h * h); for (int i = 0; i < n; i++) { scanf("%d", &match); if (match > box) { printf("NE\n"); } else { printf("DA\n"); } } return 0; } 공유하기 게시글 관리 tb4nch0r's Blog 저작자표시 변경금지 (새창열림) 'Algorithm > Acmicpc.net (백준)' 카테고리의 다른 글 [C언어] 백준 : 사탕 선생 고창영 (2547번) (0) 2024.02.19 [python] 백준 : 앵그리 창영 (3034번) (0) 2024.02.19 [python] 백준 : 사장님 도박은 재미로 하셔야 합니다 (23795번) (0) 2024.02.19 [C언어] 백준 : 사장님 도박은 재미로 하셔야 합니다 (23795번) (0) 2024.02.19 [python] 백준 : 입실관리 (5524번) (0) 2024.02.19 Contents 당신이 좋아할만한 콘텐츠 [C언어] 백준 : 사탕 선생 고창영 (2547번) 2024.02.19 [python] 백준 : 앵그리 창영 (3034번) 2024.02.19 [python] 백준 : 사장님 도박은 재미로 하셔야 합니다 (23795번) 2024.02.19 [C언어] 백준 : 사장님 도박은 재미로 하셔야 합니다 (23795번) 2024.02.19 댓글 0 + 이전 댓글 더보기