結果

問題 No.63 ポッキーゲーム
ユーザー helical28556801helical28556801
提出日時 2017-04-10 23:45:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 110 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-09-25 06:56:25
合計ジャッジ時間 1,410 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 18 ms
7,808 KB
testcase_03 AC 17 ms
7,908 KB
testcase_04 RE -
testcase_05 AC 16 ms
7,832 KB
testcase_06 AC 17 ms
7,868 KB
testcase_07 AC 16 ms
7,880 KB
testcase_08 AC 16 ms
7,768 KB
testcase_09 AC 16 ms
7,856 KB
testcase_10 AC 16 ms
7,956 KB
testcase_11 AC 16 ms
7,800 KB
testcase_12 AC 17 ms
7,768 KB
testcase_13 AC 16 ms
7,808 KB
testcase_14 AC 17 ms
7,908 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 17 ms
7,908 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 17 ms
7,732 KB
testcase_21 AC 17 ms
7,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L,K=map(int,input().split())

if L/2<=K:
 print(0)

else:
  x=int(L/2//K*K)
  if L/2%K == 0:
   x-=1

print(x)
0