結果
問題 |
No.1682 Unfair Game
|
ユーザー |
|
提出日時 | 2021-09-18 15:37:02 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 82,496 KB |
実行使用メモリ | 53,720 KB |
最終ジャッジ日時 | 2024-06-30 13:05:12 |
合計ジャッジ時間 | 1,864 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 WA * 7 |
ソースコード
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))