結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー %20%20
提出日時 2018-01-12 17:04:29
言語 cLay
(20240104-1)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 117 bytes
コンパイル時間 2,316 ms
コンパイル使用メモリ 172,492 KB
実行使用メモリ 85,980 KB
最終ジャッジ日時 2023-11-23 09:39:30
合計ジャッジ時間 40,679 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 AC 995 ms
85,980 KB
testcase_02 TLE -
testcase_03 TLE -
testcase_04 AC 991 ms
85,980 KB
testcase_05 AC 993 ms
85,980 KB
testcase_06 AC 999 ms
85,980 KB
testcase_07 AC 995 ms
85,980 KB
testcase_08 AC 980 ms
85,980 KB
testcase_09 AC 971 ms
85,980 KB
testcase_10 TLE -
testcase_11 AC 996 ms
85,980 KB
testcase_12 TLE -
testcase_13 TLE -
testcase_14 AC 991 ms
85,980 KB
testcase_15 AC 994 ms
85,980 KB
testcase_16 AC 995 ms
85,980 KB
testcase_17 TLE -
testcase_18 TLE -
testcase_19 AC 993 ms
85,980 KB
testcase_20 AC 988 ms
85,980 KB
testcase_21 AC 996 ms
85,980 KB
testcase_22 TLE -
testcase_23 AC 997 ms
85,980 KB
testcase_24 AC 984 ms
85,980 KB
testcase_25 AC 988 ms
85,980 KB
testcase_26 AC 986 ms
85,980 KB
testcase_27 AC 984 ms
85,980 KB
testcase_28 AC 978 ms
85,980 KB
testcase_29 AC 975 ms
85,980 KB
testcase_30 AC 988 ms
85,980 KB
testcase_31 AC 986 ms
85,980 KB
testcase_32 AC 992 ms
85,980 KB
testcase_33 AC 995 ms
85,980 KB
testcase_34 TLE -
testcase_35 AC 991 ms
85,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll N,L,x,p[2d7],j;
{
	rd(N,L);
	rep(i,2,3d3)for(j=i;j<1d7;)p[j+=i]=1;
	rep(i,2,L/~-N+1)x-=p[i]?0:~L+i*~-N;
	wt(x);
}
0