結果
| 問題 | No.745 letinopia raoha |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-15 21:00:42 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 119 ms / 2,000 ms |
| コード長 | 310 bytes |
| 記録 | |
| コンパイル時間 | 488 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-06 03:30:21 |
| 合計ジャッジ時間 | 2,094 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
a, b, c, d = map(int, input().split())
num, score = 0, 0
if d >= 10:
print("Impossible")
else:
for i in range(b):
score += 50 * 2 ** (num // 100)
num += 1
for i in range(a):
score += 100 * 2 ** (num // 100)
num += 1
print("Possible")
print(score)