結果
問題 | No.63 ポッキーゲーム |
ユーザー | |
提出日時 | 2016-01-07 20:24:59 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 151 bytes |
コンパイル時間 | 46 ms |
コンパイル使用メモリ | 7,128 KB |
実行使用メモリ | 10,816 KB |
最終ジャッジ日時 | 2023-10-19 16:41:52 |
合計ジャッジ時間 | 8,070 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 11 ms
6,472 KB |
testcase_01 | AC | 11 ms
6,472 KB |
testcase_02 | AC | 12 ms
6,472 KB |
testcase_03 | AC | 11 ms
6,472 KB |
testcase_04 | AC | 12 ms
6,472 KB |
testcase_05 | AC | 11 ms
6,472 KB |
testcase_06 | AC | 12 ms
6,472 KB |
testcase_07 | AC | 32 ms
6,472 KB |
testcase_08 | AC | 19 ms
6,472 KB |
testcase_09 | AC | 130 ms
6,472 KB |
testcase_10 | AC | 1,084 ms
6,472 KB |
testcase_11 | TLE | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
ソースコード
aaa,bbb = map(int, raw_input().split(" ")) ans = 0 while(1): if aaa - 2*bbb > 0: ans = ans + bbb else: break aaa = aaa - 2*bbb print ans