Submission #1092802

#TimeUsernameProblemLanguageResultExecution timeMemory
1092802vibeslayerBridž (COCI17_bridz)Cpython 3
50 / 50
22 ms2908 KiB
n = int(input()) val = { 'A': 4, 'K': 3, 'Q': 2, 'J': 1 } tot = 0 for i in range(n): s = input() for c in s: if c in val: tot += val[c] print(tot)
#Verdict Execution timeMemoryGrader output
Fetching results...