結果

問題 No.1682 Unfair Game
ユーザー 👑 rin204rin204
提出日時 2021-09-18 09:35:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 568 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 71,560 KB
最終ジャッジ日時 2023-09-12 18:28:37
合計ジャッジ時間 3,452 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,552 KB
testcase_01 AC 70 ms
71,240 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 70 ms
71,108 KB
testcase_05 WA -
testcase_06 AC 70 ms
71,088 KB
testcase_07 AC 70 ms
71,216 KB
testcase_08 WA -
testcase_09 AC 70 ms
71,104 KB
testcase_10 WA -
testcase_11 AC 68 ms
71,124 KB
testcase_12 AC 69 ms
71,416 KB
testcase_13 AC 70 ms
71,380 KB
testcase_14 AC 70 ms
71,340 KB
testcase_15 AC 70 ms
71,332 KB
testcase_16 AC 71 ms
71,232 KB
testcase_17 AC 71 ms
71,400 KB
testcase_18 AC 70 ms
71,560 KB
testcase_19 WA -
testcase_20 AC 71 ms
71,300 KB
testcase_21 WA -
権限があれば一括ダウンロードができます

ソースコード

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