Rezultati

Up. imeNalogaJezikRezultatČas oddaje
fmffml-2017 Večkotnik Python 3 0/100Napaka med izvajanjem / ob izhodu (RTE) 11. maj '17 @ 16:57

Test Točke Porabljen spomin Porabljen čas Status
#1 0/4 8,359 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#2 0/4 8,348 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#3 0/4 8,367 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#4 0/4 8,375 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#5 0/4 8,383 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#6 0/4 8,363 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#7 0/4 8,352 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#8 0/4 8,352 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#9 0/4 8,359 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#10 0/4 8,359 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#11 0/4 8,391 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#12 0/4 8,395 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#13 0/4 8,383 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#14 0/4 8,367 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#15 0/4 8,352 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#16 0/4 8,387 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#17 0/4 8,355 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#18 0/4 8,379 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#19 0/4 8,383 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#20 0/4 8,348 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#21 0/4 8,359 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#22 0/4 8,344 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#23 0/4 8,383 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#24 0/4 8,363 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer
#25 0/4 8,355 MiB 0,000 s Program je končal z neničelno kodo
Stderr:
Traceback (most recent call last):
  File "source.py3", line 16, in <module>
    for i in range(stevilo):
TypeError: 'str' object cannot be interpreted as an integer

Ocenjevani program (veckotnik.py):
def zmagovalec(seznam):
    stevec = 0
    for x in seznam:
        a = x//3
        if x%3 == 1:
            stevec += 1
        stevec += a
    if stevec%2 == 0:
        return 'Janko'
    else:
        return 'Metka'


stevilo = input()
sez = []
for i in range(stevilo):
    t = input()
    sez.append(t)

print(zmagovalec(sez))