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
s629381723
p03547
u744898490
1510456038
Python
Python (2.7.6)
py
Runtime Error
10
2568
131
nb = input().split(' ') a, b = int(nb[0],16), int(nb[1], 16) if a > b: print '>' elif a < b: print '<' else: print '='
s524261240
p03547
u744898490
1510455572
Python
Python (3.4.3)
py
Runtime Error
18
3064
135
nb = raw_input().split(' ') a, b = int(nb[0],16), int(nb[1], 16) if a > b: print '>' elif a < b: print '<' else: print '='
s895922007
p03547
u476044037
1510455160
Python
Python (3.4.3)
py
Runtime Error
17
2940
131
X,Y = input().spilit(' ') if int(X,16) < int(Y,16): print("<") elif int(X,16) > int(Y,16): print(">") else: print("=")
s302033193
p03547
u781152930
1510454584
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
# -*- coding: utf-8 -*- X, Y, Z = map(int, input().split()) print(int((X-Z)/(Y+Z)))
s956397744
p03547
u429443682
1510454347
Python
Python (3.4.3)
py
Runtime Error
16
2940
103
x, y = int(input().split(),16) if x > y: print(">") elif x < y: print("<") else: print("=")
s571706933
p03547
u636176595
1510453495
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
list = input().split() x,y,z = list[0],list[1],list[2] num = x%(y+z) if num >= y: print((x/(y+z))+1) else: print(x/(y+z))
s687819789
p03547
u274907892
1510453305
Python
Python (2.7.6)
py
Runtime Error
10
2568
134
X = input() Y = input() if int("X", 16) > int("Y", 16): print(">") elif int("X", 16) < int("Y", 16): print("<") else: print("=")
s057769674
p03547
u274907892
1510453090
Python
Python (2.7.6)
py
Runtime Error
10
2568
129
X = input() Y = input() if int(X, 16) > int(Y, 16): print(">") elif int(X, 16) < int(Y, 16): print("<") else: print("=")
s846504268
p03547
u257974487
1510452713
Python
Python (3.4.3)
py
Runtime Error
16
2940
140
a,b = map(str,input().split()) A = 1 B = 2 C = 3 D = 4 E = 5 F = 6 if a < b: print("<") elif a = b: print("=") else: print(">")
s596966474
p03547
u456877307
1510452707
Python
Python (2.7.6)
py
Runtime Error
10
2568
330
a = raw_input() b = raw_input() dic = { "0":0, "1":1, "2":2, "3":3, "4":4, "5":5, "6":6, "7":7, "8":8, "9":9, "A":10, "B":11, "C":12, "D":13, "E":14, "F":15} aa = dic[a] bb = dic[b] if(aa < bb): y = "<" elif(aa > bb): y = ">" else: y = "=" ...
s475547849
p03547
u456877307
1510452636
Python
Python (2.7.6)
py
Runtime Error
10
2568
365
# coding: utf-8 # Your code here! a = raw_input() b = raw_input() dic = { "0":0, "1":1, "2":2, "3":3, "4":4, "5":5, "6":6, "7":7, "8":8, "9":9, "A":10, "B":11, "C":12, "D":13, "E":14, "F":15,} aa = dic[a] bb = dic[b] if(aa < bb): y = "<" elif(aa > bb)...
s360017223
p03547
u942033906
1510452627
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
x,y = input().split() if x < y: print('<') elif x == y: print('=') else print('>')
s016737633
p03547
u319612498
1510452563
Python
Python (3.4.3)
py
Runtime Error
16
2940
2
if
s786693707
p03547
u698535708
1510452482
Python
Python (3.4.3)
py
Runtime Error
17
3060
126
X, Y = input().split() X = int(X, 16) Y = int(Y, 16) if A < B: print('<') elif A > B: print('>') else: print('=')
s475970241
p03547
u007808656
1510452468
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38640
80
a,b=input.split() if a<b: print('<') elif a>b: print('>') else: print("=")
s196710952
p03547
u517327166
1510452182
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
S = raw_input().split() if ord(S[0])<ord(S[1]): print("<") elif ord(S[0])>ord(S[1]): print(">") else: print("=")
s183695232
p03547
u125205981
1510452150
Python
Python (3.4.3)
py
Runtime Error
17
2940
155
def main(): X, Y = map(int, input().split()) if X > Y: print('>') elif X < Y: print('<') else: print('=') main()
s221456569
p03547
u825528847
1510452108
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
X, Y = map(int, input().split()) X = ord(X) Y = ord(Y) if X < Y: print("<") elif X > Y: print(">") else: print("=")
s347626096
p03548
u344959959
1599669492
Python
Python (3.8.2)
py
Runtime Error
28
9120
92
a,b,c = map(int,input().split()) #lis = list(map(int,input().split())) print((a-c)//(b+z))
s466508154
p03548
u705418271
1599016937
Python
Python (3.8.2)
py
Runtime Error
24
9008
97
x,y,z=int(input().split()) while True: n=0 if n*y+(n+1)*z>x: print(n-1) exit() n+=1
s656096114
p03548
u510331904
1597703124
Python
Python (3.8.2)
py
Runtime Error
25
9016
13
64145 123 456
s556542914
p03548
u898058223
1597414707
Python
Python (3.8.2)
py
Runtime Error
24
9096
68
x,y,z=map(int(input().split())) ans=1 x-=(y+2*z) print(ans+x//(y+z))
s737078573
p03548
u017415492
1597014975
Python
Python (3.8.2)
py
Runtime Error
24
8832
343
using System; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(); int x = int.Parse(input[0]); int y = int.Parse(input[1]); int z = int.Parse(input[2]); Console.WriteLine( (x-z)/(...
s295379247
p03548
u729119068
1592608669
Python
Python (3.8.2)
py
Runtime Error
24
9156
57
a,b,c=map(int, input().split()) print((a-b-2*c)//(b+C)+1)
s909686414
p03548
u343490140
1592418939
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
x, y, z = map(int, input().split()) print((x-z)//(y+z)
s613030807
p03548
u730769327
1591262050
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38256
98
z,y,x=map(int,input()) z-=x count=1 while(1): z-=y+x if z<0: break count+=1 print(count)
s092242115
p03548
u730769327
1591261980
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38512
98
x,y,z=map(int,input()) z-=x count=1 while(1): z-=y+x if z<0: break count+=1 print(count)
s128672247
p03548
u604655161
1590718186
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
X,Y,Z = map(int, input().split()) N=0 while sum<= X: um = Y*N+Z*(N+1) N+=1 print(N-2)
s544957882
p03548
u863370423
1588829410
Python
Python (3.4.3)
py
Runtime Error
18
2940
92
x=int(input("")) y=int(input("")) z=int(input("")) answer= (x-z)//(z+y) print(answer) exit()
s166765848
p03548
u018679195
1588829363
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
x=int(input("")) y=int(input("")) z=int(input("")) answer= (x-z)//(z+y) print(answer);
s250436369
p03548
u816631826
1588829315
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38640
85
x=int(input("")) y=int(input("")) z=int(input("")) answer= (x-z)//(z+y) print(answer)
s743855379
p03548
u353919145
1588829267
Python
Python (2.7.6)
py
Runtime Error
10
2568
85
x=int(input("")) y=int(input("")) z=int(input("")) answer= (x-z)//(z+y) print(answer)
s019847503
p03548
u353919145
1588827448
Python
PyPy2 (5.6.0)
py
Runtime Error
37
28012
67
x=int(input("")) y=int(input("")) z=int(input("")) print(x//(z+y))
s246184773
p03548
u353919145
1588827335
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
x=int(input("")) y=int(input("")) z=int(input("")) print(x//(z+y))
s461481397
p03548
u816631826
1588827272
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
x=int(input()) y=int(input()) z=int(input()) print(x//(z+y))
s058736939
p03548
u353919145
1588827201
Python
Python (2.7.6)
py
Runtime Error
10
2568
61
x=int(input()) y=int(input()) z=int(input()) print(x//(z+y))
s155237569
p03548
u576432509
1587162153
Python
Python (3.4.3)
py
Runtime Error
17
2940
134
icase=0 if icase==0: x,y,z=map(int,input().split()) n=x//(y+z) if x%(y+z)>=z: print(n) else: print(n-1
s968526262
p03548
u767995501
1581774808
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
x, y, z = input(map(int,split()) print(x/(y+z))
s053097558
p03548
u445624660
1581216319
Python
Python (3.4.3)
py
Runtime Error
17
2940
1381
package main /* 予め片方の一端を引いたぶんでかんがえればいいね (X-Z) // ((Y+Z) */ import ( "bufio" "fmt" "os" "reflect" "strconv" ) var sc = bufio.NewScanner(os.Stdin) var out = bufio.NewWriter(os.Stdout) func main() { sc.Split(bufio.ScanWords) defer out.Flush() // !!!!coution!!!! you must use Fprint(out, ) not Print() /* --- c...
s987606142
p03548
u442877951
1580195384
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
X,Y,Z= map(int, input().split()) print(max((X-1)//(Z+Y))
s942045254
p03548
u442877951
1580195076
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
X,Y,Z= map(int, input().split()) print(max(X//(Z+Y)))
s965949881
p03548
u442877951
1580195020
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
X,Y,Z= map(int, input().split()) print(max(X/(Z+Y)))
s768906480
p03548
u843722521
1579323455
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
42
x,y,z=map(int,input()) print((x-1)//(y+z))
s370631637
p03548
u626468554
1576125669
Python
Python (3.4.3)
py
Runtime Error
17
2940
199
#n = int(input()) #n,k = map(int,input().split()) #x = list(map(int,input().split())) x,y,z map(int,input().split()) ans = 1 memo = y+2*z while(memo<=x): ans += 1 memo += y+z print(ans-1)
s629948351
p03548
u223904637
1568334025
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
x,y,z=map(int,input().split()) n=x//y+1 ans-i for i in range(1,n+1): if i*y+(i-1)*z<=x: ans=i print(ans)
s252689729
p03548
u492447501
1566165280
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
X, Y, Z = int(input().split()) print((X-1)//(Y+Z))
s364881708
p03548
u492447501
1566165250
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
X, Y, Z = int(input().split()) print((x-1)//(Y+Z))
s385659974
p03548
u302292660
1565556862
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38256
52
x,y,z = map(int,input().split()) print((x-2)//(Y+Z))
s731248382
p03548
u003501233
1565536333
Python
Python (3.4.3)
py
Runtime Error
20
3064
111
x,y,z=map(int,input().split()) cnt=0 for i in range(49999): if (y*i) + z+(i+1) <= x cnt += 1 print(cnt)
s158780629
p03548
u333190709
1564413796
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38256
124
a, b, c = map(int, input().split()) p = 0 for i in range(x): if (b + c) * i + c <= a: p = i else: break print(p)
s118663728
p03548
u123745130
1563913834
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
x,y,z=int(input().split()) print((x-z)//y)
s099926095
p03548
u681444474
1558313794
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
x,y,z= map(int,input().split()) rem=x-y print(int(rem/(y+z)+1)
s298094273
p03548
u681444474
1558313723
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
x,y,z= map(int,input().split()) rem=x-y print(int(rem/(y+z))
s973553166
p03548
u193690465
1558260381
Python
Python (3.4.3)
py
Runtime Error
17
3064
11172
//includes #include<iostream> #include<vector> #include<set> #include<tuple> #include<algorithm> #include<cmath> #include<string> #include<stack> #include<map> #include<queue> #include<iomanip> #include<numeric> #include<assert.h> #include<cstring> #include<unordered_map> #include<bitset> //macros and consts #define R...
s302861718
p03548
u829249049
1556234300
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
if Y=n: z=n-1 X>n+(n-1)=2n-1 これを満たすnが求める人数
s797711422
p03548
u538956308
1556234097
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
if Y=n: z=n-1 X>n+(n-1)=2n-1 これを満たすnが求める人数
s940662639
p03548
u693694535
1556234035
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
X,Y,Z =input().split() U=(X-Y)/(Y+Z) print(math.floor(U))
s790050738
p03548
u771532493
1554653052
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
import math a,b,c=map(int,input(),split()) a-=c print(math.floor(a/(b+c))
s103609752
p03548
u077075933
1553093110
Python
Python (3.4.3)
py
Runtime Error
18
2940
140
X, y, Z = map(int, input().split()) def solve(): for i in range(int(X/Y)): if(X < i*Y+(i+1)*Z): print(i-1) return solve()
s152555113
p03548
u102960641
1552081781
Python
Python (3.4.3)
py
Runtime Error
18
3064
53
a,b,c = map(int, input().split()) print((x-z)//(y+z))
s040837315
p03548
u332906195
1548585381
Python
Python (3.4.3)
py
Runtime Error
17
2940
182
# -*- coding: utf-8 -*- A, B = input().split() if int(A, 16) = int(B, 16): print('=') elif int(A, 16) > int(B, 16): print('>') elif int(A, 16) < int(B, 16): print('<')
s332974288
p03548
u928784113
1544689489
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
# -*- coding: utf-8 -*- X,Y,Z = map(int,input().split()) a = [] while X >= Z+Y: a.append(1) else: break print(sum(a))
s085964812
p03548
u588633699
1542426598
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
from sys import stdin x,y,z = stdin.readline().split( ) print (int(x)-int(z))/(int(y)+int(z))
s224796520
p03548
u588633699
1542426584
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
from sys import stdin x,y,z = stdin.readline().split() print (int(x)-int(z))/(int(y)+int(z))
s417129798
p03548
u588633699
1542426445
Python
Python (3.4.3)
py
Runtime Error
19
2940
96
from sys import stdin x,y,z = stdin.readline().split() print (int(x)-int(z))/(int(y)+int(z))
s504600066
p03548
u588633699
1542426402
Python
Python (3.4.3)
py
Runtime Error
17
3060
96
from sys import stdin x,y,z = stdin.readline().split() print (int(x)-int(z))/(int(y)+int(z))
s173962880
p03548
u588633699
1542425981
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
x, y, z = map(int, input().split()) print (x-z)%(x+y)
s982709396
p03548
u930862022
1540784908
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
x,y,z = map(int,input().split()) print(int((x-z)/ (y + z))
s649456666
p03548
u138486156
1537844953
Python
Python (3.4.3)
py
Runtime Error
16
2940
123
x, y, z = map(int, input().split()) i = 0 while True: if x - i*y - (i+1)*z >= 0: i += 1 esle: break print(i-1)
s287704514
p03548
u776234436
1528148649
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
X=input() Y=input() Z=input() A = (X-2*Y) // (Y+Z) print(A)
s121359760
p03548
u776234436
1528148475
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
X=int(input()) Y=int(input()) Z=int(input()) A = X // (Y+Z) print(A)
s062746634
p03548
u331192410
1522878563
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
int X = 13 int Y = 3 int Z = 1 int W W = (X/(Y+Z))-1 print("%d", W)
s453560155
p03548
u413411219
1522878336
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
l = input().split() print((l[0]-l[2])/(l[1]+l[2]))
s012216373
p03548
u331192410
1522878303
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
int X = 13 int Y = 3 int Z = 1 int W W = (X/(Y+Z))-1 print W
s019106020
p03548
u413411219
1522878062
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
l = raw_input().split() print((int(l[0])-int(l[2]))/(int(l[1])+int(l[2])))
s259052978
p03548
u413411219
1522877982
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
l = raw_input().split() print((int(l[0])-int(l[2]))/(int(l[1])+int(l[2])))
s201085752
p03548
u413411219
1522877904
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
l = raw_input().split() print((float(l[0])-float(l[2]))/(float(l[1])+float(l[2])))
s968330451
p03548
u413411219
1522877474
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
l = raw_input().split() h = float(l[0])/(float(l[1])+float(l[2])) print(int(h-1))
s682450879
p03548
u413411219
1522877277
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
l = raw_input().split() h = int(l[0])/(int(l[1])+int(l[2])) print(h)
s730102875
p03548
u413411219
1522877221
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
l = raw_input().split() h = int(l[0])/(int(l[1])+int(l[2])) print(h)
s258066411
p03548
u499528507
1522868647
Python
Python (3.4.3)
py
Runtime Error
19
3188
195
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 import math import re import sys args = sys.argv X = args[0] Y = args[1] Z = args[2] # 人数 a = (X-Z)/(Y+Z) print(int(a))
s438473914
p03548
u499528507
1522868039
Python
Python (3.4.3)
py
Runtime Error
19
3188
221
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 import math import re import sys args = sys.argv if __name__ == "__main__": X = args[1] Y = args[2] Z = args[3] # 人数 a = (X-Z)/(Y+Z) int(a)
s302437018
p03548
u766407523
1521633670
Python
Python (3.4.3)
py
Runtime Error
18
3060
153
X, Y, Z = map(int, input().split()) ans = 1 length = Y+2Z while True: if length > X: print(ans) break ans += 1 length += Y+Z
s350451717
p03548
u766407523
1521633605
Python
Python (3.4.3)
py
Runtime Error
17
2940
155
X, Y, Z = map(int, input().split()) ans = 1 length = Y+2Z while True: if length > X: print(ans) break count += 1 length += Y+Z
s937720392
p03548
u855186748
1521315434
Python
Python (3.4.3)
py
Runtime Error
17
3060
103
x,y,z = list(map(int,input().split())) ans = x//(y+z) num = x%(y+z) if num => y: ans+=1 print(ans)
s453805100
p03548
u803647747
1521225988
Python
Python (3.4.3)
py
Runtime Error
19
3064
62
X, Y, Z = list(map(int, input().split())) pritn((X-Z)//(Y+Z))
s081516970
p03548
u563710899
1512176212
Python
Python (3.4.3)
py
Runtime Error
18
2940
102
x,y,z=map(int,input().split()) n=0 while(1): if(n*y+(n+1)*z>x): break n+=1 return(n)
s170212008
p03548
u019584841
1511406184
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
x,y,z=input().split() a=x//(y+z) b=x%(y+z) if b>=z: print(a) else: print(a-1)
s844789617
p03548
u390694622
1511369295
Python
Python (3.4.3)
py
Runtime Error
18
2940
63
X,Y,Z = map(int,input.split(" ")) ans = (X-Z)//(Y+Z) print(ans)
s172028285
p03548
u274907892
1510453989
Python
Python (2.7.6)
py
Runtime Error
11
2568
50
X, Y, Z = map(int, input().split()) print((X-Z)/Y)
s410623795
p03548
u636176595
1510453795
Python
Python (3.4.3)
py
Runtime Error
17
2940
145
list = input().split() x,y,z = list[0],list[1],list[2] x -= z * 2 num = x % (y+z) if num >= y: print((x//(y+z))+1) else: print(x//(y+z))
s369855250
p03548
u274907892
1510453624
Python
Python (2.7.6)
py
Runtime Error
10
2568
52
X = input(); Y = input(); Z = input() print((X-Z)/Y)
s813661698
p03548
u636176595
1510453502
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
list = input().split() x,y,z = list[0],list[1],list[2] num = x%(y+z) if num >= y: print((x/(y+z))+1) else: print(x/(y+z))
s835106124
p03548
u319612498
1510453488
Python
Python (3.4.3)
py
Runtime Error
17
2940
2
jj
s833085952
p03549
u623814058
1599602253
Python
Python (3.8.2)
py
Runtime Error
29
9000
172
N,M=map(int,input().split()) import sympy as sym oo = sym.oo n=sym.symbols('n') t=M*1900+(N-M)*100 p=(1/2)**M q=1-(1/2)**M print(sym.summation(n*t*p*q**(n-1), (n, 1, oo)))
s900614688
p03549
u425762225
1594602645
Python
Python (3.8.2)
py
Runtime Error
25
9060
75
N,M = map(int.input().split()) ans = (1900*M + 100*(N-M))*(2**M) print(ans)
s166525596
p03549
u823885866
1594266886
Python
Python (3.8.2)
py
Runtime Error
113
27228
432
import sys import math import itertools import collections import heapq import re import numpy as np rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rl = lambda: list(map(int, sys.stdin.readl...
s971034640
p03549
u185424824
1593114124
Python
Python (3.8.2)
py
Runtime Error
25
9060
61
N,M = map(int,input().split()) print(1900*M + 100*(N-M))*2**M
s294675023
p03549
u391589398
1592765187
Python
Python (3.8.2)
py
Runtime Error
22
8748
104
n, m = map(int, input().split()) s100 = 100*(n - m) * 2**m s1900 = m * 1900 * 2**m print(s100 + s1900) \
s269228567
p03549
u594956556
1591338609
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
N, M = map(int, input().split()) print((1900*M+100*(N-M))2**M)