結果
| 問題 |
No.745 letinopia raoha
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-11 00:20:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 478 bytes |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-24 21:17:55 |
| 合計ジャッジ時間 | 1,047 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 5 WA * 3 |
ソースコード
stdin = input()
perfect,great,good,miss = stdin.split(" ")
cnt = 0
score = 0
dic = {1:100,2:200,4:300,8:400,16:500,32:600,64:700,128:800}
if int(miss) >= 10:
print("impossible")
else:
for cate,point in {great:50,perfect:100}.items():
for i in range(1,int(cate) + 1):
cnt += 1
for rate,line in dic.items():
if cnt <= line and cnt > line-100:
score += rate * point
print("Possible")
print(score)