結果

問題 No.1551 誕生日の三角形
ユーザー Lepton_sLepton_s
提出日時 2018-01-23 19:02:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 37,120 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-22 19:26:18
合計ジャッジ時間 780 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <cmath>
using namespace std;

int main(){
	int L;
	scanf("%d", &L);
	double S = sqrt(3)/36*L*L;
	printf("%.12lf\n", S);
	return 0;
}
0