Submission #1043194

#TimeUsernameProblemLanguageResultExecution timeMemory
1043194model_codeInfinite Race (EGOI24_infiniterace2)Pypy 3
29 / 100
185 ms29388 KiB
#!/bin/python3 # @EXPECTED_GRADES@ AC WA WA WA n = int(input()) q = int(input()) laps, t = 0, [] for i in range(q): t.append(int(input())) for i in range(q-1): laps += (t[i]>0 and t[i+1]>0) print(laps)
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...