Skip to content

Instantly share code, notes, and snippets.

View fumiyanll23's full-sized avatar
:octocat:
Study, study, study!!!!!

Fumiyan fumiyanll23

:octocat:
Study, study, study!!!!!
View GitHub Profile
import time
N = 50
M = N * N
# 結果を書き込むファイルのパスを指定する
PATH = './palindromic_expression.txt'
time_start = time.time()
print('searching...')
# 任意の1桁の数は回文数なので,n ≧ 11として探索する
for n in range(11, N):