結果

問題 No.3630 Edge of triangle
コンテスト
ユーザー Rino-program
提出日時 2026-08-21 21:23:27
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 65 ms / 2,000 ms
+ 511µs
コード長 1,457 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 238 ms
コンパイル使用メモリ 96,112 KB
実行使用メモリ 79,232 KB
最終ジャッジ日時 2026-08-21 21:23:38
合計ジャッジ時間 5,811 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 55
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

# coding: utf-8
# AtCoder Competition Template v2.1 SHORT (PyPy 7.3.20 / Python 3.11) ※yukicoder用に編集した物
# ↑ https://github.com/Rino-program/atcoder/blob/main/contests/.template/main.py
# oj test -c 'C:\Rino-program\AtCoder\.venv-pypy311\Scripts\python.exe maina.py' -d input/a

import sys
import math

# ===== 入出力ヘルパ =====
def input() -> str:
    return sys.stdin.readline().rstrip()

def INT() -> int:
    return int(input())

def MAP():
    return map(int, input().split())

def LIST() -> list[int]:
    return list(MAP())

def TUPLE() -> tuple[int, ...]:
    return tuple(MAP())

def TUPLES(n: int) -> list[tuple[int, ...]]:
    return [TUPLE() for _ in range(n)]

# ===== 定数 =====
INF = 10 ** 18

# ===== 関数短縮 =====
pr = print
en = enumerate

# ===== よく使う出力関数 =====
def Yes(): print("Yes")
def No(): print("No")
def yn(cond: bool) -> None:
    """条件に応じてYes/No出力"""
    print("Yes" if cond else "No")

# ===== デバッグ =====
def debug(*args, **kwargs) -> None:
    """デバッグ出力(標準エラー)"""
    print("[DEBUG]", *args, **kwargs, file=sys.stderr)

# ==============================================
# =================== main =====================
# ==============================================

def main() -> None:
    # ここに解答を書く
    li = LIST()
    yn(max(li) < sum(li) - max(li))


















if __name__ == "__main__":
    main()
0