結果

問題 No.1644 Eight Digits
ユーザー KeroruKeroru
提出日時 2021-08-13 22:14:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 1,000 ms
コード長 103 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 82,456 KB
実行使用メモリ 76,264 KB
最終ジャッジ日時 2024-04-14 18:21:23
合計ジャッジ時間 3,310 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
75,604 KB
testcase_01 AC 60 ms
75,404 KB
testcase_02 AC 59 ms
75,984 KB
testcase_03 AC 60 ms
75,740 KB
testcase_04 AC 61 ms
75,992 KB
testcase_05 AC 59 ms
75,684 KB
testcase_06 AC 60 ms
75,532 KB
testcase_07 AC 61 ms
76,264 KB
testcase_08 AC 60 ms
75,724 KB
testcase_09 AC 59 ms
75,768 KB
testcase_10 AC 59 ms
75,860 KB
testcase_11 AC 60 ms
75,896 KB
testcase_12 AC 59 ms
75,704 KB
testcase_13 AC 60 ms
75,784 KB
testcase_14 AC 59 ms
75,716 KB
testcase_15 AC 60 ms
75,732 KB
testcase_16 AC 59 ms
75,768 KB
testcase_17 AC 59 ms
75,940 KB
testcase_18 AC 59 ms
75,824 KB
testcase_19 AC 59 ms
75,656 KB
testcase_20 AC 60 ms
75,608 KB
testcase_21 AC 59 ms
75,404 KB
testcase_22 AC 59 ms
76,016 KB
testcase_23 AC 63 ms
75,788 KB
testcase_24 AC 59 ms
75,712 KB
testcase_25 AC 62 ms
75,712 KB
testcase_26 AC 60 ms
75,608 KB
testcase_27 AC 60 ms
75,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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