s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s994914276
p02407
u354053070
1498501272
Python
Python3
py
Runtime Error
0
0
58
dummy = input() print(' '.join(input().split().reverse()))
s379803704
p02407
u831971779
1498697264
Python
Python3
py
Runtime Error
0
0
63
N = input() a = [input() for i in range(N)] print (a.reverse())
s654830401
p02407
u831971779
1498697333
Python
Python3
py
Runtime Error
0
0
64
N = input() a = [input() for i in range(N)] a.reverse() print(a)
s274651911
p02407
u831971779
1498721775
Python
Python3
py
Runtime Error
0
0
58
N = input() a = [input() for i in range(N)] print(a[::-1])
s696255823
p02407
u831971779
1498721834
Python
Python3
py
Runtime Error
0
0
66
N = input() a = [input().split() for i in range(N)] print(a[::-1])
s609255047
p02407
u831971779
1498722484
Python
Python3
py
Runtime Error
0
0
52
n = input() print(" ".join(input().split()).reveres)
s667725017
p02407
u831971779
1498722623
Python
Python3
py
Runtime Error
0
0
59
n = int(input()) print(" ".join(input().split()).reveres())
s092453767
p02407
u897625120
1500463868
Python
Python3
py
Runtime Error
0
0
114
#??°???????????¢ n = input() l = raw_input().split() for i in range(n): l.append(i) l.reverse() print l
s522061944
p02407
u853619096
1502775166
Python
Python3
py
Runtime Error
0
0
76
n=int(input()) a=list(map(int,input().split())) a=a[::-1] print(" ".join(a))
s814972389
p02407
u283452598
1503185601
Python
Python3
py
Runtime Error
0
0
91
first = input() seconds = list(map(int,input().split())) print("".join(seconds.reverse()))
s823230992
p02407
u283452598
1503185608
Python
Python3
py
Runtime Error
0
0
92
first = input() seconds = list(map(int,input().split())) print(" ".join(seconds.reverse()))
s868752147
p02407
u316697096
1503202553
Python
Python
py
Runtime Error
0
0
62
n=input() a=map(int,raw_input().split()) a=reverse print a
s718987148
p02407
u316697096
1503202615
Python
Python
py
Runtime Error
0
0
90
n=input() a=map(int,raw_input().split()) a=reverse() for i in range(n) print a[i]
s138338005
p02407
u316697096
1503202638
Python
Python
py
Runtime Error
0
0
65
n=input() a=map(int,raw_input().split()) a=reverse() print a
s020774876
p02407
u316697096
1503203082
Python
Python
py
Runtime Error
0
0
72
n=input() a=map(int,raw_input().split()) a=reverse for i in n: print a
s060808130
p02407
u316697096
1503203096
Python
Python
py
Runtime Error
0
0
75
n=input() a=map(int,raw_input().split()) a=reverse for i in n: print a
s677885581
p02407
u316697096
1503203134
Python
Python
py
Runtime Error
0
0
77
n=input() a=map(int,raw_input().split()) a.reverse() for i in n: print a
s416672991
p02407
u316697096
1503203215
Python
Python
py
Runtime Error
0
0
77
n=input() a=map(int,raw_input().split()) a.reverse() for i in n: print i
s539821089
p02407
u362494298
1505353094
Python
Python3
py
Runtime Error
0
0
42
input() a=list(int,input()) print(a[::-1])
s464092599
p02407
u933096856
1505442173
Python
Python3
py
Runtime Error
0
0
64
n=int(input()) print(*list(reversed(map(int, input().split()))))
s567513303
p02407
u664228906
1506411520
Python
Python3
py
Runtime Error
0
0
127
N = int(input()) Arr = map(int, input().split()) for i in range(N): if i=N-1: print(Arr[0]) else: print(Arr[N-1-i] + " ")
s261440985
p02407
u664228906
1506411591
Python
Python3
py
Runtime Error
0
0
133
N = int(input()) Arr = list(map(int, input().split())) for i in range(N): if i=N-1: print(Arr[0]) else: print(Arr[N-1-i] + " ")
s999729948
p02407
u664228906
1506411645
Python
Python3
py
Runtime Error
0
0
134
N = int(input()) Arr = list(map(int, input().split())) for i in range(N): if i==N-1: print(Arr[0]) else: print(Arr[N-1-i] + " ")
s374647810
p02407
u197670577
1508075761
Python
Python
py
Runtime Error
0
0
85
n = raw_input() array = raw_input().split() for i in reversed(range(n)): print i,
s177616072
p02407
u256256172
1508306012
Python
Python3
py
Runtime Error
0
0
89
a = [] for _ in range(int(input())): a.append(input()) a.reverse() print(" ".join(a))
s328061979
p02407
u518939641
1510061749
Python
Python3
py
Runtime Error
0
0
144
import sys while True: n=0 s=sys.stdin.readline() if s=='0\n': break for i in range(len(s)-1): n+=int(s[i]) print(n)
s199574963
p02407
u505411588
1511592256
Python
Python3
py
Runtime Error
0
0
115
N = input() a = [input() for i in range(N)] while i > 0: print(a[i], end=" ") i -= 1 else: print(a[i])
s598214958
p02407
u505411588
1511592434
Python
Python3
py
Runtime Error
0
0
120
N = int(input()) a = [input() for i in range(N)] while i > 0: print(a[i], end=" ") i -= 1 else: print(a[i])
s882313401
p02407
u539789745
1512945633
Python
Python3
py
Runtime Error
0
0
150
def main(): n = int(input()) a = map(int, input().split()) print(" ".join(sorted(a, reverse=True))) if __name__ == "__main__": main()
s443420338
p02407
u299257375
1516158570
Python
Python3
py
Runtime Error
0
0
94
n = int(input()) lst = [] for i in range(0,n): lst.append(int(input())) print(lst.sort())
s305428593
p02407
u299257375
1516159285
Python
Python3
py
Runtime Error
0
0
71
n = int(input)) print(" ".join(list(map(int, input().split()))[::-1]))
s871236231
p02407
u299257375
1516159333
Python
Python3
py
Runtime Error
0
0
80
n = int(input) lst = list(map(int, input().split())) print(" ".join(lst[::-1]))
s955396729
p02407
u201482750
1517900301
Python
Python3
py
Runtime Error
0
0
134
n=int(input()) a=list(map(int,input().split())) for i in range(n-1) : print("{} ".format(a[n-i]),end="") print("{}".format(a[0]))
s457427513
p02407
u640809202
1518362235
Python
Python3
py
Runtime Error
0
0
101
n=int(input()) a=input().split() for i in range(n): out=a[(n-i)] print(str(out)) print()
s334424178
p02407
u641357568
1520593474
Python
Python3
py
Runtime Error
0
0
174
import sys length = int(sys.stdin.readline()) num_seq = sys.stdin.readlines() for i in range(1,length + 1): print(num_seq[length - i],end=' ') print(num_seq[0],end='')
s346008679
p02407
u641357568
1520593530
Python
Python3
py
Runtime Error
0
0
174
import sys length = int(sys.stdin.readline()) num_seq = sys.stdin.readlines() for i in range(1,length + 1): print(num_seq[length - i],end=' ') print(num_seq[0],end='')
s267627796
p02407
u641357568
1520593581
Python
Python3
py
Runtime Error
0
0
170
import sys length = int(sys.stdin.readline()) num_seq = sys.stdin.readlines() for i in range(1,length): print(num_seq[length - i],end=' ') print(num_seq[0],end='')
s096787485
p02407
u518824954
1520871034
Python
Python
py
Runtime Error
0
0
69
n=int(input()) l=list(map(int,input().split())) l.reverse() print(l)
s258672454
p02407
u017435045
1521440050
Python
Python3
py
Runtime Error
0
0
52
input() print(‘ ‘.join(input().split()[::-1]))
s434288375
p02407
u017435045
1521440056
Python
Python3
py
Runtime Error
0
0
52
input() print(‘ ‘.join(input().split()[::-1]))
s422502446
p02407
u621084859
1522650128
Python
Python3
py
Runtime Error
0
0
103
n=int(input()) r=input().split() r.reverse() str = "" for d in a: str += "%d "%(d) print(str[:-1])
s710548509
p02407
u621084859
1522650326
Python
Python3
py
Runtime Error
0
0
104
n=int(input()) r=input().split() for i in range(len(r)): r[i]=int(r[i]) r.reverse() print(::-1)
s272354078
p02407
u621084859
1522650704
Python
Python3
py
Runtime Error
0
0
104
n=int(input()) r=input().split() for i in range(len(r)): r[i]=int(r[i]) i.reverse() print(::-1)
s014678371
p02407
u621084859
1522650754
Python
Python3
py
Runtime Error
0
0
85
n=int(input()) r=input().split() for i in range(len(r)): i.reverse() print(::-1)
s823675110
p02407
u621084859
1522651178
Python
Python3
py
Runtime Error
0
0
82
n=int(input()) r=input().split() for i in range(len(r)): i.reverse() print(i)
s055905107
p02407
u682153677
1523417738
Python
Python3
py
Runtime Error
0
0
141
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int , input().split())) a.reverse() for i in len(a): print('{0} '.format(a[i]))
s310276558
p02407
u682153677
1523418045
Python
Python3
py
Runtime Error
0
0
135
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int, input().split())) a.reverse() for i in n: print('{0} '.format(a[i]))
s810797913
p02407
u843169619
1523899082
Python
Python3
py
Runtime Error
0
0
72
num + input() jun = input().split() gyaku = reversed(jun) print(*gyaku)
s947109047
p02407
u843169619
1523899156
Python
Python3
py
Runtime Error
0
0
72
num + input() jun = input().split() gyaku = reversed(jun) print(*gyaku)
s896068767
p02407
u150984829
1524758568
Python
Python3
py
Runtime Error
0
0
110
e=[input()for _ in[0]*int(input())] for s in"SHCD": for r in range(1,14): if f'{s} {r}'not in e:print(s,r)
s514068268
p02407
u150984829
1524758604
Python
Python3
py
Runtime Error
0
0
114
n=int(input()) e=[input()for _ in[0]*n] for s in"SHCD": for r in range(1,14): if f'{s} {r}'not in e:print(s,r)
s001165904
p02407
u806005289
1525342877
Python
Python
py
Runtime Error
0
0
250
n=int(input()) a=input().split() b=[] c=[] i=0 while i<n: b.append(int(a[i])) i+=1 while n>0: c.append(max(b)) b.remove(max(b)) n=n-1 answer=str(c[0]) m=2 while m<i+1: answer=answer+" "+str(c[m-1]) m=m+1 print(answer)
s880835689
p02407
u592529978
1525396739
Python
Python
py
Runtime Error
0
0
74
n,x = map(int, raw_input().split()) if n = 0 : break x.reverse() print(x)
s874130399
p02407
u592529978
1525396893
Python
Python
py
Runtime Error
0
0
98
n = raw_input().split() x = map(int, raw_input().split()) if n = 0 : break x.reverse() print(x)
s818186871
p02407
u592529978
1525396997
Python
Python
py
Runtime Error
0
0
94
n=raw_input().split() x=map(int, raw_input().split()) if n == 0 : break x.reverse() print(x)
s378652115
p02407
u908651435
1525684932
Python
Python3
py
Runtime Error
20
5592
97
n=int(input()) a=input().split() for i in range(n-1,0,-1): print(a[i],end=' ') print(a[i-1])
s760630055
p02407
u983348699
1526192518
Python
Python3
py
Runtime Error
0
0
286
#include <iostream> using namespace std; int main() { int a[1000],n,i; cin >> n; for(i=0;i<n;i++){ cin >> a[i]; } i--; cout << a[i]; for(int ii=i-1; ii >= -1;ii--) { if(ii==-1)break; cout << " " << a[ii]; } cout << endl; }
s282025745
p02407
u002280517
1527214852
Python
Python3
py
Runtime Error
0
0
181
n = int(input()) a = list(map(int,input().split())) for i in range(n ,-1, -1): print("{0}".format(a[i]),end="") if i == n: pass else: print(" ",end="")
s109198692
p02407
u007066325
1527461735
Python
Python3
py
Runtime Error
0
0
235
a = int(input()) n = int(input().split()) n2 = int(input().split()) for i in range(a): n[i] = n2[a-i-1] for i in range(a): if i !=(a-1): print("{} ".format(n2[i]), end = "") else: print("{}".format(n2[i]))
s425978008
p02407
u007066325
1527461758
Python
Python3
py
Runtime Error
0
0
235
a = int(input()) n = int(input().split()) n2 = int(input().split()) for i in range(a): n[i] = n2[a-i-1] for i in range(a): if i !=(a-1): print("{} ".format(n2[i]), end = "") else: print("{}".format(n2[i]))
s203281776
p02407
u007066325
1527461874
Python
Python3
py
Runtime Error
0
0
85
ec 7340 KB 46 bytes ? 1 2 input() print(' '.join(input().split()[::-1]))
s019831222
p02407
u237094818
1527692315
Python
Python3
py
Runtime Error
0
0
117
# -*- coding: utf-8 x = input() a = input().split() a = a[::-1] for i range(len(a)): b += a[i]+" " print(b[-1])
s883812292
p02407
u237094818
1527692349
Python
Python3
py
Runtime Error
0
0
118
# -*- coding: utf-8 x = input() a = input().split() a = a[::-1] for i range(len(a)): b += a[i]+" " print(b[:-1])
s585106670
p02407
u237094818
1527692421
Python
Python3
py
Runtime Error
0
0
121
# -*- coding: utf-8 x = input() a = input().split() a = a[::-1] for i in range(len(a)): b += a[i]+" " print(b[:-1])
s904641396
p02407
u763301852
1363010821
Python
Python
py
Runtime Error
0
0
79
input() l = map(int, raw_input().split()) l.reverse() print(" ".join(tuple(l)))
s839693934
p02407
u763301852
1363010898
Python
Python
py
Runtime Error
0
0
81
input() l = map(int, raw_input().split()) l.reverse() print(" ".join(map(str, l))
s400472222
p02407
u140201022
1381753989
Python
Python
py
Runtime Error
0
0
164
while True: n=int(raw_input()) m=map(int, raw_input().split()) m.sort() h=-1 for i in xrange(n): print str(m[h]), h-=1 print
s803333630
p02407
u633068244
1393321475
Python
Python
py
Runtime Error
0
0
91
input() a = map(int, raw_input().split()) for i in range(a.length(), 1): print a[i-1],
s354924702
p02407
u633068244
1393321483
Python
Python
py
Runtime Error
0
0
90
input() a = map(int, raw_input().split()) for i in range(length(a), 1): print a[i-1],
s388583287
p02407
u633068244
1393321630
Python
Python
py
Runtime Error
0
0
100
input() a = map(int, raw_input().split()) a.reverse() for i in range(0, a.len()-1): print a[i],
s545942382
p02407
u633068244
1393321979
Python
Python
py
Runtime Error
0
0
157
r = int(input()) a = map(int, raw_input().split()) a.reverse() prnt = "" for i in range(0, r-2): prnt += a[i] prnt += " " prnt += a[r-1] print prnt
s135154704
p02407
u292964502
1396980100
Python
Python
py
Runtime Error
0
0
84
a = [] for i in range(input()): a.append(input()) print sorted(a,reverse = True)
s686783030
p02407
u971748390
1400680078
Python
Python3
py
Runtime Error
0
0
95
n=raw_input() for i in range(n): a[i] = raw_input() for i in range(n): print (a[i].reverse)
s391010798
p02408
u539753516
1531163674
Python
Python3
py
Runtime Error
0
0
212
n=int(input()) card=[] for suit in ["S","H","C","D"]: for rank in list(map(str,range(1,14))): card.append(suit+" "+rank+" ") for i in range(n): card.remove(input()) for c in card: print(c)
s809732262
p02408
u222716853
1532091552
Python
Python3
py
Runtime Error
0
0
662
a = int(input()) b = [] S = [] H = [] C = [] D = [] check = [1,2,3,4,5,6,7,8,9,10,11,12,13] for i in range(a): b.append(input().split()) for i in range(len(b)): if b[i][0] == "S": S.append(int(b[i][1])) elif b[i][0] == "H": H.append(int(b[i][1])) elif b[i][0] == "C": C.append(int...
s709249245
p02408
u689047545
1535091819
Python
Python3
py
Runtime Error
0
0
533
import sys slist = [i for i in range(1, 14)] hlist = [i for i in range(1, 14)] clist = [i for i in range(1, 14)] dlist = [i for i in range(1, 14)] for line in sys.stdin: suit, rank = line.split() rankn = int(rank) if suit = 'S': if rankn in slist: slist.pop(rankn - 1) elif suit = 'H'...
s127050111
p02408
u281808376
1540436906
Python
Python3
py
Runtime Error
0
0
422
N=int(input()) s=[input() for i in range(N)] lost_list=[] taro_card=[] card_list=[] for i in s: taro_card.append(s.split()) for i in range(1,14): card_list.append(["S",str(i)]) card_list.append(["H",str(i)]) card_list.append(["C",str(i)]) card_list.append(["D",str(i)]) for i in taro_card: if i n...
s665902681
p02408
u643542669
1546016834
Python
Python3
py
Runtime Error
0
0
334
suit = {"S": 0, "H": 1, "C": 2, "D": 3} suit_keys = list(suit.keys()) deck = [[suit_keys[i] + " " + str(j + 1) for j in range(13)] for i in range(4)] for _ in range(int(input())): card = input().split() deck[suit[card[0]]][int(card[1])] = "" for i in range(4): for j in deck[i]: if j != "": ...
s281710833
p02408
u643542669
1546016954
Python
Python3
py
Runtime Error
0
0
332
suit = {"S": 0, "H": 1, "C": 2, "D": 3} suit_keys = list(suit.keys()) deck = [[suit_keys[i] + " " + str(j + 1) for j in range(13)] for i in range(4)] for _ in range(int(input())): card = input().split() deck[suit[card[0]]][int(card[1])] = "" for i in range(4): for j in deck[i]: if j != "": ...
s607618805
p02408
u643542669
1546017039
Python
Python3
py
Runtime Error
0
0
332
suit = {"S": 0, "H": 1, "C": 2, "D": 3} suit_keys = list(suit.keys()) deck = [[suit_keys[i] + " " + str(j + 1) for j in range(13)] for i in range(4)] for _ in range(int(input())): card = input().split() deck[int(card[1])][suit[card[0]]] = "" for i in range(4): for j in deck[i]: if j != "": ...
s709538093
p02408
u643542669
1546017052
Python
Python3
py
Runtime Error
0
0
332
suit = {"S": 0, "H": 1, "C": 2, "D": 3} suit_keys = list(suit.keys()) deck = [[suit_keys[i] + " " + str(j + 1) for j in range(13)] for i in range(4)] for _ in range(int(input())): card = input().split() deck[suit[card[0]]][int(card[1])] = "" for i in range(4): for j in deck[i]: if j != "": ...
s278889519
p02408
u643542669
1546017465
Python
Python3
py
Runtime Error
0
0
312
suit = {"S": 0, "H": 1, "C": 2, "D": 3} suit_keys = list(suit.keys()) deck = [[suit_keys[i] + " " + str(j + 1) for j in range(13)] for i in range(4)] for _ in range(int(input())): card = input().split() del deck[suit[card[0]]][int(card[1]) - 1] for i in range(4): for j in deck[i]: print(j)
s498572570
p02408
u498462680
1546332454
Python
Python3
py
Runtime Error
0
0
824
sCard = [0] * 13 hCard = [0] * 13 cCard = [0] * 13 dCard = [0] * 13 callNum = int(input()) for cardLoop in range(callNum-1): symbol, cardNum = input().split() cardNum = int(cardNum) if symbol == "S": sCard[cardNum-1] = cardNum elif symbol == "H": hCard[cardNum-1] = cardNum elif sy...
s726207168
p02408
u902639104
1551283810
Python
Python3
py
Runtime Error
0
0
174
n=input() lst=[(a,b) for a in ['S','H','C','D'] for b in range(1,14)] for i in range(n): a,b =input().split() lst.remove((a,int(b))) for (a,b) in lst: print(a,b)
s213150967
p02408
u902639104
1551283858
Python
Python3
py
Runtime Error
0
0
174
n=input() lst=[(a,b) for a in ['S','H','C','D'] for b in range(1,14)] for i in range(n): a,b =input().split() lst.remove((a,int(b))) for (a,b) in lst: print(a,b)
s693404190
p02408
u902639104
1551283895
Python
Python3
py
Runtime Error
0
0
174
n=input() lst=[(a,b) for a in ['S','H','C','D'] for b in range(1,14)] for i in range(n): a,b =input().split() lst.remove((a,int(b))) for (a,b) in lst: print(a,b)
s564283346
p02408
u902639104
1551302710
Python
Python3
py
Runtime Error
0
0
188
n=int(input()) lst=[(a,b) for a in ['S','H','C','D'] for b in range(1,14)] for i in range(n): a,b = input().split() b = int(b) lst.remove(a,b) for (a,b) in lst: print(a,b)
s786550760
p02408
u792747184
1551467582
Python
Python3
py
Runtime Error
0
0
1226
n = int(input()) for i in range(n): k = input().split() if k[0] == 'S': for i in range(1,14): if int(k[1])==i: continue else: s = list() s.append(i) s.sort() sl = s.len() if k[0] == 'H': f...
s407645320
p02408
u792747184
1551467661
Python
Python3
py
Runtime Error
0
0
1230
n = int(input()) for i in range(n): k = input().split() if k[0] == 'S': for i in range(1,14): if int(k[1])==i: continue else: s = list() s.append(i) s.sort() sl = len(s) if k[0] == 'H': fo...
s951359153
p02408
u792747184
1551467677
Python
Python3
py
Runtime Error
0
0
1228
n = int(input()) for i in range(n): k = input().split() if k[0] == 'S': for i in range(1,14): if int(k[1])==i: continue else: s = list() s.append(i) s.sort() sl = len(s) if k[0] == 'H': fo...
s823270445
p02408
u973699866
1555751340
Python
Python
py
Runtime Error
0
0
435
n_cards = int(input()) taro_cards = [] for i in range(n_cards): taro_card = input() taro_cards.append(taro_card) full_cards = [] for mark in ['S', 'H', 'C', 'D']: for card_number in range(13): full_cards.append(mark + " " + str(card_number+1)) missing_cards = [] for card in full_cards: if card ...
s166000039
p02408
u928633434
1555922777
Python
Python3
py
Runtime Error
0
0
659
table = [[ 0 for i in range(13)] for j in range(4)] n = int(input()) i = 0 while i < n: s,num = input().split() num = int(num) if s == "S": table[0][n-1] = 1 elif s == "H": table[1][n-1] = 1 elif s == "C": table[2][n-1] = 1 else: # D table[3][n-1]...
s955694899
p02408
u405758695
1555976154
Python
Python3
py
Runtime Error
0
0
218
n=int(input()) cards = [(mark,num) for mark in ['S','H','C','D'] for num in range(1,14) ] for _ in range(n): mark,num=input().split() cards.remove((mark,int(num))) for (mark, num) in cards: print(mak, num)
s211637105
p02408
u482227082
1556432058
Python
Python3
py
Runtime Error
0
0
546
for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num) m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): if s[i] == ...
s470854108
p02408
u482227082
1556432070
Python
Python3
py
Runtime Error
0
0
547
for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): if s[i] ==...
s547396480
p02408
u482227082
1556432089
Python
Python3
py
Runtime Error
0
0
551
for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): if s[i] ==...
s324396758
p02408
u482227082
1556432171
Python
Python3
py
Runtime Error
0
0
560
t[] = "" for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): i...
s388125200
p02408
u482227082
1556432186
Python
Python3
py
Runtime Error
0
0
559
t = [] for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): if...
s935956548
p02408
u482227082
1556432206
Python
Python3
py
Runtime Error
0
0
562
t= list() for i in range(1,13): t[i] = 0 s = t h = t c = t d = t num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "s": s[n] == 1 if m == "h": h[n] == 1 if m == "c": h[n] == 1 if m == "d": h[n] == 1 for i in range(1,13): ...
s910545298
p02408
u482227082
1556432706
Python
Python3
py
Runtime Error
0
0
543
s = [0] * 13 h = [0] * 13 c = [0] * 13 d = [0] * 13 num = int(input()) for i in range(num): m, n = input().split() n = int(n) if m == "S": s[n] = 1 if m == "H": h[n] = 1 if m == "C": c[n] = 1 if m == "D": d[n] = 1 for i in range(1,13): if s[i] == 0: ...