結果

問題 No.2510 Six Cube Sum Counting
ユーザー 👑 p-adicp-adic
提出日時 2023-10-27 07:27:39
言語 cLay
(20240104-1)
結果
TLE  
実行時間 -
コード長 161 bytes
コンパイル時間 3,109 ms
コンパイル使用メモリ 181,592 KB
実行使用メモリ 174,608 KB
最終ジャッジ日時 2023-10-27 07:29:46
合計ジャッジ時間 125,530 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3,832 ms
174,600 KB
testcase_01 AC 3,885 ms
174,600 KB
testcase_02 AC 3,716 ms
174,600 KB
testcase_03 AC 3,785 ms
174,600 KB
testcase_04 AC 3,761 ms
174,600 KB
testcase_05 AC 3,900 ms
174,608 KB
testcase_06 AC 3,840 ms
174,600 KB
testcase_07 AC 3,838 ms
174,600 KB
testcase_08 AC 3,801 ms
174,600 KB
testcase_09 AC 3,876 ms
174,600 KB
testcase_10 AC 3,815 ms
174,600 KB
testcase_11 AC 3,919 ms
174,600 KB
testcase_12 AC 3,893 ms
174,600 KB
testcase_13 AC 3,977 ms
174,600 KB
testcase_14 AC 3,866 ms
174,600 KB
testcase_15 TLE -
testcase_16 AC 3,962 ms
174,600 KB
testcase_17 AC 3,950 ms
174,600 KB
testcase_18 AC 3,887 ms
174,600 KB
testcase_19 AC 3,949 ms
174,600 KB
testcase_20 AC 3,972 ms
174,600 KB
testcase_21 AC 3,892 ms
174,600 KB
testcase_22 AC 3,860 ms
174,600 KB
testcase_23 AC 3,973 ms
174,608 KB
testcase_24 AC 3,919 ms
174,600 KB
testcase_25 AC 3,981 ms
174,600 KB
testcase_26 AC 3,931 ms
174,600 KB
testcase_27 AC 3,949 ms
174,600 KB
testcase_28 AC 3,962 ms
174,608 KB
testcase_29 AC 3,917 ms
174,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@X,L=301,M=L+1,A=0,Y;unordered_map<ll,ll>t;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)t.count(Y=X-d**3-e**3-f**3)?A+=t[Y]:A;}wt(A);
0