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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s412552340 | p03777 | u686036872 | 1579606219 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 137 | a, b = map(int, input().split())
if a == "H" and b == "H":
print("H")
elif a == "D" and b == "D":
print("H")
else:
print("D") |
s689789446 | p03777 | u871596687 | 1579376290 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 201 | a,b = map(str,input().split())
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else a == "D" and b == "D":
print("H") |
s618979944 | p03777 | u871596687 | 1579376209 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 204 | a,b = map(str,input().split())
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else: a == "D" and b == "D":
print("H")
|
s948389675 | p03777 | u871596687 | 1579376181 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 201 | a,b = map(str,input().split()
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else: a == "D" and b == "D":
print("H") |
s351268596 | p03777 | u871596687 | 1579375927 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 194 | a,b = input().split()
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else: a == "D" and b == "D":
print("H")
|
s397972767 | p03777 | u843722521 | 1579314842 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38256 | 67 | if eval(input().replace(" ","==")):
print("H")
else:
print("D") |
s903571030 | p03777 | u162911959 | 1579117589 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a,b=input.split()
print("H" if a==b else "D") |
s309348214 | p03777 | u121921603 | 1579023396 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 160 | import sys
input = sys.stdin.readline
a,b=map(int,input().split())
if a=="H":
print(b)
else:
if b=="H":
print("D")
else:
print("H")
|
s584875869 | p03777 | u638745327 | 1578967963 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a = input()
b = input()
if a==b=="H" :
print("H")
elif a==b=="D":
print("H")
else:
print("D")
|
s182646463 | p03777 | u056599756 | 1578873766 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b=input().split()
print("H" if a==b else"D) |
s920445708 | p03777 | u686036872 | 1578784668 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | a, b=input().split()
if a=='H':
print('H')
else:
if b=='D'
print('H')
else:
print('D') |
s955994041 | p03777 | u875600867 | 1578542608 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 184 | a,b=map(int, input().split())
if a=="H" and b=="H":
print("H")
elif a=="H" and b=="D":
print("D")
elif a=="D" and b=="H":
print("D")
elif a=="D" and b=="D":
print("H") |
s870246861 | p03777 | u079022116 | 1578287789 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a,b=input.split()
if a == 'H':print(b)
elif a == 'D' and b == 'H':print('D')
else:print('H') |
s982118612 | p03777 | u668352391 | 1577998526 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 153 | a, b = input().split()
if a = 'H':
if b = 'H':
print('H')
else:
print('D')
else:
if b = 'H':
print('D')
else:
print('H')
|
s345338027 | p03777 | u972892985 | 1577744367 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | a, b input().split()
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else:
print("H") |
s866795270 | p03777 | u972892985 | 1577744312 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 163 | a = input()
b = input()
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else:
print("H") |
s792451351 | p03777 | u153419200 | 1577392763 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | a,b=map(input().split())
if a=='H':
print(b)
elif b=='H':
print('D')
else:
print('H') |
s958490806 | p03777 | u027675217 | 1577301946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | a,b = input().split()
if a == b:
print("H"):
else:
print("D")
|
s196040849 | p03777 | u881472317 | 1577113738 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | a, b = input(),split()
if a == b:
print("H")
else:
print("D")
|
s903108611 | p03777 | u972892985 | 1576760226 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 162 | a, b = input().split())
if a =="H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else:
print("H") |
s928169604 | p03777 | u181215519 | 1576640300 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | s = str( input() )
if s == "H H" | s == "D D" :
print( "H" )
else :
print( "D" ) |
s300920204 | p03777 | u181215519 | 1576640266 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | s = input()
if s == "H H" | s == "D D" :
print( "H" )
else :
print( "D" ) |
s591967927 | p03777 | u181215519 | 1576640163 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a, b = map( str, input().split() )
s = a + b
if s == "HH" | s == "DD" :
print( "H" )
else :
print( "D" ) |
s818648089 | p03777 | u417014669 | 1576589368 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | a,b =map(str,input().split())
if b=="H:
print(a)
else b=="D":
if a=="H":
print("D")
if a=="D":
print("H")
|
s882677114 | p03777 | u417014669 | 1576589279 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 125 | a,b =map(str ,input().split())
if b=="H:
print(a):
else b=="D":
if a=="H":
print("D"):
if a=="D":
print("H")
|
s407530328 | p03777 | u417014669 | 1576589235 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | a,b =map(str ,input().split()))
if b=="H:
print(a):
else b=="D":
if a=="H":
print("D"):
if a=="D":
print("H")
|
s936552356 | p03777 | u794910686 | 1576105070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a,b=input().split()
if (a=="H" and b=="H") or (a=="D" and b=="D"):
print(H)
else:
print(D) |
s841822443 | p03777 | u963343620 | 1575916350 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | a, b= map(str, input().split())
if a=="H":
print(b)
else:
if b = "H":
print("D")
if b = "D":
print("H") |
s297158716 | p03777 | u113971909 | 1575646447 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | a,b = input().split()
if a = "H":
print(b)
elif b = "H":
print("D")
else:
print("H") |
s021383622 | p03777 | u074338678 | 1575422868 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 134 | a, b = map(str, input().split())
if a==str(H):
print(b)
elif a==str(D):
if b==str(H):
print(D)
elif b==str(D):
print(H) |
s358414881 | p03777 | u074338678 | 1575422735 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a, b = map(str, input().split())
if a==H:
print(b)
elif a==D:
if b==H:
print(D)
elif b==D:
print(H) |
s176729081 | p03777 | u074338678 | 1575422713 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a, b = input().split()
if a==H:
print(b)
elif a==D:
if b==H:
print(D)
elif b==D:
print(H) |
s525870611 | p03777 | u999893056 | 1575379006 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | a, b = input().split()
if a == 'H':
print(b)
elif a == 'D' and b =='H'
print('D')
else:
print('H') |
s053704755 | p03777 | u768896740 | 1575349034 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | a, b = map(input())
if a == 'H':
if b == 'H':
print('H')
else:
print('D')
else:
if b == 'H':
print('D')
else:
print('H') |
s736897754 | p03777 | u595716769 | 1575323849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | a, b = map(int, input().split())
if a == b:
print("H")
else:
print("D") |
s315296884 | p03777 | u987164499 | 1575062734 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 229 | from sys import stdin
a,b = [int(x) for x in stdin.readline().rstrip().split()]
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
else:
print("H") |
s798758303 | p03777 | u774160580 | 1574897092 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 136 | a, b = list(map(int, input().split()))
if a == "H":
print(b)
else:
if b == "H":
print("D")
else:
print("H")
|
s525878438 | p03777 | u183840468 | 1573867040 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 71 | n = int(input())
ct = 1
while ct*(ct+1)//2 < n:
ct +=1
print(ct)
|
s248916631 | p03777 | u923659712 | 1573753447 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 99 | a,b=input().split()
if a=="H":
print(b):
else:
if b=="H":
print("D")
else:
print("H") |
s441894699 | p03777 | u633548583 | 1573527371 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | a,b=input().split()
if a='H' and b='H':
print('H')
elif a='H' and b='D':
print('D')
elif a='D' and b='H':
print('D')
else:
print('H') |
s196829665 | p03777 | u574483499 | 1572040242 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a, b = input.split()
print("H" if a == b else D"") |
s976114659 | p03777 | u644907318 | 1572008612 | Python | PyPy3 (2.4.0) | py | Runtime Error | 160 | 38256 | 114 | a,b = input().strip()
if a=="H":
print(b)
else:
if b=="H":
print("D")
else:
print("H") |
s361365493 | p03777 | u626468554 | 1571975034 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 163 | #n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))
a,b = map(int,input().split())
if a==b:
print("H")
else:
print("D") |
s014180432 | p03777 | u897436032 | 1571890940 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | input_ = input().split()
if input_[0] != input_[-1]:
return "D"
else:
return "H" |
s137794830 | p03777 | u281610856 | 1571888603 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | a, b = map(str, input.split())
if a == b:
print('H')
else:
print('D') |
s633837525 | p03777 | u506858457 | 1571495779 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 48 | a,_,b=map(int,input().split())
print('DH'[a==b]) |
s652987350 | p03777 | u506858457 | 1571495745 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b=map(int,input().split())
print('DH'[a==b]) |
s553773656 | p03777 | u506858457 | 1571495654 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b=map(int,input().split())
print('HD'[a==b]) |
s428361696 | p03777 | u246572032 | 1571429099 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | a,b = input()
print('H' if a==b else 'D') |
s717800669 | p03777 | u677400065 | 1571162460 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a,b = map(str, input())
if a == 'H':
print(b)
else:
if b == 'H':
print(a)
else:
print('H')
|
s552321417 | p03777 | u134712256 | 1570214008 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | a,b = input().split()
if a=="H"and b=="H":
print("H")
elif a=="H" and b=="D":
print("D")
elif a=="D" and b=="H":
print("D")
elif a=="D" and b=="D":
print(")
|
s425663030 | p03777 | u945181840 | 1569809585 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | a, b = map(int, input().split())
if a == b:
print('H')
else:
print('D') |
s999778255 | p03777 | u747602774 | 1569686539 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | s=input().split()
if s[0]=s[1]:
print('H')
else:
print('D') |
s675785636 | p03777 | u747602774 | 1569686435 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38256 | 64 | s=input().split()
if s[0]=s[1]:
print('H')
else:
print('D') |
s403214797 | p03777 | u887152994 | 1569376898 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a,b = input()
if a == b :
print('H')
else:
print('D') |
s560909977 | p03777 | u887152994 | 1569376443 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | a = input()
b = input()
if a == b:
print("H")
else:
print("D") |
s545093034 | p03777 | u740047492 | 1569344090 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 197 | a = input()
t = input()
if a == "H" and t == "H":
print("H")
elif a == "H" and t == "D":
print("D")
elif a == "D" and t == "H":
print("D")
elif a == "D" and t == "D"
print("H")
else:
pass |
s392732956 | p03777 | u740047492 | 1569343986 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 157 | a = input()
t = input()
if a == "H" and t == "H":
print("H")
elif a == "H" and t == "D":
print("D")
elif a == "D" and t == "H":
print("D")
else:
pass |
s979550276 | p03777 | u740047492 | 1569343823 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | a = input()
t = input()
if a == t:
print("H")
elif a != t :
print("D")
else:
pass |
s383602086 | p03777 | u740047492 | 1569343777 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 84 | a,t = map(string, input().split())
if a == t:
print("H")
elif a != t:
print("D") |
s813093557 | p03777 | u740047492 | 1569343737 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | a,t = map(string, input().split())
if a == t:
print("H")
elif a != t :
print("D") |
s742540407 | p03777 | u536177854 | 1568918830 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 139 | a,b=input()
if a=='H' and b=='H':
print('H')
elif a=='H' and b=='D':
print('D')
elif a=='D' and b=='D':
print('H')
else:
print('D') |
s996442930 | p03777 | u296518383 | 1568616931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | a,b=map(input().split())
if a==b:
print("H")
else:
print("D") |
s957573769 | p03777 | u970082363 | 1568432160 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | a,b = (int(x) for x in input().split())
if a=="H":
print(b)
else:
if b=="H":
print("D")
else:
print("H")
|
s004182468 | p03777 | u597017430 | 1568305861 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 166 | a, b = map(int, input().split())
if a =='H' and b =='H':
print('H')
elif a =='H' and b =='D':
print('D')
elif a =='D' and b =='H':
print('D')
else:
print('H') |
s970903064 | p03777 | u597017430 | 1568305754 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 163 | a, b = map(int, input().split())
if a ='H' and b ='H':
print('H')
elif a ='H' and b ='D':
print('D')
elif a ='D' and b ='H':
print('D')
else:
print('H')
|
s604130133 | p03777 | u322354465 | 1568271601 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | a, b = map(int, input().split())
if a == b:
print("H")
else:
print("D") |
s186432604 | p03777 | u597455618 | 1567995840 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a, b = input()
if a == b :
print("H")
else:
print("D") |
s538536641 | p03777 | u474925961 | 1567824794 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | import sys
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
a,b=input().split("")
if a==b:
print("H")
else:
print("D")
|
s367734132 | p03777 | u528720841 | 1567362113 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | a,b = input().split()
if a == "H"
if b == "H":
print("H")
else:
print("D")
else:
if b == "H":
print("D")
else:
print("H") |
s798256515 | p03777 | u528720841 | 1567362064 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | a,b = input().split()
if a == 'H'
if b == 'H':
print('H')
else:
print('D')
else:
if b == 'H':
print('D')
else:
print('H') |
s085339402 | p03777 | u562472335 | 1567196596 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | a,b=input().split()
if a=="H":
print(b)
elif b=="H":
print("D")
elif:
print("H") |
s514328244 | p03777 | u033606236 | 1566968599 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38256 | 75 | a, b = map(int,input().split())
if a == b :
print("H")
else:
print("D") |
s950167130 | p03777 | u003501233 | 1566920077 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a,b=input().split()
if a == "H":
print("H")
else if a == "D" and b == "H":
print("D")
else:
print("H") |
s250925898 | p03777 | u532099150 | 1566849291 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 177 | a, b=map(str, input().split())
if a is "H"
if b is "H"
print("H")
else:
print("D")
else:
if b is "H"
print("D")
else:
print("H")
|
s056353695 | p03777 | u538568153 | 1566610045 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | x, y = input.split()
if x == y:
print("H")
else:
print("D") |
s046292016 | p03777 | u357630630 | 1566602572 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 130 | a, b = map(int, input().split())
if a == "H":
print(b)
else:
if b == "H":
print("D")
else:
print("H")
|
s920895462 | p03777 | u546853743 | 1566405246 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | a,b=input()
print("H"if(a==b) else"D") |
s271315080 | p03777 | u229333839 | 1566075112 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 171 | a,b=map(input().split())
if a=="H" and b=="H":
print("H")
elif a=="H" and b=="D":
print("D")
elif a=="D" and b=="H":
print("D")
elif a=="D" and b=="D":
print("H")
|
s123397316 | p03777 | u229333839 | 1566075065 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 162 | a,b=map(input().split())
if a="H" and b="H":
print("H")
elif a="H" and b="D":
print("D")
elif a="D" and b="H":
print("D")
elif a="D" and b="D":
print("H") |
s306355720 | p03777 | u093033848 | 1565930126 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 195 | a, b = map(int, input().split())
if a == "H" and b == "H":
print("H")
elif a == "H" and b == "D":
print("D")
elif a == "D" and b == "H":
print("D")
elif a == "D" and b == "D":
print("H") |
s354028260 | p03777 | u453500284 | 1565881575 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 76 | w, a, b = map(int, input().split())
dis = abs(a - b) - w
print(max(dis, 0))
|
s988661176 | p03777 | u952022797 | 1565880154 | Python | PyPy3 (2.4.0) | py | Runtime Error | 192 | 39280 | 796 | # -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush, heapify
import math
import itertools
import random
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statis... |
s924274957 | p03777 | u379959788 | 1565873071 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 356 | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
int main(){
char a, b;
cin >> a >> b;
bool flag = false;
if (a == 'H' && b == 'H'){
flag = true;
}
if (a == 'D' && b == 'D'){
flag = true;
}
if (flag){
cout << 'H' << endl;
}else{
... |
s969863052 | p03777 | u729535891 | 1565824326 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a, b = map(int, input().split())
if a == b :
print('H')
else :
print('T') |
s179875580 | p03777 | u256464928 | 1565759077 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 72 | a,b = map(input().split())
print("H" if a==b=="H" or a==b=="D" else "D") |
s736264720 | p03777 | u842388336 | 1565651933 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | a,b = input().split()
H_D_map = {"H":1,"D":-1}
a = H_D_map[a]
b = H_D_map[b]
if a*B==1:
print("H")
else:
print("D") |
s995521560 | p03777 | u921027074 | 1565636465 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b=input()
print('H' if a==H & b==H or a==D & b==D else 'D')
|
s953125799 | p03777 | u921027074 | 1565636423 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | a,_,b=input()
print('H' if a==H & b==H or a==D & b==D else 'D')
|
s581027784 | p03777 | u921027074 | 1565636247 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | a,b=input()
print('H' if a==H and b==H or a==D and b==D else 'D')
|
s863219504 | p03777 | u600402037 | 1565609801 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 37 | a,b=input(),split()
print('HD'[a!=b]) |
s175679419 | p03777 | u710927697 | 1565317224 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 178 | a=input('')
b=input('')
if a=='H' and b=='H':
print('H')
elif a=='H' and b=='D':
print('D')
elif a=='D' and b=='H':
print('D')
elif a=='D' and b=='D':
print('H') |
s989068134 | p03777 | u710927697 | 1565316996 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 178 | a=input('')
b=input('')
if a=='H' and b=='H':
print('H')
elif a=='H' and b=='D':
print('D')
elif a=='D' and b=='H':
print('D')
elif a=='D' and b=='D':
print('H') |
s268778979 | p03777 | u665038048 | 1565206996 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 181 | a, b = map(int, input().split())
if a == 'D':
if b == 'H':
print('D')
else:
print('H')
else:
if b == 'D':
print('D')
else:
print('H') |
s730574038 | p03777 | u740767776 | 1565088223 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 67 | a , b = input().split()
if a == b:
print("H"):
else:
print("D") |
s780155174 | p03777 | u027641915 | 1565065478 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | a,b = input().spilt()
if a==b:
print('H')
else:
print('D') |
s836385127 | p03777 | u027641915 | 1565065361 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | a,b = input().spilt()
if (a==b):
print('H')
else:
print('D')
|
s771411607 | p03777 | u571445182 | 1564871039 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 244 | Tmp = []
Tmp = input().rstrip().split(',')
sA = (Tmp[0])
sB = (Tmp[1])
if sA == 'H' and sB == 'H':
print('H')
elif sA == 'H' and sB == 'D':
print('D')
elif sA == 'D' and sB == 'D':
print('H')
elif sA == 'D' and sB == 'H':
print('D')
|
s489399227 | p03777 | u302292660 | 1564453612 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38512 | 149 | a,b = input(),split()
if a=="H" and b=="H":
print("H")
elif a=="H" and b=="D":
print("D")
elif a=="D" and b=="H":
print("D")
else:
print("H") |
s933472235 | p03777 | u083960235 | 1563467886 | Python | Python (3.4.3) | py | Runtime Error | 38 | 5148 | 719 | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.