Recent Posts
Notice
No Rules Rules
택시 기하학 (feat. 백준, 3053번) 본문
728x90
반응형
택시 기하학
https://www.acmicpc.net/problem/3053
반응형
// woohyeon.kim
// https://www.acmicpc.net/problem/3053
#include <iostream>
#define PI 3.14159265358979323846
using namespace std;
int main() {
ios::sync_with_stdio(false), cin.tie(NULL);
register int N;
cin >> N;
printf("%.6f\n%.6f", N * N * PI, N * N * 2.0);
return 0;
}
// *&)*@*
문제에 대한 단순 수학 문제입니다.
728x90
반응형
'생활 > 코테' 카테고리의 다른 글
하키 (feat. 백준, 1358번) (0) | 2022.08.04 |
---|---|
터렛 (feat. 백준, 1002번) (0) | 2022.08.04 |
참외밭 (feat. 백준, 2477번) (0) | 2022.08.03 |
직각삼각형 (feat. 백준, 4153번) (0) | 2022.08.03 |
네 번째 점 (feat. 백준, 3009번) (0) | 2022.08.03 |
Comments