結果

問題 No.933 おまわりさんこいつです
ユーザー pekempeypekempey
提出日時 2019-11-29 21:44:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 120 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 82,096 KB
実行使用メモリ 89,488 KB
最終ジャッジ日時 2024-04-30 23:12:33
合計ジャッジ時間 1,862 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,032 KB
testcase_01 AC 34 ms
53,416 KB
testcase_02 AC 32 ms
52,376 KB
testcase_03 AC 32 ms
52,740 KB
testcase_04 AC 33 ms
52,668 KB
testcase_05 AC 31 ms
52,776 KB
testcase_06 AC 31 ms
51,900 KB
testcase_07 AC 32 ms
51,996 KB
testcase_08 AC 33 ms
52,684 KB
testcase_09 AC 32 ms
52,248 KB
testcase_10 AC 33 ms
53,540 KB
testcase_11 AC 33 ms
52,944 KB
testcase_12 AC 36 ms
53,080 KB
testcase_13 AC 36 ms
60,036 KB
testcase_14 AC 36 ms
60,676 KB
testcase_15 AC 39 ms
60,732 KB
testcase_16 AC 42 ms
66,460 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 55 ms
78,712 KB
testcase_21 AC 32 ms
52,332 KB
testcase_22 AC 31 ms
52,304 KB
testcase_23 AC 64 ms
89,428 KB
testcase_24 AC 61 ms
89,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
P = list(map(int, input().split()))
ans = 1
for x in P:
  ans *= x
  ans %= 9
print((ans - 1) % 9 + 1)
0