def classify_triangle4(a, b, c):
    """
    三角形判别程序4（风格对齐 program1/2 的接口约定）：
    - 仅接受 int 类型；非正数为无效；
    - 先校验三角形不等式，再分类。
    """
    # 类型与取值校验（仅 int）
    if not isinstance(a, int) or not isinstance(b, int) or not isinstance(c, int):
        return "无效输入"
    if a <= 0 or b <= 0 or c <= 0:
        return "无效输入"

    # 不等式校验
    if not (a + b > c and a + c > b and b + c > a):
        return "非三角形"

    # 分类逻辑
    if a == b == c:
        return "等边三角形"
    elif a == b or b == c or a == c:
        return "等腰三角形"
    else:
        return "一般三角形"
