結果

問題 No.745 letinopia raoha
ユーザー dangodango
提出日時 2023-06-20 16:35:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,560 KB
最終ジャッジ日時 2023-09-10 12:13:36
合計ジャッジ時間 2,112 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,344 KB
testcase_01 AC 71 ms
71,468 KB
testcase_02 AC 71 ms
71,132 KB
testcase_03 AC 70 ms
71,272 KB
testcase_04 AC 75 ms
71,544 KB
testcase_05 AC 70 ms
71,540 KB
testcase_06 AC 71 ms
71,380 KB
testcase_07 AC 72 ms
71,560 KB
testcase_08 AC 71 ms
71,300 KB
testcase_09 AC 72 ms
71,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B, C, D = map(int,input().split())
if D > 9: S = "Impossible"
else:
	S, T = 0, 0
	for i in [1] * B: S += 50 * 2 ** (T // 100); T += 1
	for j in [1] * A: S += 100 * 2 ** (T // 100); T += 1
	print("Possible")
print(S)
0