백준 #16600번 Contemporary Art

jhj·2024년 2월 12일

백준 JAVA

목록 보기
240/583
import java.util.Scanner;
import java.math.BigInteger;
public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		long a = sc.nextLong();
		double result = Math.sqrt(a);
		result = result * 4;
		
		System.out.println(result);
		sc.close();
	}
}
profile
개발자를 꿈꾸는

0개의 댓글