結果
問題 |
No.745 letinopia raoha
|
ユーザー |
![]() |
提出日時 | 2020-05-16 18:11:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 302 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-09-22 14:31:43 |
合計ジャッジ時間 | 1,012 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 RE * 1 |
other | AC * 6 RE * 2 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() a,b,c,d=map(int,input().split()) if d>=10: print("Impossible") else: print("Possible") ans=0 ct=1 while a+b>0: mul=2**((ct-1)//100) if b>0: ans+=50*mul b-=1 else: ans+=100*mul a-=1 ct+=1 print(ans)