Submission #161448

#TimeUsernameProblemLanguageResultExecution timeMemory
161448boolodifjenulaMagnus (COCI18_magnus)Cpython 3
50 / 50
112 ms3736 KiB
N=input() k="I" m=0 for i in range(len(N)): if N[i]=="H" and k=="I": k="H" if N[i]=="O" and k=="H": k="O" if N[i]=="N" and k=="O": k="N" if N[i]=="I" and k=="N": k="I" m+=1 print(m)
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...