⌨️
[AtCoder]ABC-115|B - Christmas Eve Eve
設問ページ
提出結果
def getInt():
return int(input())
def getIntRow(N):
return [int(input()) for _ in range(N)]
def main():
n = getInt()
p = getIntRow(n)
p.sort()
p.reverse()
p[0] = p[0] // 2
print(sum(p))
if __name__ == "__main__":
main()```
Discussion