結果
問題 | No.745 letinopia raoha |
ユーザー | fV9TwBhUoa9S3eV |
提出日時 | 2019-10-25 13:22:25 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
WA
|
実行時間 | - |
コード長 | 448 bytes |
コンパイル時間 | 110 ms |
コンパイル使用メモリ | 10,540 KB |
実行使用メモリ | 8,320 KB |
最終ジャッジ日時 | 2023-09-26 17:14:25 |
合計ジャッジ時間 | 1,024 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 16 ms
7,896 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 16 ms
7,944 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 15 ms
7,756 KB |
ソースコード
# No.745 letinopia raoha a, b, c, d = [int(s) for s in input().split()] if d < 10: print('Possible') score_total = 0 combo = 1 while combo <= a + b: if combo <= b: score_total += 50 * 2 ** ((combo - 1) // 100) elif b < combo <= a + b: score_total += 100 * 2 ** ((combo - 1) // 100) print(combo, score_total) combo += 1 print(score_total) else: print('Impossible')