結果
問題 | No.2510 Six Cube Sum Counting |
ユーザー | 👑 p-adic |
提出日時 | 2023-10-26 22:17:05 |
言語 | cLay (20240104-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 2,113 ms |
コンパイル使用メモリ | 175,756 KB |
実行使用メモリ | 323,040 KB |
最終ジャッジ日時 | 2023-10-26 22:17:46 |
合計ジャッジ時間 | 40,719 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 472 ms
323,040 KB |
testcase_01 | AC | 475 ms
323,040 KB |
testcase_02 | WA | - |
testcase_03 | AC | 469 ms
323,040 KB |
testcase_04 | AC | 499 ms
323,040 KB |
testcase_05 | AC | 472 ms
323,040 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 | 471 ms
323,040 KB |
testcase_16 | AC | 485 ms
323,040 KB |
testcase_17 | AC | 474 ms
323,040 KB |
testcase_18 | RE | - |
testcase_19 | RE | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | RE | - |
testcase_26 | RE | - |
testcase_27 | WA | - |
testcase_28 | RE | - |
testcase_29 | WA | - |
ソースコード
int@X,L=301,M=L+1,A=0,C[L],t[L**3*3]{},s;rep(p,L)C[p]=p**3;rep(a,L)rep(b,a,L)rep(c,b,L)(t[C[a]+C[b]+C[c]]*=M)+=c+1;rep(d,L)rep(e,d,L)rep(f,e,L){s=t[X-C[d]-C[e]-C[f]];while(s)d>=s%M-1?++A:A,s/=M;}wt(A);