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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s224111423 | p03546 | u263612046 | 1511065311 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 429 | H,W = map(int,input().split())
ds = [list(map(int,input().split())) for i in range(10)]
for k in range(10):
for i in range(10):
for j in range(10):
ds[i][j] = min(ds[i][k] + ds[k][j], ds[i][j])
ans = 0
for i in range(H):
row = list(map(int,inpu... |
s491576680 | p03546 | u263612046 | 1511065223 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 399 | from scipy.sparse.csgraph import dijkstra
H, W = map(int,input().split())
c = [[0 for i in range(10)] for j in range(10)]
for i in range(10):
c[i] = list(map(int, input().split()))
t = dijkstra(c)
ans = 0
for i in range(H):
for k in map(int, input().split()):
... |
s189735693 | p03546 | u263612046 | 1511065139 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 399 | from scipy.sparse.csgraph import dijkstra
H, W = map(int,input().split())
c = [[0 for i in range(10)] for j in range(10)]
for i in range(10):
c[i] = list(map(int, input().split()))
t = dijkstra(c)
ans = 0
for i in range(H):
for k in map(int, input().split()):
... |
s643066272 | p03546 | u779602548 | 1511064609 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 348 | H, W = map(int, input().split())
C = [list(map(int, input().split())) for _ in range(10)]
A = [list(map(int, input().split())) for _ in range(H)]
for k in range(10):
for i in range(10):
for j in range(10):
C[i][j] = min(C[i][j], C[i][k] + C[k][j])
print(sum([sum(map(lambda a: 0 if a == -1 else C... |
s039749809 | p03546 | u779602548 | 1511064539 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 347 | H, W = map(int, input().split())
C = [list(map(int, input().split())) for _ in range(10)]
A = [list(map(int, input().split())) for _ in range(H)]
for k in range(4):
for i in range(10):
for j in range(10):
C[i][j] = min(C[i][j], C[i][k] + C[k][j])
print(sum([sum(map(lambda a: 0 if a == -1 else C[... |
s664602851 | p03546 | u225528554 | 1511064370 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3192 | 1757 | def dijkstra(graph,src):
if graph is None:
return None
nodes = [i for i in range(len(graph))]
visited=[]
if src in nodes:
visited.append(src)
nodes.remove(src)
else:
return None
distance={src:0}
for i in nodes:
distance[i]=int(graph[src][i])
path={... |
s131495930 | p03546 | u488497128 | 1511062783 | Python | Python (3.4.3) | py | Runtime Error | 1197 | 21380 | 934 | import sys
import numpy as np
def dijk(edge_list, start):
queue = []
dist = [100000 for i in range(10)]
dist[start] = 0
queue.append([i for i in range(10)])
while len(queue) != 0:
index = np.argmin(map(lambda x: dist[x], queue))
node = queue.pop(index)
for child in edge_list... |
s860686028 | p03546 | u846150137 | 1511062765 | Python | Python (3.4.3) | py | Runtime Error | 74 | 3972 | 525 | h,w=[int(i) for i in input().split(" ")]
m=[[0 for i in range(10)]for i in range(10)]
for i in range(10):
m[i]=[int(i) for i in input().split(" ")]
def rmin(b,yt,ys,m):
if i in range(10):
if yt + m[b][i] + m[i][1] < ys:
ys =yt + m[b][i] + m[i][1]
if yt + m[b][i] < ys:
ys =rmin(i , yt + m[b][i... |
s860216564 | p03546 | u540307496 | 1511062755 | Python | Python (3.4.3) | py | Runtime Error | 226 | 12664 | 2777 | import heapq
import numpy as np
H,W = map(int,input().split())
c = np.array([[int(i) for i in input().split()] for i in range(10)])
A = np.array([[int(i) for i in input().split()] for i in range(H)])
#thanks lethe2211!!
class Dijkstra(object):
def dijkstra(self, adj, start, goal=None):
num = len(adj) ... |
s854856786 | p03546 | u488497128 | 1511062731 | Python | Python (3.4.3) | py | Runtime Error | 146 | 12412 | 1012 | import sys
import numpy as np
def dijk(edge_list, start):
queue = []
dist = [100000 for i in range(10)]
dist[start] = 0
queue.append([i for i in range(10)])
while len(queue) != 0:
index = np.argmin(map(lambda x: dist[x], queue))
node = queue.pop(index)
for child in edge_list... |
s894152701 | p03546 | u785205215 | 1511062291 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 1954 | from heapq import heappush, heappop
def dijkstra(adjList, s):
num = len(adjList)
dist = [float("INF") for i in range(10)]
queue = []
heappush(queue,(0,s))
dist[s] = 0
while queue != []:
v_cost, v = heappop(queue)
if dist[v] < v_cost:
continue
for u_cost,... |
s262268520 | p03546 | u667024514 | 1511062263 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 11 | fantastic!! |
s012544879 | p03546 | u667024514 | 1511062243 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 15 | input!!!!
good! |
s556329144 | p03546 | u331159771 | 1511062218 | Python | Python (3.4.3) | py | Runtime Error | 2103 | 4604 | 1547 | def calculate_magic_to_one_route(target, matrix, original_cost=0):
if target == -1:
return 0
min_magic = matrix[target][1]
if original_cost > 0 and min_magic > original_cost:
# print("return: dump")
return min_magic
# print("start: {0} (cost: {1}) to 1".format(target, min_magic))... |
s351227020 | p03546 | u923794601 | 1511062001 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 727 | import networkx as nx
import itertools
def majic_power(c):
graph = nx.DiGraph()
graph.add_nodes_from(range(10))
for s,t in itertools.product(range(10), range(10)):
if s != t:
graph.add_edge(s,t, weight=c[s][t])
return [nx.dijkstra_path_length(graph, i, 1) for i in range(10)]
def wall(A, c):
power = majic_p... |
s211983033 | p03546 | u923794601 | 1511061643 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 703 | import networkx as nx
import itertools
def majic_graph(c):
graph = nx.DiGraph()
graph.add_nodes_from(range(10))
for s,t in itertools.product(range(10), range(10)):
if s != t:
graph.add_edge(s,t, weight=c[s][t])
return graph
def wall(A, c):
majic = majic_graph(c)
cost = 0
for i,j in itertools.product(rang... |
s574279614 | p03546 | u351426847 | 1511060642 | Python | Python (2.7.6) | py | Runtime Error | 43 | 3076 | 1146 | # -*- coding: utf-8 -*-
H, W = map(int, raw_input().split())
c = [[0 for i in range(10)] for j in range(10)]
A = [[0 for i in range(W)] for j in range(H)]
for i in range(10):
n = map(int, raw_input().split())
for j in range(10):
c[i][j] = n[j]
for i in range(H):
n = map(int, raw_input().split())
... |
s604456245 | p03547 | u485349322 | 1600575828 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8972 | 114 | A=1
B=2
C=3
D=4
E=5
F=6
X,Y=input().split()
if X<Y:
pritn("<")
elif X>Y:
print(">")
elif X==Y:
print("=")
|
s429915873 | p03547 | u849073847 | 1600051434 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8948 | 93 | a, b = input().split()
if a < b:
print('<')
elsif a > b:
print('>')
else:
print('=') |
s986365769 | p03547 | u849073847 | 1600051348 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8944 | 92 | a, b = input().split()
if a < b :
print('<')
elsif a > b:
print('>')
else :
print('=') |
s051340850 | p03547 | u849073847 | 1600051236 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9016 | 109 | a, b = input().split()
if ( a < b) :
print('<')
elsif (a > b):
print('>')
else :
print('=')
|
s263662077 | p03547 | u849073847 | 1600050608 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8700 | 93 | a,b=input().split()
if (a<b):
print("<")
elsif (a>b):
print(">")
else:
print("=") |
s527382896 | p03547 | u849073847 | 1600050560 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8940 | 87 | a,b=input().split()
if (a<b):
print("<")
elsif (a>b):
print(">")
else:
print("=") |
s033989418 | p03547 | u411923565 | 1599953684 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9164 | 169 | #78 C - HSI
N,M = map(int,input().split())
# 全て AC となる確率
p = (1/2)**M
# E = 1/p になる
E = 1/p
ans = (1900*M + 100*(N-M))*E
ans = round(ans)
print(ans) |
s766018581 | p03547 | u847033024 | 1599901375 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8900 | 82 | a, b = input()
if a == b:
print('=')
elif a > b:
print('>')
else:
print('<') |
s429229042 | p03547 | u886902015 | 1599847583 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8968 | 97 | x,y=map(int,input().split())
if x<y:
print("<")
elif x>y:
print(">")
else:
print("=") |
s954554744 | p03547 | u250944591 | 1599662343 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8976 | 102 | x,y=map(int,input().split())
if ord(x)<ord(y):print('<')
elif ord(x)>ord(y):print('>')
else:print('=') |
s365061428 | p03547 | u555356625 | 1599073709 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8952 | 173 | A,B=input().split()
mydict = {"A":11, "B":12, "C":14, "D":13, "E":14, "F":15}
print('>') if mydict(A) > mydict(B) else print('<') if mydict(A) < mydict(B) else print('=')
|
s304596953 | p03547 | u555356625 | 1599073629 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8876 | 174 | A,B=input().split()
mydict = {"A":11, "B":12, "C":14, , "D":13, "E":14, "F":15}
print('>') if mydict(A) > mydict(B) else print('<') if mydict(A) < mydict(B) else print('=') |
s475427640 | p03547 | u017415492 | 1597996327 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8888 | 477 | using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
string[] input = ReadLine().Split();
string a = input[0];
string b = input[1];
if (string.Compare(a , b) <0)
{
WriteLine("<");
... |
s521604534 | p03547 | u657208344 | 1597971870 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8952 | 85 | a,b =map(input())
if a == b:
print("=")
elif a < b:
print("<")
else:
print(">") |
s845265333 | p03547 | u226779434 | 1596989109 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8848 | 129 | a,b =input().split()
if a.isalpha() > b.isalpha():
print(">")
elif a.isalpha() < b.isalpha():
print("<")
else:
print("=") |
s566098639 | p03547 | u316603606 | 1596988077 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9100 | 93 | a,b = input ().split ()
if a < b:
print ('<')
elif a > b:
pritn ('>')
else:
print ('=') |
s947658700 | p03547 | u714104087 | 1596667601 | Python | PyPy3 (7.3.0) | py | Runtime Error | 97 | 74724 | 65 | x,y = input().split()
print("<" if x<y else "=" if x=y else ">") |
s826985236 | p03547 | u786020649 | 1596514736 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8860 | 148 | print(['<','=','>'][min(2,max(0,1+int('0x'+input())-int('0x'+input())))a,b=input().split()
print(['<','=','>'][min(2,max(0,1+int(a,16)-int(b,16)))]) |
s003057527 | p03547 | u243159381 | 1596427870 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9004 | 165 | lst=['A','B','C','D','E','F']
a=input()
if lst.index(a[0])>lst.index(a[1]):
print('>')
elif lst.index(a[0])==lst.index(a[1]):
print('=')
else:
print('<') |
s516436527 | p03547 | u107639613 | 1595556099 | Python | PyPy3 (7.3.0) | py | Runtime Error | 81 | 74752 | 295 | import sys
from itertools import accumulate
def input(): return sys.stdin.readline().strip()
def main():
x, y =input().split()
if ord(x) < ord(y):
print("<")
elif ord(X) > ord(y):
print(">")
else:
print("=")
if __name__ == "__main__":
main()
|
s199858539 | p03547 | u997393081 | 1595539709 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8956 | 95 | a,b = input().split()
if a>b:
print('>')
else if a<b:
print('<')
else if a==b:
print('=') |
s848135031 | p03547 | u997393081 | 1595539618 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8892 | 125 | a,b = input().split()
if hex(a)>hex(b):
print('>')
else if hex(a)<hex(b):
print('<')
else if hex(a)==hex(b):
print('=') |
s888991007 | p03547 | u113255362 | 1594860863 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9132 | 218 | a,b=map(str,input().split())
List = ["A","B","C","D","F"]
if a == b:
print("=")
c = 0
d = 0
for i in range(6):
if a == List[i]:
c = i
if b == List[i]:
d = i
if c < d:
print("<")
elif d < c:
print(">") |
s335564796 | p03547 | u780698286 | 1594852540 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9108 | 170 | l = ["A", "B", "C", "D", "E", "F"]
x, y = map(int, input().split())
if l.index(x) > l.index(y):
print(">")
elif l.index(x) < l.index(y):
print("<")
else:
print("=") |
s759288457 | p03547 | u780698286 | 1594852408 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9068 | 99 | x, y = map(int, input().split())
if x > y:
print(">")
elif x < y:
print("<")
else:
print("=") |
s643704594 | p03547 | u769530239 | 1594432206 | Python | PyPy3 (7.3.0) | py | Runtime Error | 95 | 74656 | 55 | x,y=map(input().split())
if(x>y):print(x)
else:print(y) |
s317161566 | p03547 | u391589398 | 1594424444 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8996 | 79 | a, b input().split()
if a==b:
print("=")
else:
print("<" if a < b else ">") |
s513985337 | p03547 | u095021077 | 1594346640 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9096 | 129 | x, y=map(int, input().split())
alp='ABCDEF'
if x==y:
print('=')
elif alp.index(x)<alp.index(y):
print('<')
else:
print('>') |
s744543252 | p03547 | u047931063 | 1593927246 | Python | PyPy3 (7.3.0) | py | Runtime Error | 93 | 74640 | 116 | A, B = map(lambda S: int(S,16), input().split())
if A < B:
print("<")
elif A = B:
print("=")
else:
print(">")
|
s900203343 | p03547 | u047931063 | 1593927215 | Python | PyPy3 (7.3.0) | py | Runtime Error | 190 | 74564 | 115 | A, B = map(lambda S: int(s,16), input().split())
if A < B:
print("<")
elif A = B:
print("=")
else:
print(">") |
s211457377 | p03547 | u917558625 | 1593281023 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9148 | 91 | X,Y=map(int,input().split())
if X<Y:
print('<')
elif X>Y:
print('>')
else:
print('=') |
s231872885 | p03547 | u629607744 | 1592756752 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8988 | 129 | A,B,C,D,E,F = 10,11,12,13,14,15
x,y = map(int,input().split())
if x < y:
print("<")
elif x > y:
print(">")
else:
print("=") |
s077788160 | p03547 | u115877451 | 1592530706 | Python | Python (3.8.2) | py | Runtime Error | 32 | 9044 | 92 | a,b=map(int,input().split())
if a>b:
print('>')
elif a==b:
print('=')
else:
print('<') |
s183171386 | p03547 | u446711904 | 1591984304 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | x,y=input().split()
if ord(x)<ord(y):
print('<')
elif prd(x)>ord(y):
print('>')
else:
print('=') |
s947491300 | p03547 | u626228246 | 1591980009 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a,b = map(int,input().split())
if hex(a) == hex(b):
print("=")
elif hex(a) > hex(b):
print(">")
else:
print("<")
|
s905938902 | p03547 | u626228246 | 1591979931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a,b = map(int,input().split())
if ord(a) == ord(b):
print("=")
elif ord(a) > ord(b):
print(">")
else:
print("<")
|
s688014466 | p03547 | u626228246 | 1591979883 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | a,b = map(int,input().split())
if ord(a) = ord(b):
print("=")
elif ord(a) > ord(b):
print(">")
else:
print("<") |
s040182127 | p03547 | u626228246 | 1591929373 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | a,b = map(int,input().split())
print("<" if ord(b) > ord(a) else ">") |
s352020698 | p03547 | u294385082 | 1591746244 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 98 | x,y = map(int,input().split())
if x > y:
print('>')
elif x < y:
print('<')
else:
print('==') |
s557877470 | p03547 | u391442102 | 1591333972 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | X,Y = map(int, input().split())
l = ['A','B','C','D','E','F']
if l.index(X)>l.index(Y):
print('>')
elif l.index(X)<l.index(Y):
print('<')
else:
print('=') |
s773225497 | p03547 | u945359338 | 1591172661 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 90 | A,B = map(input().split())
if A>B:
print(">")
elif A==B:
print("=")
else:
print("<") |
s516750363 | p03547 | u357751375 | 1591155647 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | x,y = input().split()
li = ['A','B','C','D',,'E','F']
x = li.index(x)
y = li.index(y)
if x < y:
print('<')
elif x > y:
print('>')
else:
print('=') |
s147678488 | p03547 | u738898077 | 1590716106 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | x,y = map(int,input().split())
print(">") if ord(x)>ord(y) else print("<") if ord(x)<ord(y) else print("=") |
s444529146 | p03547 | u551109821 | 1589928322 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 105 | X,Y = map(int,input().split())
if X > Y:
print('>')
elif x == Y:
print('=')
else:
print('<') |
s698265645 | p03547 | u941047297 | 1589898862 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 94 | x, y = list(input())
if x < y:
print('<')
elif x == y:
print('=')
else:
print('>') |
s944546625 | p03547 | u115877451 | 1589423335 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9108 | 150 | n=['A', 'B', 'C', 'D', 'E', 'F']
a,b=map(int,input().split())
c,d=n.index(a),n.index(b)
if c>d:
print('>')
elif c<d:
print('<')
else:
print('=') |
s523017175 | p03547 | u629350026 | 1589337832 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 91 | x,y=map(int,input().split())
if x<y:
print("<")
elif x>y:
print(">")
else:
print("=") |
s813168753 | p03547 | u760636024 | 1589152466 | Python | PyPy3 (2.4.0) | py | Runtime Error | 162 | 38256 | 92 | S = list(map(str, input().split()))
if S == S.soreted():
print("<")
else:
print(">") |
s395859033 | p03547 | u973108807 | 1588640742 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | dic = {'A':10,'B':11,'C':12,'D':13,'E':14,'F':15}
x,y = input().split()
it dic[x] > dic[y]:
print('>')
elif dic[x] < dic[y]:
print('<')
else:
print('=') |
s183325069 | p03547 | u122428774 | 1588564800 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38256 | 79 | a,b = map(chr, input().split())
print("=" if a == b else ">" if a > b else "<") |
s598928577 | p03547 | u828139046 | 1588298288 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 174 | dict = {'A':10,'B':11,'C':12,'D':13,'E':14,'F':15}
x,y = map(int,input().split())
if dict[x] > dict[y]:
print('>')
elif dict[x] == dict[y]:
print('=')
else:
print('<') |
s519899518 | p03547 | u650236619 | 1588177594 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 173 | #要素の探索はlistで→stringでできんか?
list=["A","B","C","D","E","F"]
x=list.index(input())
y=list.index(input())
print("=" if x==y else ">" if x>y else "<")
|
s539768865 | p03547 | u383450070 | 1588165604 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | a,b=map(str,input.split())
print("<" if a<b else ">" if a>b else "=") |
s678446209 | p03547 | u419963262 | 1587994090 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | a,b=map(input().split())
A=chr(a)
B=chr(b)
if A>B:
print(">")
elif A<B:
print("<")
else:
print("=")
|
s879975593 | p03547 | u419963262 | 1587994048 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | a,b=map(int,input().split())
A=chr(a)
B=chr(b)
if A>B:
print(">")
elif A<B:
print("<")
else:
print("=")
|
s776243199 | p03547 | u419963262 | 1587994025 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | a,b=map(int,input().split())
A=ord(a)
B=ord(b)
if A>B:
print(">")
elif A<B:
print("<")
else:
print("=")
|
s711640945 | p03547 | u419963262 | 1587993908 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | A,B=map(int,input().split())
if A>B:
print(">")
elif A<B:
print("<")
else:
print("=")
|
s898611375 | p03547 | u419963262 | 1587993865 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | A,B=int(input())
if A>B:
print(">")
elif A<B:
print("<")
else:
print("=") |
s704591182 | p03547 | u869917163 | 1587863576 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 | X,Y = map(int, input().split())
if X>Y:
print(">")
elif X<Y:
print("<")
else:
print("=") |
s155813681 | p03547 | u227085629 | 1587746638 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | x,y = map(input().split())
if ord(x) < ord(y):
print('<')
elif ord(x) > ord(y):
print('>')
else:
print('=') |
s959256003 | p03547 | u054717609 | 1587515429 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 458 | s1,s2=input().split(",")
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
a=len(s2)
else:
a=len(s1)
for i in range(0,a):
if(s1[i]==s2[i]):
flag=flag+1
elif(s1[i]>s2[i]):
print('>')
break;
elif(s1[i]<s2[i]):
print('<')
break;
if(flag==a):... |
s093992874 | p03547 | u054717609 | 1587514754 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 469 | s1=input()
s2=input()
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
a=len(s2)
else:
a=len(s1)
for i in range(0,a):
if(s1[i]==s2[i]):
flag=flag+1
elif(s1[i]>s2[i]):
print('>')
break;
elif(s1[i]<s2[i]):
print('<')
break;
if(flag==a):
... |
s842911426 | p03547 | u252964975 | 1587265148 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 149 | X,Y=map(str, input().split())
str_list = 'abcdef'
x=str_list.index(X)
y=str_list.index(Y)
if x<y : print('<')
if x==y: print('=')
if x>y : print('>') |
s496433658 | p03547 | u324326379 | 1587055855 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38384 | 88 | x,y=input().split()
if x>y:
print('>')
elif x=y:
print('=')
else:
print('<') |
s146460121 | p03547 | u722628899 | 1586996616 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 128 | from sys import stdin
import math
a=input()
if (a[0]<a[2]):
print("<")
elif(a[0]==a[2])
print("=")
else:
print(">") |
s739111316 | p03547 | u652656291 | 1586810071 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 98 | x,y = map(str,input().split())
if a < b:
print('<')
elif a == b:
print('=')
else:
print('>') |
s216238999 | p03547 | u396266329 | 1586395450 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | x,y = input().split()
x = chr(x)
y = chr(y)
if x > y:
print(">")
elif x < y:
print("<")
else:
print("=") |
s779519855 | p03547 | u373047809 | 1586359415 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a, b = input().split()
print(["<>"[a > b], "="][a = b]) |
s274916768 | p03547 | u772649753 | 1586292975 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 142 | x,y = input().split()
l = [A,B,C,D,E,F]
if l.index(x) < l.index(y):
print("<")
elif l.index(x) > l.index(y):
print(">")
else:
print("=") |
s855249177 | p03547 | u373958718 | 1586289539 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 71 | x,y=input().split()
if x<y:c='<'
else if x>y:c='>'
else: c='='
print(c) |
s771060628 | p03547 | u599669731 | 1585595240 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 167 | a,b=map(str,input().split())
l=tuple("A","B","C","D","E","F")
if l.index(a)<l.index(b):
print("<")
elif l.index(a)==l.index(b):
print("=")
else:
print(">") |
s048539785 | p03547 | u599669731 | 1585593467 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 181 | a,b=map(str,input().split())
l=["A","B","C","D","E","F"]
l=list(map(str,s))
if l.index(a)<l.index(b):
print("<")
elif l.index(a)==l.index(b):
print("=")
else:
print(">") |
s551396428 | p03547 | u599669731 | 1585593147 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | a,b=map(str,input())
l=["A","B","C","D","E"",F"]
if l.index(a)<l.index(b):
print("<")
elif l.index(a)==l.index(b):
print("=")
else:
print(">") |
s791436798 | p03547 | u320763652 | 1585574777 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | a,b = map(int, input().split())
if ord(a) < ord(b):
print("<")
elif ord(a) > ord(b):
print(">")
else:
print("=") |
s065466728 | p03547 | u813098295 | 1585463176 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | x, y = map(ord(), input().split())
if x == y:
print("=")
elif x < y:
print("<")
else:
print(">")
|
s250840865 | p03547 | u813098295 | 1585463082 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 52 | x, y = map(input().split())
print(x if x > y else y) |
s873454207 | p03547 | u697696097 | 1584676978 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 193 | x,y=map(str,input().split().strip())
d={}
d["A"]=1
d["B"]=2
d["C"]=3
d["D"]=4
d["E"]=5
d["F"]=6
xn=int(d[x])
yn=int(d[n])
if xn > yn:
print(">")
elif xn < yn:
print("<")
else:
print("=") |
s488328160 | p03547 | u843318346 | 1584338082 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | alf = ['A','B','C','D','E','F']
a,b = map(str,input().split())
if alf.index(a)<alf.index(b):
print('<')
elif alf.index(a)=alf.index(b):
print('=')
else:
print('>')
|
s041606398 | p03547 | u843318346 | 1584338013 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 160 | alf = ['A','B','C','D','E','F']
a,b = input().split()
if alf.index(a)<alf.index(b):
print('<')
elif alf.index(a)=alf.index(b):
print('=')
else:
print('>') |
s980401167 | p03547 | u231685196 | 1584326952 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | x,y = input()
if x < y:
print("<")
elif x > y:
print(">")
else:
print("=") |
s577664091 | p03547 | u624689667 | 1584304342 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38640 | 92 | x, y = int(input())
if x < y:
print("<")
elif x > y:
print(">")
else:
print("=") |
s380977353 | p03547 | u657208344 | 1583791781 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 85 | x=input()
y=input()
if x==y:
print("=")
elif x < y:
print("<")
else:
print(">") |
s792712215 | p03547 | u489762173 | 1583788985 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | X,Y = list(input.split())
if ord(X) < ord(Y):
print('<')
elif ord(X) > ord(Y):
print('>')
else:
print('=') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.