⌨️[AtCoder]ABC-134|B - Golden Apple2023/02/18に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-134 B - Golden Apple 提出結果 def getIntMap(): return map(int, input().split()) def main(): n, d = getIntMap() c = 2 * d + 1 print(n // c + (0 if n % c == 0 else 1)) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion