結果

問題 No.1682 Unfair Game
ユーザー rin204
提出日時 2021-09-18 09:35:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 82,328 KB
実行使用メモリ 54,028 KB
最終ジャッジ日時 2024-06-30 06:09:18
合計ジャッジ時間 1,819 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 10 ** 9 + 7

n = int(input())
plst = list(map(int, input().split()))
tf = any(p > 50 for p in plst)
if tf:
    print(pow(2, n - 1, MOD))
else:
    print(0)
0