結果
| 問題 | No.745 letinopia raoha |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2021-08-26 18:57:24 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 2,000 ms |
| + 732µs | |
| コード長 | 379 bytes |
| 記録 | |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 80,640 KB |
| 実行使用メモリ | 54,528 KB |
| 最終ジャッジ日時 | 2026-10-12 20:30:07 |
| 合計ジャッジ時間 | 1,354 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
a, b, c, d = map(int, input().split())
if d == 10:
print("Impossible")
exit()
score = 0
cnt = 0
times = 1
for _ in range(b):
score += 50 * times
cnt += 1
if cnt == 100:
cnt = 0
times *= 2
for _ in range(a):
score += 100 * times
cnt += 1
if cnt == 100:
cnt = 0
times *= 2
print("Possible")
print(score)