結果

問題 No.2070 Icosahedron
ユーザー 中井康介
提出日時 2022-09-16 21:55:18
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 29,184 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-21 19:37:21
合計ジャッジ時間 809 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<math.h>

int main(void)
{
	int n;
	scanf("%d",&n);
	double a=sqrt(5);
	double ans=((15+5*a)/12)*n*n*n;
	printf("%lf\n",ans);
	return 0;
}
0