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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s430792868 | p03547 | u218494572 | 1544769899 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 79 | x,y = input().split()
print('<') if x < y elif x > y print('>') else print('=') |
s202050558 | p03547 | u960513073 | 1544544998 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 124 | x,y = list(map(int, input().split()))
if ord(x) < ord(y):
print("<")
elif ord(x) > ord(y):
print(">")
else:
print("=") |
s909981677 | p03547 | u928784113 | 1544425333 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 133 | X,Y = map(int,input().split())
S = [X,Y]
map(hex,S)
P = S[0]
Q = S[1]
if P>Q:
print(">")
elif P==Q:
print("=")
else:
print("<") |
s497065457 | p03547 | u928784113 | 1544425206 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 150 | # -*- coding: utf-8 -*-
X,Y = map(int,input().split())
S = [X,Y]
map(hex,S)
P = S[0]
Q = S[1]
if P>Q:
print(>)
elif P=Q:
print(=)
else:
print(<) |
s608213901 | p03547 | u108534906 | 1544133926 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 336 | X=input()
Y=input()
if(X=='A'):
X=10
elif(X=='B'):
X=11
elif(X=='C'):
X=12
elif(X=='D'):
X=13
elif(X=='E'):
X=14
elif(X=='F'):
X=15
if(Y=='A'):
X=10
elif(Y=='B'):
Y=11
elif(Y=='C'):
Y=12
elif(Y=='D'):
Y=13
elif(Y=='E'):
Y=14
elif(Y=='F'):
Y=15
if(X>Y):
print(">")
else... |
s364223271 | p03547 | u848647227 | 1542681214 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 172 | ar = ["A","B","C","D","E","F"]
a = input().split(" ")
if ar.index(a[0]) > ar.index([1]):
print(">")
elif ar.index(a[0]) == ar.index(a[1]):
print("=")
else:
print("<") |
s221162998 | p03547 | u588633699 | 1542424351 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | x, y = map(hex, input().split())
if x<y :
print('<')
elif x>y :
print('>')
else:
print('=')
|
s247903054 | p03547 | u588633699 | 1542424166 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 106 | x, y = map(hex, input().split())
if(x<y){
print('<')
} else if(x>y){
print('>')
} else{
print('=')
}
|
s341305220 | p03547 | u018679195 | 1542341980 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 563 | #include<stdio.h>
int main()
{ char a[3],A=10,B=11,C=12,D=13,E=14,F=15;
int i;
gets(a);
for(i=0;i<3;i++)
{if(a[i]=='A')
a[i]=10;
if(a[i]=='B')
a[i]=11;
if(a[i]=='C')
a[i]=12;
if(a[i]=='E')
a[i]=14;
if(a[i]=='F... |
s293587209 | p03547 | u561828236 | 1541719373 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 133 | x,y = map(str,input().split())
x = int(x,16)
y = int(y,16)
if x<y:
print("<")
elif x == y:
print("=")
else:
ptiny(">")
|
s340296939 | p03547 | u561828236 | 1541719254 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 132 | x,y = map(str,input().split())
x = int(x,16)
y = int(y,16)
if x<y:
print("<")
elif x == y:
print("=")
eldr:
ptiny(">") |
s718938695 | p03547 | u855985627 | 1540925699 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | x=[input().split(' ')]
if x[0]==x[1]:
print('=')
elif:
tmp=x[0]
x.sort()
if x[0]==tmp:
print('<')
else:
print('>')
|
s524382282 | p03547 | u897302879 | 1540865578 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 87 | x, y = input(), input()
if x < y: print('<')
if x == y: print('=')
if x > y: print('>') |
s390321270 | p03547 | u328755070 | 1540336831 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | X, Y = list(map(int, input().split()))
X = int(X, 16)
Y = int(Y, 16)
if X < Y:
ans = '<'
elif X > Y:
ans = '>'
else:
print('=')
|
s512642552 | p03547 | u484856305 | 1538880857 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 91 | x,y=map(int,input().split())
if x>y:
print(">")
elif x<y:
print("<")
else:
print("=") |
s065110363 | p03547 | u940102677 | 1538373061 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | x = int(input(),16)-int(input(),16)
if x > 0:
print(">")
elif x < 0:
print("<")
else:
print("=") |
s058089509 | p03547 | u325264482 | 1537329665 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 112 | A, B = list(map(int, input().split()))
if A < B:
print("<")
elif A > B:
print(">")
else:
print("=") |
s732324744 | p03547 | u457901067 | 1535138390 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a, b = map(input().split())
if a < b:
print("<")
elif a > b:
print(">")
else:
print("=") |
s935518091 | p03547 | u636311816 | 1534709843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | x,y=input.split()
res='='
if x<y:res='<'
if x>y:res='>'
print(res) |
s410501002 | p03547 | u636311816 | 1534709636 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | x,y=input.split();print('<'if x<y else '>'if x>y else'=') |
s276939238 | p03547 | u879870653 | 1534207693 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 240 | X,Y = map(str,input().split())
L = ["A","B","C","D","E","F"]
for i in range(6) :
if L[i] == X :
lx = i
elif L[i] == Y :
ly = i
if lx < ly :
print("<")
elif lx > ly :
print(">")
else :
print("=")
|
s018579566 | p03547 | u048945791 | 1533777550 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | x, y = input().split()
if x > y:
print(">")
elsif x == y:
print("=")
else:
print("<") |
s416607062 | p03547 | u629287683 | 1533269527 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 167 | n, z, w = map(int, input().split())
a = [int(x) for x in input().split()]
if n == 1:
print(abs(a[0]) - w)
else:
print(max(abs(a[n-2]-a[n-1]), abs(a[n-1]-w))) |
s433514130 | p03547 | u796060588 | 1533261861 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 288 | # utf-8:
def main():
X, Y = map(str, raw_input().split())
d = {"A": 10, "B": 11, "C": 12, "D": 13, "E": 14, "E": 15}
if d[X] < d[Y]:
print("<")
elif d[X] > d[Y]:
print(">")
elif d[X] == d[Y]:
print("=")
if __name__ == '__main__':
main()
|
s462263360 | p03547 | u796060588 | 1533261816 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2692 | 288 | # utf-8:
def main():
X, Y = map(str, raw_input().split())
d = {"A": 10, "B": 11, "C": 12, "D": 12, "E": 12, "E": 12}
if d[X] < d[Y]:
print("<")
elif d[X] > d[Y]:
print(">")
elif d[X] == d[Y]:
print("=")
if __name__ == '__main__':
main()
|
s399811868 | p03547 | u513081876 | 1533235408 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 143 | xx, y = map(str, input().split())
if int(x, 16) < int(y, 16):
print('<')
elif int(x, 16) == int(y, 16):
print('=')
else:
print('>') |
s771159070 | p03547 | u446687234 | 1531892802 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 99 | a,b=map(int,input().split())
if a > b:
print(">")
else if a < b:
print("<")
else:
print("=")
|
s193545057 | p03547 | u457266110 | 1530055585 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 132 | a,b= list(map(str,input().split()))
x = hex(a)
y = hex(b)
if x < y:
print('<')
elif x > y:
print('>')
else:
print('=') |
s168128532 | p03547 | u439396449 | 1529883696 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 657 | N, Z, W = map(int, input().split())
A = [int(x) for x in input().split()]
memo = [[None for _ in range(2)] for _ in range(2010)]
def f(i, p, x, y):
"""
i番目にx, yが手持ちのとき、プレイヤーpが引いたときのスコア
"""
if i == N:
return abs(x - y)
if memo[i][p]:
return memo[i][p]
if p == 0:
score ... |
s030927847 | p03547 | u409064224 | 1529774823 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 315 | x,y = str(input()),str(input())
def rep(a):
if a == 'A':
a = 10
elif a == "B":
a = 11
elif a == "C":
a = 12
elif a == "D":
a = 13
elif a == "E":
a = 14
elif a == "F":
a = 15
return None
rep(x)
rep(y)
if x < y:
print("<")
elif x > y:
print(">")
else:
print("=")
|
s691924859 | p03547 | u502709453 | 1529368982 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | x,y=input().split()
print('<' if x<y else if x==y '=' else '>') |
s799548506 | p03547 | u776234436 | 1528146903 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2692 | 145 | l2 = raw_input().split()
l= [int(s, 16) for s in l2]
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s402729203 | p03547 | u776234436 | 1528146811 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 151 | l = raw_input().split()
l2= [int(s, 16) for s in l]
if l2[0] < l2[1]:
print("<")
elif l2[0] = l2[1]:
print ("=")
elif l2[0] > l2[1]:
print(">")
|
s094300195 | p03547 | u776234436 | 1528146684 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 145 | l2 = raw_input().split()
l= [int(s, 16) for s in l2]
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s374681886 | p03547 | u776234436 | 1528146494 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | l = map(int(input(), 16).split())
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">")
|
s953435560 | p03547 | u776234436 | 1528146440 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | l = map(int(raw_input(), 16).split())
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">")
|
s721011058 | p03547 | u776234436 | 1528146165 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | l = list(map(int(input(), 16).split))
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">")
|
s688212221 | p03547 | u776234436 | 1528146088 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 124 | l = list(int(input(),16).split)
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s672902848 | p03547 | u776234436 | 1528146003 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | l = list(map(int(input(),16).split))
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s218299901 | p03547 | u776234436 | 1528145514 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | l = int(input(),16).split()
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">")
|
s436885277 | p03547 | u776234436 | 1528145350 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | l = raw_int(input(),16).split()
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s829826055 | p03547 | u776234436 | 1528145165 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | l = raw_int(input()).split()
if l[0] < l[1]:
print("<")
elif l[0] = l[1]:
print ("=")
elif l[0] > l[1]:
print(">") |
s803349486 | p03547 | u281303342 | 1524328506 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | X,Y = input().split()
if X==Y:
print("=")
elif(X>Y:
print(">"))
else:
print("<") |
s132672974 | p03547 | u597436499 | 1522937402 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 296 | import sys
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().strip()
x,y = na()
hx = {"A":1, "B":2, "C":3, "D":4, "E":5, "F":6}
if hx[x] > hx[y]:
print(">")
elif hx[x] < hx[y]:
print("<")
else:
print("=")
|
s639858047 | p03547 | u413411219 | 1522878423 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 74 | l = raw_input().split()
print((int(l[0])-int(l[2]))/(int(l[1])+int(l[2]))) |
s327895482 | p03547 | u413411219 | 1522877200 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 68 | l = raw_input().split()
h = int(l[0])/(int(l[1])+int(l[2]))
print(h) |
s442457601 | p03547 | u499528507 | 1522869195 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 223 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
import math
import re
import sys
args = input().split()
X = args[0]
Y = args[1]
Z = args[2]
# 人数
a = (int(X)-int(Z))/(int(Y)+int(Z))
print(int(a)) |
s685601260 | p03547 | u390958150 | 1522811757 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | x,y = [input().split()]
if x == y:
print('=')
elif x > y:
print('>')
else:
print('<') |
s623714546 | p03547 | u127856129 | 1521403991 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a,b=input().split()
if a<b:
print("<")
elif a==b:
print("=")
else a>b:
print(">")
|
s793174022 | p03547 | u127856129 | 1521403885 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | a,b=input().split()
if a<b
print("<")
elif a==b:
print("=")
else a>b:
print(">")
|
s399842062 | p03547 | u127856129 | 1521403794 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | a,b=input().split()
if a<b:
print("<")
elif a==b:
print("=")
else a>b:
print(">")
|
s651529529 | p03547 | u127856129 | 1521403758 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a,b=input().split()
if c<d:
print("<")
elif c==d:
print("=")
else c>d:
print(">")
|
s850979218 | p03547 | u127856129 | 1521403684 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | a,b=input().split()
c=ord(input(a))
d=ord(input(b))
if c<d:
print("<")
elif c==d:
print("=")
else c>d:
print(">")
|
s180254081 | p03547 | u127856129 | 1521403568 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | a,b=input().split()
c=ord(a)
d=ord(b)
if c<d:
print("<")
elif c==d:
print("=")
else c>d:
print(">") |
s054012826 | p03547 | u273201018 | 1521245491 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
A B = input().split()
if A < B:
print('<')
elif A > B:
print('>')
elif A == B:
print('=')
|
s908596835 | p03547 | u273201018 | 1521245477 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
A B = input().split()
if A < B:
print('<')
elif A > B:
print('>')
elif A == B:
print('0')
|
s945624473 | p03547 | u803647747 | 1521223664 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 185 | X = input()
Y = input()
alphabet_list = sorted([X, Y])
if alphabet_list[0] == alphabet_list[1]:
print("=")
#pass
elif X == alphabet_list[0]:
print("<")
else:
print(">") |
s211022993 | p03547 | u663710122 | 1521080064 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 40 | print('<' if input() < input() else '>') |
s412979311 | p03547 | u846552659 | 1519523071 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 271 | <?php
fscanf(STDIN, "%s %s", $x, $y);
$factors = [];
for ($tmp = 0; $tmp < 6; $tmp++){
$factors[chr(ord('A')+$tmp)] = $tmp+10;
}
if ($factors[$x] < $factors[$y]){
print "<\n";
} else if($factors[$x] > $factors[$y]){
print ">\n";
} else {
print "=\n";
}
?> |
s818939610 | p03547 | u319612498 | 1519064081 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | x,y=map(str,input().split())
x=int(x,16)
y=int(y,16)
if x<y:
print(<)
elif x==y:
print(=)
else:
print(>)
|
s849684240 | p03547 | u319612498 | 1519064012 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | x,y=map(str,input().split())
x=int(x,16)
y=int(y,16)
if int(x)<int(y):
print(<)
elif x==y:
print(=)
else:
print(>)
|
s795633389 | p03547 | u319612498 | 1519063778 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 150 | x,y=map(str,input().split())
"A"="1"
"B"="2"
"C"="3"
"D"="4"
"E"="5"
"F"="6"
if int(x)<int(y):
print(<)
elif x==y:
print(=)
else:
print(>) |
s189303331 | p03547 | u454481887 | 1517969954 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | x,y = input().split(" ")
if x < y:
print("<")
elif x > y:
print(">")
else x == y:
print("=") |
s706763433 | p03547 | u454481887 | 1517969810 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | x,y = input().split()
if x < y:
print("<")
elif x > y:
print(">")
else x == y:
print("=") |
s968053547 | p03547 | u646913185 | 1517815388 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a, b =raw_input().split(" ")
if a == b:
print "="
elif a < b
print "<"
elif a > b
print ">" |
s137652225 | p03547 | u103539599 | 1515179242 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 99 | a,b=map(int, input().split())
if a<b:
print('<')
elif a>b:
print('>')
else:
print('=') |
s314819271 | p03547 | u586577600 | 1514839033 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | x, y = map(int, input().split())
if x < y:
print('<')
elif x > y:
print('>')
else:
print('=')
|
s497417504 | p03547 | u846150137 | 1514591787 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | a,b=[int('x',i) for i in input.split(' ')]
if a==b:
print('=')
else a>b:
print('>')
else:
print('<') |
s757171228 | p03547 | u443630646 | 1513172827 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | a, b = input().split()
if a > b:
print('>')
elif a < b:
print('<')
else: print('=') |
s229094625 | p03547 | u536081558 | 1512859656 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 63 | x, y, z = map(int, raw_input().split())
print (x - z) / (y + z) |
s418268022 | p03547 | u707500405 | 1512825199 | Python | Python (3.4.3) | py | Runtime Error | 151 | 12500 | 191 | import numpy as np
ans = ["<", "=", ">"]
m = np.full((6, 6), 1, mp.int64)
m[np.tri(6) == 0] = 2
m[np.tri(6).T == 0] = 0
X, Y = map(lambda x: ord(x) - 65, input().split())
print(ans[m[X][Y]])
|
s613687289 | p03547 | u707500405 | 1512824524 | Python | Python (3.4.3) | py | Runtime Error | 149 | 12508 | 168 | import numpy as np
ans = np.full((6, 6), "=")
ans[np.tri(6) == 0] = "<"
ans[np.tri(6).T == 0] = ">"
X, Y = map(lambda x: ord(x) - 65, input().split())
print(ans[X][Y])
|
s958862861 | p03547 | u563710899 | 1512176035 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 155 | X,Y=input().split()
dic={"A":1,"B":2,"C":3,"D":4,"E":5,"F":6}
if(dic[X]<dix[Y]):
print("<")
elif(dic[X]>dic[Y]):
print(">")
else:
print("=")
|
s847159293 | p03547 | u019584841 | 1511406643 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | X,Y,Z = map(int,input().split(" "))
ans = (X-Z)//(Y+Z)
print(ans)
|
s166802936 | p03547 | u019584841 | 1511406510 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 63 | X,Y,Z = map(int,input().split())
ans = (X-Z)//(Y+Z)
print(ans)
|
s346776805 | p03547 | u019584841 | 1511405501 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 109 | x=input()
y=input()
A,B,C,D,E,F=1,2,3,4,5,6
if x > y:
print(">")
elif x==y:
print("=")
else:
print("<") |
s330060800 | p03547 | u880646180 | 1511151009 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 253 | s1 = input()
s2 = input()
x, y, z = [int(i) for i in s1.split()]
l = [int(i) for i in s2.split()]
if x = 1:
print(abs(z - l[x-1]))
else:
if abs(z - l[x-1]) > abs(l[x-1] - l[x-2]):
print(abs(z - l[x-1]))
else:
print(abs(l[x-1] - l[x-2])) |
s588095919 | p03547 | u880646180 | 1511150850 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 236 | x, y, z = [int(i) for i in input().split()]
l = [int(i) for i in input().split()]
if x = 1:
print(abs(z - l[x-1]))
else:
if abs(z - l[x-1]) > abs(l[x-1] - l[x-2]):
print(abs(z - l[x-1]))
else:
print(abs(l[x-1] - l[x-2])) |
s195206188 | p03547 | u564412408 | 1511147300 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 69 | N, M = map(int, input().split())
print((100*(N-M) + 1900*M)*pow(2,M)) |
s557167051 | p03547 | u564412408 | 1511147164 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | N, M = map(int, input().split())
print((100*(N-M) + 1900*M)*pow(2,M)) |
s974745342 | p03547 | u880646180 | 1511123882 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 196 | a, b = input().split
if a.isdigit():
a = int(a)
else:
a = ord(a) - 50
if b.isdigit():
b = int(b)
else:
b = ord(b) - 50
if a > b:
print("<")
elif a < b:
print(">")
else:
print("=")
|
s552663659 | p03547 | u495415554 | 1511044713 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 77 | a, b, c = map(int, input().split())
max = int((a + c) / (b + 2*c))
print(max) |
s462770716 | p03547 | u495415554 | 1511044625 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | a, b, c = map(int, input().split())
max = int((a + c) / (b + 2*c))
print(max) |
s105742720 | p03547 | u495415554 | 1511044535 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | import math
# 入力
a, b, c = map(int, input().split())
max = math.floor((a + c) / (b + 2*c))
print(max) |
s962473452 | p03547 | u495415554 | 1511044339 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 174 | import sys
import math
# 入力
a, b, c = map(int, input().split())
# 計算
if a == (b + 2*c):
print("1")
else:
max = math.floor((a + c) / (b + 2*c))
print(max) |
s922822121 | p03547 | u495415554 | 1511044232 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 271 | import sys
import math
# 入力
a, b, c = map(int, input().split())
# 計算
if a < (b + 2*c):
print("a >= b + 2*cとなるようにしてください")
sys.exit()
elif a == (b + 2*c):
print("1")
else:
max = math.floor((a + c) / (b + 2*c))
print(max) |
s302193482 | p03547 | u191557685 | 1511040599 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 390 | import sys;
lines = sys.stdin.readlines();
#配列の宣言
alfabet = {};
#値の格納
alfabet['A'] = 1;
alfabet['B'] = 2;
alfabet['C'] = 3;
alfabet['D'] = 4;
for i, line in enumerate(lines):
#値を受け取り格納
first,second = line.split();
if(alfabet[first]<alfabet[second]):
print ("<");
elif(alfabet[first]>alfabet[second]):
... |
s335268727 | p03547 | u892712833 | 1510881537 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | t=input().split(" ")
X=int(t[0])
Y = int(t[1])
Z = int(t[2])
print((X-Z)//(Y+Z)) |
s574331429 | p03547 | u876338466 | 1510838957 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 104 | i1=input().split()
if i[0] > i[1]:
print('>')
elif i[0] < i[1]:
print('<')
else:
print('=') |
s043113833 | p03547 | u782516204 | 1510699398 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 216 | from sklearn.datasets import load_digits
input, ground_truth = load_digits(return_X_y=True)
l = input().split()
a = int(l[0],16)
b = int(l[1],16)
if a == b:
print("=")
elif a < b:
print("<")
else:
print(">") |
s978583451 | p03547 | u782516204 | 1510698624 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 215 | from sklearn.datasets import load_digits
input, ground_truth = load_digits(return_X_y=True)
l = input().split()
a = int(l[0],16)
b = int(l[1],16)
if a == b:
print("=")
elif a < b:
print("<")
else:
print(">") |
s456225202 | p03547 | u959470438 | 1510638939 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 74 | N, M = map(int, input().split())
print((1900 * M + 100 * (N - M)) * 2**M) |
s223695455 | p03547 | u827062497 | 1510524452 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 11 | print(test) |
s442165255 | p03547 | u422104747 | 1510490230 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | x,y=input.split()
if x>y:
print(">")
elif x<y:
print("<")
else:
print("=") |
s131977503 | p03547 | u774411119 | 1510474140 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 166 | I=input()
s=I.split(" ")
A=11
B=12
C=13
D=14
E=15
F=16
LIST=[A,B,C,D,E,F]
X=int(s[0])
Y=int(s[1])
if X>Y:
print(">")
if X<Y:
print("<")
else:
print("=")
|
s540437160 | p03547 | u626881915 | 1510459380 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 248 | import math
n, m = map(int, input().split())
s = 0
p = [0.0]
k = 1
s_old = -1.0
while s - s_old >= 0.0000001:
pr = (1 - sum(p)) / (2**m)
p.append(pr)
s_old = s
s += (1900 * m + 100 * (n - m)) * k * pr
k += 1
print(math.ceil(s))
|
s686300720 | p03547 | u319612498 | 1510458475 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 106 | [X,Y]=input().split()
2.if X > Y:
3. print(">")
4.elif X==Y:
5. print("=")
6.else:
7. print("<")
|
s080344964 | p03547 | u456877307 | 1510457841 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 101 | a, b = raw_input().split()
a = int(a)
b = int(b)
nnn = a-b
nn = 2**b
n = (1900*b+100*nnn)*nn
print(n) |
s623164751 | p03547 | u744898490 | 1510456603 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | nb = raw_input().split(' ')
x, y, z = int(nb[0]), int(nb[1]), int(nb[2])
ans = int((x-z)/(y+z))
print(ans) |
s109462207 | p03547 | u744898490 | 1510456567 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | nb = input().split(' ')
x, y, z = int(nb[0]), int(nb[1]), int(nb[2])
ans = int((x-z)/(y+z))
print(ans) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.