結果

問題 No.933 おまわりさんこいつです
ユーザー ああいいああいい
提出日時 2022-04-21 14:28:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 446 ms
コンパイル使用メモリ 87,384 KB
実行使用メモリ 93,840 KB
最終ジャッジ日時 2023-09-04 21:01:38
合計ジャッジ時間 3,625 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,424 KB
testcase_01 AC 72 ms
71,476 KB
testcase_02 AC 76 ms
71,292 KB
testcase_03 AC 74 ms
71,512 KB
testcase_04 AC 73 ms
71,228 KB
testcase_05 AC 71 ms
71,336 KB
testcase_06 AC 70 ms
71,484 KB
testcase_07 AC 71 ms
71,168 KB
testcase_08 AC 70 ms
71,512 KB
testcase_09 AC 72 ms
71,224 KB
testcase_10 AC 74 ms
71,448 KB
testcase_11 AC 73 ms
71,448 KB
testcase_12 AC 73 ms
71,604 KB
testcase_13 AC 75 ms
76,268 KB
testcase_14 AC 75 ms
76,392 KB
testcase_15 AC 77 ms
76,312 KB
testcase_16 AC 81 ms
79,504 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 90 ms
89,104 KB
testcase_21 AC 73 ms
71,332 KB
testcase_22 AC 73 ms
71,600 KB
testcase_23 AC 104 ms
93,840 KB
testcase_24 AC 104 ms
93,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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