結果

問題 No.800 四平方定理
ユーザー kotatsugamekotatsugame
提出日時 2019-03-18 00:14:27
言語 cLay
(20231016-1)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 94 bytes
コンパイル時間 1,887 ms
コンパイル使用メモリ 159,756 KB
実行使用メモリ 46,328 KB
最終ジャッジ日時 2023-09-19 00:22:24
合計ジャッジ時間 5,027 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,708 KB
testcase_01 AC 3 ms
5,984 KB
testcase_02 AC 2 ms
5,812 KB
testcase_03 AC 2 ms
5,860 KB
testcase_04 AC 2 ms
5,840 KB
testcase_05 AC 3 ms
5,888 KB
testcase_06 AC 3 ms
6,124 KB
testcase_07 AC 3 ms
6,456 KB
testcase_08 AC 3 ms
8,080 KB
testcase_09 AC 2 ms
6,012 KB
testcase_10 AC 24 ms
25,856 KB
testcase_11 AC 25 ms
25,848 KB
testcase_12 AC 27 ms
27,976 KB
testcase_13 AC 23 ms
21,968 KB
testcase_14 AC 25 ms
23,812 KB
testcase_15 AC 26 ms
27,988 KB
testcase_16 AC 25 ms
23,784 KB
testcase_17 AC 25 ms
23,876 KB
testcase_18 AC 31 ms
31,984 KB
testcase_19 AC 29 ms
32,108 KB
testcase_20 AC 2 ms
5,560 KB
testcase_21 AC 2 ms
5,448 KB
testcase_22 AC 32 ms
32,008 KB
testcase_23 AC 63 ms
46,328 KB
testcase_24 AC 54 ms
38,252 KB
testcase_25 AC 67 ms
46,324 KB
testcase_26 AC 2 ms
5,376 KB
testcase_27 AC 2 ms
7,548 KB
testcase_28 AC 53 ms
38,352 KB
testcase_29 AC 57 ms
42,308 KB
testcase_30 AC 49 ms
38,156 KB
testcase_31 AC 45 ms
36,300 KB
testcase_32 AC 52 ms
38,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,d,s,c[9d6];{rd(n,d);c[max(0,(1..n)**2-(1...n)**2+d)]++;s+=c[(1..n)**2+(1...n)**2];wt(s);}
0