結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,856 KB
testcase_01 AC 30 ms
9,856 KB
testcase_02 TLE -
testcase_03 AC 29 ms
9,856 KB
testcase_04 AC 28 ms
9,856 KB
testcase_05 AC 28 ms
9,856 KB
testcase_06 AC 28 ms
9,856 KB
testcase_07 AC 29 ms
9,856 KB
testcase_08 AC 60 ms
10,112 KB
testcase_09 AC 94 ms
10,112 KB
testcase_10 AC 90 ms
10,112 KB
testcase_11 AC 93 ms
10,112 KB
testcase_12 TLE -
testcase_13 TLE -
testcase_14 AC 1,305 ms
32,304 KB
testcase_15 AC 270 ms
14,604 KB
testcase_16 AC 1,213 ms
23,520 KB
testcase_17 TLE -
testcase_18 TLE -
testcase_19 AC 711 ms
22,700 KB
testcase_20 TLE -
testcase_21 AC 721 ms
22,728 KB
testcase_22 TLE -
testcase_23 AC 695 ms
17,512 KB
testcase_24 TLE -
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 AC 1,343 ms
32,300 KB
testcase_29 TLE -
testcase_30 AC 1,341 ms
32,304 KB
testcase_31 AC 1,250 ms
23,520 KB
testcase_32 AC 1,380 ms
49,528 KB
testcase_33 AC 1,388 ms
49,524 KB
testcase_34 TLE -
testcase_35 AC 1,213 ms
18,580 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):
	for t in S[i-1]:
		for a in R(B):S[i].add(sum((t//P[j]+a*A[i][j])%B*P[j]for j in R(6)))
print(len(S[5]))
0