結果

問題 No.1644 Eight Digits
ユーザー KeroruKeroru
提出日時 2021-08-13 22:14:49
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 97 ms / 1,000 ms
コード長 103 bytes
コンパイル時間 1,650 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 77,480 KB
最終ジャッジ日時 2023-07-27 04:58:31
合計ジャッジ時間 5,007 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
77,204 KB
testcase_01 AC 92 ms
77,104 KB
testcase_02 AC 91 ms
77,100 KB
testcase_03 AC 92 ms
77,312 KB
testcase_04 AC 94 ms
77,364 KB
testcase_05 AC 93 ms
77,424 KB
testcase_06 AC 91 ms
77,296 KB
testcase_07 AC 91 ms
77,444 KB
testcase_08 AC 94 ms
77,200 KB
testcase_09 AC 93 ms
77,352 KB
testcase_10 AC 93 ms
77,364 KB
testcase_11 AC 90 ms
77,480 KB
testcase_12 AC 92 ms
77,352 KB
testcase_13 AC 96 ms
77,440 KB
testcase_14 AC 96 ms
77,100 KB
testcase_15 AC 93 ms
77,408 KB
testcase_16 AC 92 ms
77,204 KB
testcase_17 AC 91 ms
77,440 KB
testcase_18 AC 91 ms
77,320 KB
testcase_19 AC 93 ms
77,108 KB
testcase_20 AC 97 ms
77,340 KB
testcase_21 AC 94 ms
77,428 KB
testcase_22 AC 93 ms
77,328 KB
testcase_23 AC 95 ms
77,448 KB
testcase_24 AC 93 ms
77,252 KB
testcase_25 AC 97 ms
77,212 KB
testcase_26 AC 97 ms
77,348 KB
testcase_27 AC 96 ms
77,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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