結果

問題 No.933 おまわりさんこいつです
ユーザー tanon710tanon710
提出日時 2020-10-04 01:30:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 1,010 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 94,064 KB
最終ジャッジ日時 2023-09-25 14:21:25
合計ジャッジ時間 4,943 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,472 KB
testcase_01 AC 70 ms
71,332 KB
testcase_02 AC 70 ms
71,096 KB
testcase_03 AC 74 ms
71,100 KB
testcase_04 AC 71 ms
71,340 KB
testcase_05 AC 71 ms
71,396 KB
testcase_06 AC 71 ms
71,448 KB
testcase_07 AC 71 ms
71,340 KB
testcase_08 AC 70 ms
71,340 KB
testcase_09 AC 70 ms
71,176 KB
testcase_10 AC 70 ms
71,444 KB
testcase_11 AC 71 ms
71,452 KB
testcase_12 AC 73 ms
71,328 KB
testcase_13 AC 79 ms
76,304 KB
testcase_14 AC 76 ms
76,316 KB
testcase_15 AC 80 ms
76,600 KB
testcase_16 AC 80 ms
79,812 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 89 ms
89,132 KB
testcase_21 AC 72 ms
71,228 KB
testcase_22 AC 72 ms
71,476 KB
testcase_23 AC 102 ms
94,064 KB
testcase_24 AC 101 ms
93,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
arr=list(map(int,input().split()))
tmp=1
for val in arr:
    tmp*=val
    tmp%=9
if tmp==0:
    print(9)
else:
    print(tmp)
0