結果

問題 No.3072 Sum of sqrt(x)
ユーザー tailstails
提出日時 2020-09-12 16:25:22
言語 cLay
(20240420-1)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 7,041 ms
コンパイル使用メモリ 158,228 KB
実行使用メモリ 5,060 KB
最終ジャッジ日時 2023-09-19 01:13:02
合計ジャッジ時間 98,399 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 2 ms
4,384 KB
testcase_02 AC 2 ms
4,384 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 2 ms
4,384 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 AC 393 ms
4,452 KB
testcase_09 AC 690 ms
4,548 KB
testcase_10 AC 1,266 ms
4,464 KB
testcase_11 AC 1,231 ms
4,644 KB
testcase_12 AC 1,200 ms
4,508 KB
testcase_13 AC 1,203 ms
4,512 KB
testcase_14 AC 1,210 ms
4,460 KB
testcase_15 AC 1,193 ms
4,452 KB
testcase_16 AC 1,220 ms
4,504 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

long double s,e;
ll n,x;
ll pb=10;int pi=16;
{
	rd(n);
	rep(n){
		rd(x);
		s+=sqrtl(x);
		while(pb<s) pb*=10,pi--;
		printf("%.*Lf\n",pi,s);
	}
}
0