結果
| 問題 | No.745 letinopia raoha |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-27 16:47:39 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 2,000 ms |
| + 559µs | |
| コード長 | 290 bytes |
| 記録 | |
| コンパイル時間 | 74 ms |
| コンパイル使用メモリ | 80,896 KB |
| 実行使用メモリ | 54,528 KB |
| 最終ジャッジ日時 | 2026-10-12 20:51:55 |
| 合計ジャッジ時間 | 1,346 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
a, b, c, d = map(int, input().split())
if 10 <= d:
print("Impossible")
else:
ans = 0
print("Possible")
for i in range(a + b):
if b > 0:
b -= 1
ans += 50 * 2 ** (i // 100)
else:
ans += 100 * 2 ** (i // 100)
print(ans)
ohana