結果
問題 |
No.1682 Unfair Game
|
ユーザー |
![]() |
提出日時 | 2025-07-17 02:34:42 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-07-17 02:34:45 |
合計ジャッジ時間 | 2,475 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 WA * 7 |
ソースコード
N=int(input()) P=list(map(int,input().split())) score=0 for p in P: if p>50: score+=1 if score==0: print(0) else: print(pow(2,N-1,10**9+7))