Submission #161848

#TimeUsernameProblemLanguageResultExecution timeMemory
161848boolodifjenulaBridž (COCI17_bridz)Cpython 3
50 / 50
77 ms3528 KiB
n=int(input()) z=0 for i in range(n): S=input() for i in range (len(S)): if S[i]=="A": z+=4 elif S[i]=="K": z+=3 elif S[i]=="Q": z+=2 elif S[i]=="J": z+=1 print(z)
#Verdict Execution timeMemoryGrader output
Fetching results...