結果

問題 No.1682 Unfair Game
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-09-18 15:37:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 87,184 KB
実行使用メモリ 71,628 KB
最終ジャッジ日時 2023-09-13 02:26:44
合計ジャッジ時間 3,612 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,368 KB
testcase_01 AC 73 ms
71,384 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 68 ms
71,288 KB
testcase_05 WA -
testcase_06 AC 69 ms
71,452 KB
testcase_07 AC 68 ms
71,284 KB
testcase_08 WA -
testcase_09 AC 69 ms
71,292 KB
testcase_10 WA -
testcase_11 AC 69 ms
71,508 KB
testcase_12 AC 68 ms
71,144 KB
testcase_13 AC 70 ms
71,460 KB
testcase_14 AC 70 ms
71,260 KB
testcase_15 AC 69 ms
71,364 KB
testcase_16 AC 69 ms
71,292 KB
testcase_17 AC 67 ms
71,288 KB
testcase_18 AC 70 ms
71,628 KB
testcase_19 WA -
testcase_20 AC 69 ms
71,444 KB
testcase_21 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
P = list(map(int,input().split()))
if 50 in P :
    print(0)
    exit()
b = 0
s = 0
for p in P:
    if p > 50:
        b += 1
    else:
        s += 1
if b == 0:
    print(0)
else:
    print(pow(2,n-1,10**9+7))
0