結果

問題 No.1644 Eight Digits
ユーザー Keroru
提出日時 2021-08-13 22:14:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 103 bytes
コンパイル時間 373 ms
コンパイル使用メモリ 82,344 KB
実行使用メモリ 76,080 KB
最終ジャッジ日時 2024-10-03 19:34:37
合計ジャッジ時間 3,266 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import*
n=int(input())
print(sum(int(''.join(p))%n==0for p in permutations('12345678')))
0