Run time error

Sunilkumar Uralun Kandyil sunilkumaruk at
Wed Jan 13 06:48:38 CET 2021

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

example 02:

list1 = [int(i) for i in input().split()]
sum =0
for i in range(0,len(list1)):
  sum +=list1[i]

DomJudge version:  7.3

Sunil Kumar UK

Deputy manager (Systems)


Amrita Vishwa Vidyapeetham

Amritapuri Campus

Kerala, India 690525

Phone: 9446671509

[Amrita University]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the DOMjudge-devel mailing list