Submission #7640630


Source Code Expand

A=list(map(int,input().split()))

p=0
for i in A:
  if p==0:
    while i%2==1:
      p=p+1    
  else:
    ans=p
    while i%2==1:
      p=p+1
    if p>ans:
      ans=p
print(ans)

Submission Info

Submission Time
Task A - Placing Marbles
User veronica_
Language Python (3.4.3)
Score 0
Code Size 192 Byte
Status RE
Exec Time 2103 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
TLE × 1
RE × 1
TLE × 4
RE × 4
Set Name Test Cases
Sample 00_example_01.txt, 00_example_02.txt
All 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt
Case Name Status Exec Time Memory
00_example_01.txt TLE 2103 ms 2940 KB
00_example_02.txt RE 17 ms 2940 KB
01.txt TLE 2103 ms 2940 KB
02.txt RE 17 ms 2940 KB
03.txt TLE 2103 ms 2940 KB
04.txt RE 17 ms 2940 KB
05.txt RE 17 ms 2940 KB
06.txt TLE 2103 ms 2940 KB