⌨️

[AtCoder]ABC-226|A - Round decimals

2023/05/17に公開

設問ページ

提出結果

import math


def getFloat():
    return float(input())


def main():
    x = getFloat()

    print(math.floor(x + 0.5))


if __name__ == "__main__":
    main()

Discussion