문제 링크입니다: www.acmicpc.net/problem/20353
20353번: Atrium
The atrium of a traditional Roman dormus, much like the atria of today, is a perfectly square room designed for residents and guests to congregate in and to enjoy the sunlight streaming in from above. Or, in the case of Britannia, the rain streaming in fro
www.acmicpc.net
간단한 수한 문제였습니다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main(void) | |
{ | |
ios_base::sync_with_stdio(0); | |
cin.tie(0); | |
double a; | |
cin >> a; | |
double result = 4 * sqrt(a); | |
printf("%.7lf\n", result); | |
return 0; | |
} |


개발환경:Visual Studio 2017
지적, 조언, 질문 환영입니다! 댓글 남겨주세요~
반응형
'알고리즘 > BOJ' 카테고리의 다른 글
백준 20673번 Covid-19 (0) | 2021.03.30 |
---|---|
백준 20499번 Darius님 한타 안 함? (0) | 2021.03.30 |
백준 20352번 Circus (0) | 2021.03.29 |
백준 20233번 Bicycle (0) | 2021.03.29 |
백준 20232번 Archivist (0) | 2021.03.29 |