結果

問題 No.144 エラトステネスのざる
ユーザー %20%20
提出日時 2017-09-21 01:45:21
言語 cLay
(20240104-1)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 1,988 ms
コンパイル使用メモリ 160,212 KB
実行使用メモリ 20,300 KB
最終ジャッジ日時 2023-09-18 23:38:14
合計ジャッジ時間 4,128 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,768 KB
testcase_01 AC 2 ms
5,820 KB
testcase_02 AC 2 ms
5,808 KB
testcase_03 AC 2 ms
5,748 KB
testcase_04 AC 2 ms
5,772 KB
testcase_05 AC 2 ms
5,796 KB
testcase_06 AC 2 ms
5,748 KB
testcase_07 AC 2 ms
5,748 KB
testcase_08 AC 2 ms
5,804 KB
testcase_09 AC 2 ms
5,904 KB
testcase_10 AC 2 ms
6,112 KB
testcase_11 AC 2 ms
5,752 KB
testcase_12 AC 2 ms
5,924 KB
testcase_13 AC 96 ms
20,160 KB
testcase_14 AC 113 ms
20,068 KB
testcase_15 AC 125 ms
20,064 KB
testcase_16 AC 117 ms
20,096 KB
testcase_17 AC 117 ms
20,300 KB
testcase_18 AC 118 ms
20,096 KB
testcase_19 AC 90 ms
20,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

double p,x,n,a[2d6];{rd(n,p);rep(i,2,n+1){x+=(1-p)**a[i];++a[(2..n/i)*i];}wt(x);}
0