Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78212 胡海峰老师 找最大的数 Python3 Accepted 41 MS 3764 KB 202 2024-06-16 17:12:06

Tests(10/10):


Code:

a = list(map (int,input().split())) maxn = a[0] for ele in a: if ele > maxn: maxn = ele # pos = a.index(maxn) for pos in range(10): if a[pos] == maxn: break print(pos+1)