⌨️[AtCoder]ABC-117|B - Polygon2023/02/05に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-117 B - Polygon 提出結果 def getInt(): return int(input()) def getIntList(): return list(map(int, input().split())) def main(): n = getInt() l = getIntList() l.sort() m = l[n - 1] l.pop(n - 1) print('Yes' if sum(l) > m else 'No') if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion