結果

問題 No.2784 繰り上がりなし十進和
ユーザー p-adicp-adic
提出日時 2024-01-04 23:27:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 235 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 89,624 KB
最終ジャッジ日時 2024-01-04 23:28:24
合計ジャッジ時間 44,028 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,984 KB
testcase_01 AC 30 ms
9,984 KB
testcase_02 TLE -
testcase_03 AC 29 ms
9,984 KB
testcase_04 AC 29 ms
9,984 KB
testcase_05 AC 29 ms
9,984 KB
testcase_06 AC 29 ms
9,984 KB
testcase_07 AC 29 ms
9,984 KB
testcase_08 AC 58 ms
10,240 KB
testcase_09 AC 86 ms
10,240 KB
testcase_10 AC 85 ms
10,240 KB
testcase_11 AC 86 ms
10,240 KB
testcase_12 TLE -
testcase_13 TLE -
testcase_14 AC 1,229 ms
32,300 KB
testcase_15 AC 251 ms
14,600 KB
testcase_16 AC 1,177 ms
23,516 KB
testcase_17 TLE -
testcase_18 TLE -
testcase_19 AC 637 ms
22,696 KB
testcase_20 TLE -
testcase_21 AC 673 ms
22,724 KB
testcase_22 TLE -
testcase_23 AC 648 ms
17,508 KB
testcase_24 TLE -
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 AC 1,237 ms
32,296 KB
testcase_29 TLE -
testcase_30 AC 1,255 ms
32,300 KB
testcase_31 AC 1,191 ms
23,516 KB
testcase_32 AC 1,283 ms
49,524 KB
testcase_33 AC 1,279 ms
49,520 KB
testcase_34 TLE -
testcase_35 AC 1,160 ms
18,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

R=range
B=10
P=[B**j for j in R(6)]
A=[]
for i in R(6):
	a=int(input())
	A+=[[a//P[j]%B for j in R(6)]]
S=[{0}for i in R(6)]
for i in R(6):S[i]={sum((t//P[j]+a*A[i][j])%B*P[j]for j in R(6))for a in R(B)for t in S[i-1]}
print(len(S[5]))
0