結果

問題 No.2510 Six Cube Sum Counting
ユーザー 👑 p-adicp-adic
提出日時 2023-10-27 07:56:56
言語 cLay
(20240104-1)
結果
RE  
実行時間 -
コード長 152 bytes
コンパイル時間 4,738 ms
コンパイル使用メモリ 173,204 KB
実行使用メモリ 83,348 KB
最終ジャッジ日時 2023-10-27 07:57:08
合計ジャッジ時間 10,102 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
83,348 KB
testcase_01 AC 114 ms
83,348 KB
testcase_02 AC 161 ms
83,348 KB
testcase_03 AC 111 ms
83,348 KB
testcase_04 AC 114 ms
83,348 KB
testcase_05 AC 110 ms
83,348 KB
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 AC 114 ms
83,348 KB
testcase_16 AC 115 ms
83,348 KB
testcase_17 AC 111 ms
83,348 KB
testcase_18 RE -
testcase_19 RE -
testcase_20 AC 136 ms
83,348 KB
testcase_21 AC 159 ms
83,348 KB
testcase_22 AC 174 ms
83,348 KB
testcase_23 AC 141 ms
83,348 KB
testcase_24 AC 157 ms
83,348 KB
testcase_25 RE -
testcase_26 RE -
testcase_27 AC 161 ms
83,348 KB
testcase_28 RE -
testcase_29 AC 162 ms
83,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@X,L=301,M=L+1,A=0,Y;char t[L**3*3]{};rep(d,L){rep(a,d+1)rep(b,a,d+1)t[a**3+b**3+d**3]++;rep(e,d,L)rep(f,e,L)(Y=X-d**3-e**3-f**3)>=0?A+=t[Y]:A;}wt(A);
0