結果

問題 No.1644 Eight Digits
ユーザー dango
提出日時 2023-06-12 21:44:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 385 ms
コンパイル使用メモリ 82,080 KB
実行使用メモリ 76,032 KB
最終ジャッジ日時 2024-06-11 21:43:14
合計ジャッジ時間 3,174 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools
N = int(input())
print(sum(int(''.join(P)) % N == 0 for P in itertools.permutations('12345678')))
0