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
s335984297
p03718
u375616706
1593467472
Python
PyPy3 (7.3.0)
py
Runtime Error
1341
472320
2615
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s605379558
p03718
u375616706
1593467437
Python
PyPy3 (7.3.0)
py
Runtime Error
1301
471716
2615
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s847236239
p03718
u375616706
1593467403
Python
PyPy3 (7.3.0)
py
Runtime Error
1382
466792
2615
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s337356857
p03718
u375616706
1593467244
Python
PyPy3 (7.3.0)
py
Runtime Error
1350
466864
2615
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s504733625
p03718
u375616706
1593467124
Python
PyPy3 (7.3.0)
py
Runtime Error
1287
484144
2622
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s005834049
p03718
u375616706
1593467044
Python
PyPy3 (7.3.0)
py
Runtime Error
1249
472104
2619
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s856533362
p03718
u375616706
1593466898
Python
PyPy3 (7.3.0)
py
Runtime Error
1154
470888
2575
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s378691042
p03718
u375616706
1593460248
Python
PyPy3 (7.3.0)
py
Runtime Error
1087
467188
2684
class FordFulkerson: """max-flow-min-cut O(F|E|) """ def __init__(self,V:int): """ Arguments: V:num of vertex adj:adjedscent list(adj[from]=(to,capacity,id)) """ self.V = V self.adj=[[] for _ in range(V)] self.used=[False]*V d...
s323364323
p03718
u677523557
1592328644
Python
PyPy3 (2.4.0)
py
Runtime Error
1073
279944
2546
# AOJ GRL_6_A "Maximum Flow" # Ford-Fulkerson method import sys input = sys.stdin.readline INF = 10**18 H, W = map(int, input().split()) V = H*W def make(): state = [list(input().rstrip()) for _ in range(H)] graph = [{} for _ in range(2*V)] start = -1 finish = -1 for h in range(H): No...
s912831585
p03718
u170201762
1588187981
Python
PyPy3 (2.4.0)
py
Runtime Error
1070
179208
1599
def dfs(v,t,f,used,graph): if v==t: return f used[v] = True for to in graph[v]: c = graph[v][to] if used[to] or c==0: continue d = dfs(to,t,min(f,c),used,graph) if d>0: graph[v][to] -= d graph[to][v] += d return d re...
s826294559
p03718
u372144784
1586215445
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38384
3751
#ARC074-F Lotus Leaves """ この問題は最小カットに帰着できる。但し、h*wの頂点を持つと間に合わないので、H軸とW軸を独立に考える。 縦H個、横W個の頂点を持つ。 ある座標h,wがoの時、頂点H[h]とW[w]と容量1のネットワークでつなぐ。[sourse,h0,h1,...hH,w0,w1,...wW,sink] startとgoalを最大流の始点、終点として持つのではなく、それとは別にsourse,sinkの2頂点を作る。 startとsourse,goalとsinkを容量INFでつなぐことにより、より簡単に最小カットを求めることが可能になる。 よって、グラフ長はH*W+2となる。 ネットワーク自体は無...
s312742156
p03718
u685263709
1564320155
Python
Python (3.4.3)
py
Runtime Error
2121
280500
2954
# -*- coding: utf-8 -*- import collections import queue class Dinic: def __init__(self, N): self.N = N self.edges = collections.defaultdict(list) self.level = [0 for _ in range(self.N)] self.iter = [0 for _ in range(self.N)] def add(self, u, v, c, directed=True): if di...
s969730111
p03718
u062147869
1533855145
Python
Python (3.4.3)
py
Runtime Error
469
3572
1449
class FK: def __init__(self,n): self.table=[[0]*n for i in range(n)] self.n=n def add(self,x,y,f): self.table[x][y]=f def ford(self,s,t,f): self.visit[s]=True if s==t: return f for i in range(self.n): if (not self.visit[i]...
s417547297
p03718
u243492642
1495334297
Python
Python (3.4.3)
py
Runtime Error
2156
814124
1561
# coding: utf-8 import array, bisect, collections, copy, heapq, itertools, math, random, re, string, sys, time sys.setrecursionlimit(10 ** 7) def II(): return int(input()) def ILI(): return list(map(int, input().split())) def IAI(LINE): return [ILI() for __ in range(LINE)] def IDI(): return {key: value for key, value ...
s263810107
p03718
u226155577
1495331242
Python
PyPy2 (5.6.0)
py
Runtime Error
2130
433448
2285
import collections class Dinic: def __init__(self, n): self.n = n self.g = [[] for i in xrange(n)] def add_edge(self, fr, to, cap): self.g[fr].append([to, cap, len(self.g[to])]) self.g[to].append([fr, 0, len(self.g[fr])-1]) def add_multi_edge(self, v1, v2, cap1, cap2): ...
s749643599
p03719
u607563136
1600214212
Python
Python (3.8.2)
py
Runtime Error
25
9060
72
a,b,c = map(int,input().split()) print("Yes" if c>=a and c<=B else "No")
s576664071
p03719
u344959959
1599670100
Python
Python (3.8.2)
py
Runtime Error
26
9000
109
a,b,c = map(int(input().split())) #lis = list(map(int,input().split())) print("YES" if a <= c <= b else "NO")
s724020675
p03719
u011872685
1599421384
Python
Python (3.8.2)
py
Runtime Error
23
9064
345
import ita N,M=map(int,input().split()) data=ita.array.make1d(2*M) for i in range(0,M): data[2*i],data[2*i+1]=map(int,input().split()) honsu=ita.array.make1d(N) for j in range(0,N): honsu[j]=0 for k in range(0,len(data)): if data[k]==j+1: honsu[j]=honsu[j]+1 for l in range(0,len(honsu)):...
s503010246
p03719
u011872685
1599421348
Python
Python (3.8.2)
py
Runtime Error
28
9144
334
N,M=map(int,input().split()) data=ita.array.make1d(2*M) for i in range(0,M): data[2*i],data[2*i+1]=map(int,input().split()) honsu=ita.array.make1d(N) for j in range(0,N): honsu[j]=0 for k in range(0,len(data)): if data[k]==j+1: honsu[j]=honsu[j]+1 for l in range(0,len(honsu)): print(...
s610674130
p03719
u904995051
1599354045
Python
Python (3.8.2)
py
Runtime Error
25
8996
66
a,b,c = map(int,input().split()) print("Yes",if a<=c<=b else "No")
s186930768
p03719
u675592520
1598819968
Python
Python (3.8.2)
py
Runtime Error
23
8972
61
if ("C">="A"),("C"<="B"): print("Yes") else: print("No")
s292793673
p03719
u925494532
1598759948
Python
Python (3.8.2)
py
Runtime Error
24
8984
98
if C >= A: if C <= B: print('Yes') else: print('No') else: print('No')
s960666405
p03719
u596536048
1598332291
Python
Python (3.8.2)
py
Runtime Error
21
9092
73
A, B, C = map(int, input().split()) print('YES' if a <= c <= b else 'NO')
s228096817
p03719
u369630760
1598295545
Python
Python (3.8.2)
py
Runtime Error
27
9160
86
a,b=map(int,input().split()) if a + b >= 10: print("error") else: print(a + b)
s462765926
p03719
u629709614
1595819324
Python
Python (3.8.2)
py
Runtime Error
23
8940
100
A, B, C = main(int, input().split()) if (C >= A and C <= B): print("Yes") else: print("No")
s679968036
p03719
u334175843
1595132660
Python
Python (3.8.2)
py
Runtime Error
28
9104
390
# a,b,c=map(int,input().split());print("Yes" if a<=c<=b else "No") # a,b,c=map(int,input().split());print('NYoe s'[a<=c<=b::2]) # a,b,c=map(int,input().split()) # print(a,b,c) # import numpy as np # arr = np.fromstring(input(), sep=" ") # print(arr) *s,c=input().split();print(["No","Yes"][int(s[0])<=c<=s[1]]) # prin...
s348763669
p03719
u629709614
1593909515
Python
Python (3.8.2)
py
Runtime Error
24
9072
99
A, B, C = main(int, imput().split()) if (C >= A and C <= B): print("Yes") else: print("No")
s867426167
p03719
u785475109
1592086860
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a, b, c = map(int, input()) if a <= c <= b: print("Yes") else: print("No")
s670502647
p03719
u986661497
1591749464
Python
Python (3.4.3)
py
Runtime Error
18
2940
162
n,k= map(int, input().split()) l=[] for i in range(0,n): a,b= map(int, input().split()) for j in range(0,b): l.append(a) l.sort() print(l[k-1])
s866014516
p03719
u986661497
1591749182
Python
Python (3.4.3)
py
Runtime Error
18
3060
174
n,k= map(int, input().split()) l=[] l.sort() for i in range(0,n): a,b= map(int, input().split()) for j in range(0,b): l.append(a) l.sort() print(l[k-1])
s069098159
p03719
u762042589
1590188129
Python
Python (3.4.3)
py
Runtime Error
18
2940
92
a = input() b = input() c = input() if a < c and c < b: print("Yes") else: print("No")
s303561407
p03719
u250795848
1589754782
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
509
import sys def main(): input = sys.stdin.readline N, K = map(int, input().split()) count1 = 0 count2 = 0 d = [] l = {} for i in range(N): a,b = map(int, input().split()) if not a in d: d.append(a) l[a] = b else: l[a] += b ...
s710839632
p03719
u250795848
1589754642
Python
Python (3.4.3)
py
Runtime Error
17
3064
509
import sys def main(): input = sys.stdin.readline N, K = map(int, input().split()) count1 = 0 count2 = 0 d = [] l = {} for i in range(N): a,b = map(int, input().split()) if not a in d: d.append(a) l[a] = b else: l[a] += b ...
s506264039
p03719
u302679188
1589381091
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a.b.c = int(input().split()) if(a <= c and b >= c): print("Yes") else: print("No")
s548806749
p03719
u302679188
1589379627
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
a = int(input().split()) b = int(input().split()) c = int(input().split()) if(a <= c and b >= c): print("Yes") else: print("No")
s155789909
p03719
u302679188
1589207519
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
a = int(input()) b = int(input()) c = int(input()) if(a <= c and b >= c): print("Yes") else: print("No")
s481648504
p03719
u302679188
1589204414
Python
Python (2.7.6)
py
Runtime Error
10
2568
107
a = int(input()) b = int(input()) c = int(input()) if(a <= c and b >= c): print("Yes") else: print("No")
s489702365
p03719
u302679188
1589204305
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
a = int(input()) b = int(input()) c = int(input()) if(a <= c and b >= c): print("Yes") else: print("No")
s830123923
p03719
u911276694
1588873119
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
A,B,C=map(int,input(),split()) if A<=C and C<=B: print("Yes") else: print("No")
s175065365
p03719
u911276694
1588872885
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
A,B,C=map(int,input(),split()) if A<=C and C<=B: print('Yes') else: print('No')
s254543384
p03719
u017415492
1588871582
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a,b,c=map(int,input().split()) if c>=a andc<=b: print("Yes") else: print("No")
s100621806
p03719
u165268875
1588740298
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
A, B, C = map(int, input().split()) print("Yes" if C >= A and C =< B else "No")
s949864269
p03719
u257442624
1588554446
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
A, B, C = int(input().split) if C >= A and C <= B: print('Yes') else: print('No')
s048518608
p03719
u989306199
1588356063
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a,b,c = map(int, input().split()) print('Yes' ifa<=c<=b else 'No')
s154205382
p03719
u549161102
1587933952
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
N,M = int(input()) S = [list(map(int, input().split())) for i in range(M)] for i in range(1,M+1): print(S.count('i'))
s820938034
p03719
u227085629
1587746901
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b,c = map(int, input().split()) if a <= b <= d: print('Yes') else: print('No')
s686351828
p03719
u803865203
1587609489
Python
Python (3.4.3)
py
Runtime Error
18
3064
651
N,M = map(int,input().split()) array = [tuple(int(x) for x in input().split()) for x in range(M)] score = [-float("inf") for x in range(N)] score[0] = 0 check = 0 while(True): if(N == 0): check = score[-1] elif(N < 0): if(check == score[-1]): pass elif(check > score[-1]): ...
s674072273
p03719
u290187182
1587239348
Python
Python (3.4.3)
py
Runtime Error
39
5272
564
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque from decimal import * import math from functools import reduce def gcd(*numbers): return reduce(math.gcd, numbers) def gcd_list(numbers): return re...
s700004470
p03719
u290187182
1587239328
Python
PyPy3 (2.4.0)
py
Runtime Error
298
65260
564
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque from decimal import * import math from functools import reduce def gcd(*numbers): return reduce(math.gcd, numbers) def gcd_list(numbers): return re...
s357133935
p03719
u102242691
1586918402
Python
Python (3.4.3)
py
Runtime Error
18
3188
453
n,m = map(int,input().split()) s = [[0]*n for _ in range(n)] for _ in range(m): a,b = map(int,input().split()) # print(a,b) s[a-1][b-1] += 1 s[b-1][a-1] += 1 # print(s) for i in range(n): print(sum(s[i])) """ 以下の指定では、一度の値変更で、全ての要素の該当部分の数値が一斉に変わる。 http://delta114514.hatenablog.jp/entry/2018/01/...
s818635951
p03719
u354623416
1586917848
Python
Python (3.4.3)
py
Runtime Error
18
2940
74
a,b,c = map(int, input().split() print('Yes') if a<=c<=b else print('No')
s030728590
p03719
u239475827
1586801932
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
N = [int(input()) for i in range(3)] if N[0] <= N[2] <= N[1]: print("Yes") else: print("No")
s419974211
p03719
u239475827
1586794550
Python
Python (3.4.3)
py
Runtime Error
19
2940
112
N = [int(input()) for i in range(3)] if N[2] > N[0] and N[2] < N[1]: print("Yes") else: print("No")
s551026054
p03719
u852790844
1586559182
Python
Python (3.4.3)
py
Runtime Error
17
2940
175
import numpy as np n, m = map(int,input().split()) c = np.zeros(n) for i in range(m) a, b = map(int,input().split()) c[a-1] + 1 c[b-1] + 1 for i in c: print(i)
s865680783
p03719
u143051858
1586200197
Python
Python (3.4.3)
py
Runtime Error
18
3064
64
a,b,c=map(int,input().split()) print('Yes' if A<=C<=B else 'No')
s664562435
p03719
u929977034
1585800064
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
a, b, c = map(int, input().split) if a <= c <= b: print("Yes") else: print("No")
s041302173
p03719
u634248565
1585707349
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
a, b, c = map(int,input().split()) if a =< c =< b: print ("Yes") else: print ("No")
s036365873
p03719
u634248565
1585707285
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
a, b, c = map(int,input().split()) if c >= a and c =< b: print ("Yes") else: print ("No")
s726674095
p03719
u634248565
1585705662
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
a, b, c = map(int, input().split()) if c > A and c < B: print ("Yes") else: print ("No")
s713516855
p03719
u063346608
1585671650
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
A,B,C = map(int.input().split()) if A <= C <= B: print("Yes") else: print("No")
s224157289
p03719
u777078967
1585531859
Python
Python (3.4.3)
py
Runtime Error
17
3060
221
data=input().rstrip().split() n=int(data[0]) ans=[0 for i in range(n)] m=int(data[1]) for i in range(m): data=input().rstrip().split() ans[int(data[0])-1]+=1 ans[int(data[1])-1]+=1 for j in range(n): print(ans[j])
s166707018
p03719
u760961723
1585197174
Python
Python (3.4.3)
py
Runtime Error
17
2940
143
A, B, C = map(int,input(),split()) flag = False if A <= C: if B>= C: flag = True if flag == True: print("Yes") else: print("No")
s611263055
p03719
u760961723
1585197116
Python
Python (3.4.3)
py
Runtime Error
18
2940
141
A, B, C = map(int,input(),split()) flag = False if A <= C: if B>= C: flag = True if flag == True: print("Yes") else: print("No")
s056325344
p03719
u623819879
1584858501
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38256
59
a,b,c=map(int,input().split());print(' NYoe s'[a<=c<=b::2])
s546772677
p03719
u319452629
1584495470
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
A,B,C =map(int,input().split()) if A =< C =< B: print('Yes') else: print('No')
s692588902
p03719
u842942201
1584058840
Python
Python (3.4.3)
py
Runtime Error
17
2940
201
a = int(input()) b = int(input()) c = int(input()) if -100 <= a and a <= 100 and -100 <= b and b <= 100 and -100 <= c and c <= 100: if c >= a and c <= b: print('Yes') else: print('No')
s411190407
p03719
u842942201
1584055818
Python
Python (3.4.3)
py
Runtime Error
17
2940
200
a = int(input()) b = int(input()) c = int(input()) if (-100 <= a and a <= 100) and (-100 <= b and b <= 100) and (-100 <= c and c <= 100) and c >= a and c <= b: print('Yes') else: print('No')
s678033517
p03719
u842942201
1584054488
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
a = int(input()) b = int(input()) c = int(input()) if c >= a and c <= b: print('Yes') else: print('No')
s358934572
p03719
u137808818
1584039821
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
N,M=map(int,input().split()) A=[list(map(int,input().split())) for _ in range(M)] ans=[0] for a in A: ans[a[0]-1]+=1 ans[a[1]-1]+=1 for a in ans: print(a)
s913869074
p03719
u975719989
1583465062
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a,b,c = int(input()).split() if a <=c and b >= c: print("Yes") else: print("No")
s548293817
p03719
u975719989
1583465025
Python
Python (3.4.3)
py
Runtime Error
17
3064
77
a,b,c = int(input()) if a <=c and b >= c: print("Yes") else: print("No")
s239560454
p03719
u975719989
1583464953
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
a,b,c = int(input()) if a <=c and b >= c: print("Yes") else: print("No")
s540219249
p03719
u606523772
1582839466
Python
Python (3.4.3)
py
Runtime Error
17
3060
254
N, M = map(int, input().split()) root_dic = {} for i in range(N): root_dic[i+1] = 0 for i in range(M): root = list(map(int, input().split())) for i in range(2): root_dic[root[i]] += 1 for i, v in sorted(root_dic.items()): print(v)
s786917239
p03719
u325206354
1582075041
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a,b,c=map(int,input().split()) if a<= c and b=>c: print("Yes") else: print("No")
s603061333
p03719
u287880059
1581597325
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a,b,c = map(int,input()) if c>=a and c<=b: print("Yes") else: print("No")
s539253999
p03719
u162893962
1580935603
Python
Python (3.4.3)
py
Runtime Error
17
3064
513
N, M = map(int, input().split()) ABs = [input().split() for i in range(M)] MPs = {} for a, b in ABs: # この書き方でa,bが取り出せる a = int(a) # intに直すには先に直しておく b = int(b) if a not in MPs: MPs[a] = 1 else: MPs[a] += 1 if b not in MPs: MPs[b] = 1 else: MPs[b] += 1 for m...
s012692849
p03719
u686036872
1579854935
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
C = int(input()) if A <= C <=B: print("Yes") else: print("No")
s758143731
p03719
u896741788
1578929267
Python
Python (3.4.3)
py
Runtime Error
17
3064
60
a,b,c=map(int,input().split()) print("YNeos"[!(a<=c<=b)::2])
s131349817
p03719
u823044869
1578416789
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
a,b,c = map(int,input().split()) if c => a and c =< b: print("Yes") else: print("No")
s443461086
p03719
u993435350
1577393080
Python
Python (3.4.3)
py
Runtime Error
17
3064
290
N , K = map(int,(input().split())) sums = 0 nums = [0] * (10 ** 5 + 1) con = 0 ans = 0 for i in range(N): a,b = map(int,(input().split())) nums[a] += b for i in range(len(nums)): con += nums[i] if K > con: continue elif K <= con: ans = i break print(ans)
s557245014
p03719
u476124554
1577194349
Python
Python (3.4.3)
py
Runtime Error
17
3060
259
n,k = map(int,input().split()) a = [] b = [] for i in range(n): tmp1,tmp2 = map(int,input().split()) a.append(tmp1) b.append(tmp2) counter = k-1 for i in range(n): counter = counter - b[i] if counter <= 0: print(a[i]) break
s233264627
p03719
u609814378
1576712075
Python
Python (3.4.3)
py
Runtime Error
17
2940
1
a
s713124852
p03719
u580236524
1575430897
Python
Python (3.4.3)
py
Runtime Error
18
2940
78
a,b,c = int(input()).split() if a<= c <=b: print('Yes') else: print('No')
s230568219
p03719
u580236524
1575430859
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a,b,c = int(input()).split() if a<= b <=c: print('Yes') else: print('No')
s287769925
p03719
u682985065
1574568447
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38640
784
def bellman_ford(n, edges, s, distance=None): if distance != None: d = distance.copy() else : d = [float('inf')] * n d[s] = 0 loop_cnt = 0 while True: loop_cnt += 1 update = False for i in range(len(edges)): e = edges[i] if d[e...
s811220369
p03719
u993435350
1573965824
Python
Python (3.4.3)
py
Runtime Error
18
3060
235
N , K = map(int,(input().split())) sums = 0 nums = [] for i in range(N): a,b = map(int,(input().split())) sums = b + sums nums.append([sums,a]) for i in range(len(nums)): if nums[i][0] >= K: print(nums[i][1]) break
s006800142
p03719
u527398664
1573641408
Python
PyPy2 (5.6.0)
py
Runtime Error
35
28012
112
a = input().split() b = input().split() c = input().split() if c > a and c < b: print("Yes") else: print("No")
s720269137
p03719
u527398664
1573640911
Python
PyPy2 (5.6.0)
py
Runtime Error
35
27884
88
a = input() b = input() c = input() if c > a and c < b: print("Yes") else: print("No")
s720278623
p03719
u527398664
1573640880
Python
PyPy3 (2.4.0)
py
Runtime Error
180
38384
88
a = input() b = input() c = input() if c > a and c < b: print("Yes") else: print("No")
s933625829
p03719
u527398664
1573640831
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a = input() b = input() c = input() if c > a and c < b: print("Yes") else: print("No")
s214948467
p03719
u637551956
1573498814
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
155
N,K=map(int, input().split()) S = [list(map(int, input().split())) for i in range(N)] l_list=[str(i[0]) for i in S for j in range(i[1])] print(l_list[K-1])
s678116578
p03719
u923659712
1573115728
Python
Python (3.4.3)
py
Runtime Error
17
3064
212
N,K = map(int,input().split()) a = [] M = 0 for i in range(N): a.append(list(map(int,input().split()))) a.sort() print(a) for i in range(N): K = K-a[i][1] if K <= 0: print(a[i][0]) break
s745429642
p03719
u621935300
1572901407
Python
PyPy2 (5.6.0)
py
Runtime Error
37
28652
1386
# -*- coding: utf-8 -*- import sys from collections import deque N,M=map(int, sys.stdin.readline().split()) al=[ [] for _ in range(N+1) ] #隣接リスト rev_al=[ [] for _ in range(N+1) ] #戻りを調べる用の隣接リスト edge=[] #辺の集合 for _ in range(M): a,b,c=map(int, sys.stdin.readline().split()) al[a].append(b) rev_al[b].appen...
s013558339
p03719
u254871849
1572649379
Python
Python (3.4.3)
py
Runtime Error
17
3060
279
N, K = [int(x) for x in input().split()] arr = [0] * (10**5+1) for _ in range(N): a, b = [int(x) for x in input().split()] arr[a] += b remain = K for i in range(1, 10**5+1): if arr[i] != 0: remain -= arr[i] if remain <= 0: print(i) exit()
s452529283
p03719
u895536055
1572437875
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
A, B, C = map(int, input().split()) if C >= A and C <= b: print("Yes") else: print("No")
s953070550
p03719
u042802884
1572150976
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
64
A,B,C=map(int,input().split()) print('Yes' if a<=C<=B else 'No')
s911246083
p03719
u626468554
1572060002
Python
Python (3.4.3)
py
Runtime Error
17
2940
186
#n = int(input()) #n,k = map(int,input().split()) #x = list(map(int,input().split())) a,b,c = input().split() if (c-a >=0) and (b-c >= 0): print("Yes") else: print("No")
s638419478
p03719
u502389123
1569808123
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
A, B, C = map(int, input().split()) if A <= C <= B: print(“Yes”) else: print(“No”)
s570352519
p03719
u502389123
1569807875
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
A, B, C = map(int, input().split()) if A <= C <= B: print(“Yes”) else: print(“No”)
s137938276
p03719
u502389123
1569807765
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
A, B, C = map(int, input().split()) if A <= C <= B: print(“Yes”) else: print(“No”)