Regd. Domjudge:
Worked on a few codes it worked for a few and for few questions based on the list got a run-time error.
can you pls fix this? This code didn't work
a= map(int,input().split()) max = 0 for i in a: if (i>max): max = i print(max)
example 02:
list1 = [int(i) for i in input().split()] sum =0 for i in range(0,len(list1)): sum +=list1[i] print(sum)
DomJudge version: 7.3
Sunil Kumar UK
Deputy manager (Systems)
ICTS
Amrita Vishwa Vidyapeetham
Amritapuri Campus
Kerala, India 690525
Phone: 9446671509
[Amrita University]
Hello Sunil Kumar,
We're not here to find bugs in your submissions for you.
However, if you think that there is a bug in DOMjudge, then please provide more details: the exact problem, input and output data, what happened when you ran your submission on this data, both inside and outside DOMjudge, and the judgehost logs from judging that submission.
Best, Jaap
On 13/01/2021 06:48, Sunilkumar Uralun Kandyil wrote:
Regd. Domjudge:
Worked on a few codes it worked for a few and for few questions based on the list got a run-time error.
can you pls fix this? This code didn't work
a= map(int,input().split()) max = 0 for i in a: if (i>max): max = i print(max)
example 02:
list1 = [int(i) for i in input().split()] sum =0 for i in range(0,len(list1)): sum +=list1[i] print(sum)
DomJudge version: 7.3
Sunil Kumar UK
Deputy manager (Systems)
ICTS
Amrita Vishwa Vidyapeetham
Amritapuri Campus
Kerala, India 690525
Phone: 9446671509
Amrita University
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel