結果
問題 | No.745 letinopia raoha |
ユーザー |
![]() |
提出日時 | 2020-05-16 18:12:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 304 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-22 14:32:16 |
合計ジャッジ時間 | 1,072 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
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)