⌨️

[AtCoder]ABC-275|A - Find Takahashi

2023/07/31に公開

設問ページ

提出結果

def getInt():
    return int(input())


def getIntList():
    return list(map(int, input().split()))


def main():
    n = getInt()
    h = getIntList()

    print(h.index(max(h)) + 1)


if __name__ == "__main__":
    main()

Discussion