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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s666517597 | p02472 | u567267870 | 1545973062 | Python | Python3 | py | Runtime Error | 0 | 0 | 42 | a,b = map(int,input.split())
print(a + b)
|
s921485887 | p02472 | u565812827 | 1551321023 | Python | Python3 | py | Runtime Error | 0 | 0 | 47 | a = int(input())
b = int(input())
print(a + b)
|
s676306528 | p02473 | u536089081 | 1555836850 | Python | Python3 | py | Runtime Error | 0 | 0 | 53 | a, b = [int(i) for i in input().split()])
print(a-b)
|
s685925432 | p02475 | u125481461 | 1546311894 | Python | Python3 | py | Runtime Error | 30 | 6456 | 194 | import math
import decimal
def main():
a, b = map(int, input().split())
decimal.getcontext().prec = int(math.log10(a)) + 1
print(int(decimal.Decimal(a)/decimal.Decimal(b)))
main()
|
s195783146 | p02475 | u125481461 | 1546311980 | Python | Python3 | py | Runtime Error | 30 | 6464 | 199 | import math
import decimal
def main():
a, b = map(int, input().split())
decimal.getcontext().prec = int(math.log10(abs(a))) + 1
print(int(decimal.Decimal(a)/decimal.Decimal(b)))
main()
|
s241018450 | p02475 | u924665348 | 1551335604 | Python | Python3 | py | Runtime Error | 20 | 5588 | 92 | a, b = map(int, input().split())
print((a // abs(a)) * (b // abs(b)) * (abs(a) // abs(b)))
|
s434101148 | p02534 | u963963908 | 1601501813 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9080 | 31 | K = int(input())
print([ACL]*K) |
s435139953 | p02534 | u903629757 | 1601495694 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9032 | 26 | a = input()
print('ACL'*a) |
s919587053 | p02534 | u193880030 | 1601489116 | Python | Python (3.8.2) | py | Runtime Error | 19 | 8980 | 34 | a = input()
a = 'ACL' * a
print(a) |
s760655622 | p02534 | u301905255 | 1601484933 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8816 | 168 | # print a string created by reapeating some string K times.
K = int(input("Enter an integer value between 1 and 5 : ")
strVar = "ACL"
print(strVar * K)
|
s253390730 | p02534 | u614100538 | 1601475704 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8976 | 66 | K=input()
r='ACL'
for i in range(1,int(k)):
r='ACL'+ r
print(r) |
s387844908 | p02534 | u347689092 | 1601447879 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9088 | 69 | x = ''
n = 0
for i in range(0, K):
n = 1
x = x + 'ACL'
return x |
s970988090 | p02534 | u708530082 | 1601446856 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9120 | 211 | n = input().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
s = [j for j in range(a, b+1)]
y = 0
for i in range(c, d+1):
if i in s:
y += 1
if y != 0:
print("Yes")
else:
print("No") |
s266206843 | p02534 | u191960840 | 1601428135 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8896 | 116 | a =input()
b =input()
c =input()
d =input()
if c <= a <= d or c >= b <= d:
print("Yes")
else:
print("No")
|
s340621347 | p02534 | u191960840 | 1601428021 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8832 | 125 | a =input()
b =input()
c =input()
d =input()
if a >= c and a <= d or b >= c and b <= d:
print("Yes")
else:
print("No")
|
s144424301 | p02534 | u191960840 | 1601427946 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9168 | 149 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a >= c and a <= d or b >= c and b <= d:
print("Yes")
else:
print("No")
|
s962612344 | p02534 | u853777095 | 1601422415 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9340 | 570 | import collections
n,con = map(int,input().split())
graph = collections.defaultdict(list)
for i in range(con):
u,v = map(int,input().split())
graph[u].append(v)
graph[v].append(u)
visited = [0]*(n+1)
def dfs(nodes):
for i in nodes:
if visited[i]!=1:
visited[i]= 1
dfs(gra... |
s204635270 | p02534 | u853777095 | 1601422366 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9244 | 570 | import collections
n,con = map(int,input().split())
graph = collections.defaultdict(list)
for i in range(con):
u,v = map(int,input().split())
graph[u].append(v)
graph[v].append(u)
visited = [0]*(n+1)
def dfs(nodes):
for i in nodes:
if visited[i]!=1:
visited[i]= 1
dfs(gra... |
s517209110 | p02534 | u167542063 | 1601383134 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8952 | 27 | k=int(input())
print(ACL*k) |
s494677167 | p02534 | u691558266 | 1601377537 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9136 | 98 | a,b,c,d = map(int, input().split())
if (b > c) or (a > d):
print('Yes')
else:
print('No') |
s249901606 | p02534 | u691558266 | 1601377498 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8980 | 119 | a,b,c,d = map(int, input().split())
#b>= x>= a and d>=x>=c
if (b<c )or (a < d):
print('Yes')
else:
print('No') |
s078609551 | p02534 | u691558266 | 1601377447 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9036 | 115 | a,b,c,d = map(int, input().split())
#b>= x>= a and d>=x>=c
if b<c or a < d:
print('Yes')
else:
print('No') |
s707919047 | p02534 | u691558266 | 1601377168 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8988 | 116 | a,b,c,d = map(int, input().split())
#b>= x>= a and d>=x>=c
if b<c and a < d:
print('Yes')
else:
print('No') |
s828563848 | p02534 | u691558266 | 1601376072 | Python | PyPy3 (7.3.0) | py | Runtime Error | 102 | 68464 | 26 | x = input()
print('acl'*x) |
s206622250 | p02534 | u691558266 | 1601376024 | Python | PyPy3 (7.3.0) | py | Runtime Error | 98 | 68556 | 56 | x = input()
c = ''
for e in range(x):
c+='acl'
print(c) |
s899605253 | p02534 | u496212176 | 1601352435 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9296 | 1307 | class UnionFind():
def __init__(self, n):
self.n = n
self.parents = [-1] * n
def find(self, x):
if self.parents[x] < 0:
return x
else:
self.parents[x] = self.find(self.parents[x])
return self.parents[x]
def union(self, x, y):
x = ... |
s442941358 | p02534 | u344698790 | 1601351249 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8948 | 30 | k=int(input())
print(k**"ACL") |
s252877448 | p02534 | u614280154 | 1601347535 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9040 | 239 | n,t=(int(x) for x in input().split())
t=t//1000
for y in range(((t-n)//4)+4):
if (t-n-(4*y))%9 == 0:
z=(t-n-(4*y))//9
if n-y-z>=0:
x=n-y-z
print(x,y,z)
break
else:
print(-1,-1,-1) |
s221851461 | p02534 | u867529352 | 1601346444 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8864 | 2781 | #pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef double db;
typedef string str;
typedef pair<int,int> pi;
typedef pair<ll,ll> pl;
typedef pair<db,db> pd;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef... |
s016038588 | p02534 | u867529352 | 1601346425 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8848 | 27 | n = input()
print('ACL'*n) |
s355339980 | p02534 | u867529352 | 1601346359 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8832 | 27 | n = input()
print("ACL"*n) |
s110109546 | p02534 | u861274887 | 1601335667 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9044 | 70 | a = input()
K = int(a)
x = 'ACL'
for i in K:
print(x, end = "")
|
s821222367 | p02534 | u861274887 | 1601335596 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9040 | 63 | a = input()
K = int(a)
for i in K:
print('ACL', end = "")
|
s510267025 | p02534 | u036576056 | 1601328356 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8948 | 144 | #include <iostream>
using namespace std;
int main(void){
int K;
cin >> K;
for(int i = 0; i < K; i++){
cout << "ACL";
}
} |
s077798851 | p02534 | u578798176 | 1601324831 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9032 | 58 | k=int(input())
a=""
for i in range(k):
a+=ACL
print(a) |
s169821514 | p02534 | u589675622 | 1601320963 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9092 | 31 | K = int(input())
print('ACL'*k) |
s358681100 | p02534 | u368780724 | 1601320613 | Python | PyPy3 (7.3.0) | py | Runtime Error | 160 | 111008 | 4301 | import sys
readline = sys.stdin.readline
from collections import Counter
MOD = 998244353
def frac(limit):
frac = [1]*limit
for i in range(2,limit):
frac[i] = i * frac[i-1]%MOD
fraci = [None]*limit
fraci[-1] = pow(frac[-1], MOD -2, MOD)
for i in range(-2, -limit-1, -1):
fraci[i] = f... |
s986778844 | p02534 | u526859732 | 1601320103 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9064 | 83 | k=input()
ans=[]
for i in range(int(k)):
ans.append("ACL")
print("".joint(ans))
|
s284368275 | p02534 | u526859732 | 1601320047 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9024 | 96 | import sys
k=sys.stdin
ans=[]
for i in range(int(k)):
ans.append("ACL")
print("".joint(ans))
|
s267200356 | p02534 | u526859732 | 1601319980 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9032 | 85 | k=sys.stdin
ans=[]
for i in range(int(k)):
ans.append("ACL")
print("".joint(ans))
|
s946657249 | p02534 | u526859732 | 1601319905 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9024 | 78 | k=input()
ans=[]
for i in range(k):
ans.append("ACL")
print("".joint(ans))
|
s149685996 | p02534 | u526859732 | 1601319819 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8768 | 78 | k=input()
ans=[]
for i in range(k):
ans.append("ACL")
print("".joint(ans)) |
s356975410 | p02534 | u556371693 | 1601300482 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8984 | 58 | k = int(input())
for (int i = 0; i++; i< k)
print("ACL") |
s165614925 | p02534 | u208947104 | 1601298300 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8852 | 46 | s=str("As=str("ACL")
n=int(input())
print(s*n) |
s677777531 | p02534 | u129798154 | 1601266190 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9084 | 29 | n = input()
print(n * "ACL") |
s672962429 | p02534 | u129798154 | 1601266068 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8976 | 36 | w = 'ACL'
n = input()
print(n * w) |
s973405740 | p02534 | u406145181 | 1601260654 | Python | PyPy3 (7.3.0) | py | Runtime Error | 151 | 68524 | 48 | a=int(inout())
for i in range(a):
print("ACL") |
s862746642 | p02534 | u290886932 | 1601255150 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9144 | 39 | N = int(input())
C = 'ACL'
print(ACL*N) |
s921937389 | p02534 | u155752351 | 1601255071 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9000 | 79 | let k = Int(readLine()!)!
(0..<k).forEach {_ in print("ACL", terminator: "")}
|
s149983738 | p02534 | u155752351 | 1601254961 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8920 | 94 | let k = Int(readLine()!)!
for _ in 0..<k {
print("ACL", separator: "", terminator: "")
}
|
s930032702 | p02534 | u674190122 | 1601253372 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8800 | 27 | return "ACL" * int(input()) |
s857088493 | p02534 | u371255848 | 1601247288 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8772 | 151 | #include <bits/stdc++.h>
using namespace std ;
int main() {
int n ; cin >> n ;
for(int i = 0 ; i < n ; i ++) cout << "ACL" ; cout << endl ;
}
|
s738833304 | p02534 | u111764401 | 1601245253 | Python | PyPy3 (7.3.0) | py | Runtime Error | 92 | 68648 | 42 | k = int(raw_input())
print (k*str("ACL")) |
s508546365 | p02534 | u491550356 | 1601244978 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8908 | 25 | print("ACL"*int(inout())) |
s154901953 | p02534 | u098436028 | 1601239876 | Python | PyPy3 (7.3.0) | py | Runtime Error | 83 | 68660 | 27 | print("ACL"*K=int(input())) |
s948424106 | p02534 | u123745130 | 1601239405 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8924 | 26 | print("ACL"*(int(input())) |
s593906395 | p02534 | u336213094 | 1601239301 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8984 | 339 | tmp = input()
tmp=tmp.split(' ')
tmp2 = [float(s) for s in tmp]
isint = [s.is_integer() for s in tmp2]
a = tmp2[0]
b = tmp2[1]
c = tmp2[2]
d = tmp2[3]
if all(isint):
if (0 <= a) and (a <= b) and (b <= 10**18) and (0 <= c) and (c <= d) and (d <= 10**18):
print('Yes')
else:
print('No')
el... |
s066887148 | p02534 | u336213094 | 1601238288 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9024 | 355 | tmp = input()
tmp = tmp.split(' ')
tmp = [int(s) for s in tmp]
a = tmp[0]
b = tmp[1]
c = tmp[2]
d = tmp[3]
isint = list()
for t in tmp:
isint.append(type(t)==int)
if all(isint):
if (0 <= a) and (a <= b) and (b <= 10**18) and (0 <= c) and (c <= d) and (d <= 10**18):
print('Yes')
else:
... |
s024501279 | p02534 | u306746823 | 1601235504 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9088 | 90 | import sys
arg = sys.argv
#arg.pop(0)
#print(arg)
for i in range(arg[0]):
print('ACL') |
s087430609 | p02534 | u623819879 | 1601228280 | Python | PyPy3 (7.3.0) | py | Runtime Error | 181 | 68416 | 28 | print(eval("'ACL'*input()")) |
s707729323 | p02534 | u336794632 | 1601223919 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9152 | 30 | k=int(input())
print('ACL'*K) |
s761769329 | p02534 | u687574784 | 1601200257 | Python | PyPy3 (7.3.0) | py | Runtime Error | 84 | 68348 | 22 | print('ACL' * input()) |
s147208966 | p02534 | u041228683 | 1601197200 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8988 | 61 | k = input()
for loop in range(k):
print("ACL", end = "") |
s716939283 | p02534 | u463594063 | 1601193258 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8676 | 32 | k = int(input())
print("ACL" * k |
s528945664 | p02534 | u705950099 | 1601191755 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8848 | 33 | num= int(input())
print(ACL*num)
|
s316921587 | p02534 | u530291615 | 1601187773 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9212 | 245 | s=input().split(" ")
a,b,c,d=int(s[0]),int(s[1]),int(s[2]),int(s[3])
if ((min(a,b)>=c and min(a,b)<=d) or (max(a,b)>=c and max(a,b)<=d)) and ((min(c,d)>=a and min(c,d)<=b) or (max(c,d)>=a and max(c,d)<=b)):
print("Yes")
else:
print("No") |
s349074518 | p02534 | u530291615 | 1601187596 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9092 | 168 | s=input().split(" ")
a,b,c,d=int(s[0]),int(s[1]),int(s[2]),int(s[3])
if min(c,d)>=a and min(c,d)<=b and min(a,b)>=c and min(a,b)<=d:
print("Yes")
else:
print("No")
|
s547280430 | p02534 | u629540524 | 1601184344 | Python | PyPy3 (7.3.0) | py | Runtime Error | 93 | 68764 | 20 | print(input()*'ACL') |
s356445068 | p02534 | u629540524 | 1601184339 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9068 | 20 | print(input()*'ACL') |
s703471033 | p02534 | u735481653 | 1601180283 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9352 | 2007 | #!/usr/bin/env python
import os
import sys
from io import BytesIO, IOBase
def ii(): return int(input())
def si(): return input()
def mi(): return map(int,input().strip().split(" "))
def li(): return list(mi())
def main():
# pass
k = ii()
return "ACL"*k
print(main())
# region fastio
BUFSIZE = 8192
... |
s837993055 | p02534 | u840649762 | 1601179875 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9060 | 93 | a,b,c,d = map(int, input().split())
if b < c or d < a:
print("No")
else:
print("Yes") |
s087317580 | p02534 | u840649762 | 1601179712 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9164 | 94 | a,b,c,d = map(int, input().split())
if b < c or d < a:
print("No")
else:
print("Yes") |
s764509538 | p02534 | u840649762 | 1601179636 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9004 | 96 | a,b,c,d = map(int, input().split())
if b <= c or d <= a:
print("No")
else:
print("Yes") |
s902046974 | p02534 | u311379832 | 1601178332 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9000 | 34 | K = int(input())
print('ACL' * K) |
s735092445 | p02534 | u240444124 | 1601174752 | Python | PyPy3 (7.3.0) | py | Runtime Error | 122 | 68544 | 1616 | class SegmentTree:
def __init__(self, data, default=0, func=max):
self._default = default
self._func = func
self._len = len(data)
self._size = _size = 1 << (self._len - 1).bit_length()
self.data = [default] * (2 * _size)
self.data[_size:_size + self._len] = data
... |
s903108298 | p02534 | u807028974 | 1601174650 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9012 | 64 | k = int(input())
s = ''
for i in range(K):
s += 'ACL'
print(s) |
s849973276 | p02534 | u774959455 | 1601174413 | Python | Python (3.8.2) | py | Runtime Error | 33 | 9112 | 297 | a,b,c,d=(int(x) for x in input().split())
if(a < 0 or c < 0 or b < 0 or d < 0):
print("")
else:
if(b <= d):
if(b >= c and c >= a):
print("Yes")
else:
print("No")
else:
if(c <= a & a <= d):
print("Yes")
else:
print("No") |
s381144229 | p02534 | u050157681 | 1601174370 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9264 | 840 | N,M = map(int, input().split())
notcalled=list(range(1,N+1))
nets=[]
for _ in range(M):
a,b=map(int, input().split())
if a in notcalled and b in notcalled:
nets.append([a,b])
del notcalled[notcalled.index(a)]
del notcalled[notcalled.index(b)]
elif a in notcalled:
for net in ... |
s717497454 | p02534 | u486094752 | 1601174317 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9164 | 287 | N, K = map(int, input().split())
A = [int(input()) for i in range(N)]
ans = []
i = 0
while(i<=N-1):
a = A[i]
T = 1
b = i
while (b<=N-2):
if ( abs(a-A[b+1]) <= K ):
T += 1
a = A[b+1]
else:
T += 0
b += 1
ans.append(T)
i += 1
print(max(ans)) |
s955221257 | p02534 | u784234016 | 1601174297 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9044 | 137 | K=int('K')
if K==1:
print('ACL')
elif K==2:
print('ACL'*2)
elif K==3:
print('ACL'*3)
elif K==4:
print('ACL'*4)
else:
print('ACL'*5)
|
s181929906 | p02534 | u785935352 | 1601174277 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8852 | 179 | A=input()
if A == 1:
print("ACL")
ifelse A == 2:
print("ACLACL")
ifelse A == 3:
print("ACLACLACL")
ifelse A == 4:
print("ACLACLACLACL")
else:
print("ACLACLACLACLACL")
|
s538965930 | p02534 | u973167272 | 1601174260 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9052 | 325 | n, m = map(int, input().split())
l = []
cnt = 0
for i in range (m):
a, b = map(int, input().split())
if (a in l) or (b in l):
l.append(a)
l.append(b)
else:
l.append(a)
l.append(b)
cnt += 1
l =list(set(l))
l = set(l)
x = n - len(l)
print(cnt+x... |
s146713174 | p02534 | u320681122 | 1601174228 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8948 | 476 | from math import factorial
def main():
n, m = map(int, input().split())
a = [0] * m
b = [0] * m
c = [0] * n
for i in range(m):
a[i], b[i] = map(int, input().split())
c[a[i]] = 1
c[b[i]] = 1
sum = factorial(n) / 2 * factorial(n - 2)
if sum <= m:
print(0)
... |
s035400234 | p02534 | u784234016 | 1601174181 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8824 | 133 | K=int('K')
if K=1:
print('ACL')
elif K=2:
print('ACL'*2)
elif K=3:
print('ACL'*3)
elif K=4:
print('ACL'*4)
else:
print('ACL'*5)
|
s800452902 | p02534 | u422977492 | 1601174175 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9040 | 267 | a,b,c,d=map(int,input().split())
if(b>c):
print("Yes")
elif(b==c):
print("Yes")
elif(a==b==c==d):
print("Yes")
elif(c>=a and c<=b):
print("Yes")
elif(b>=c and b<=d):
print("Yes")
elif(a>b>c>d):
print("No")
elif(a<b<c<d):
print("No")
else:
print("No")
|
s137834436 | p02534 | u050157681 | 1601174171 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9060 | 836 | N,M = map(int, input().split())
notcalled=list(range(N))
nets=[]
for _ in range(M):
a,b=map(int, input().split())
if a in notcalled and b in notcalled:
nets.append([a,b])
del notcalled[notcalled.index(a)]
del notcalled[notcalled.index(b)]
elif a in notcalled:
for net in nets... |
s167035535 | p02534 | u973167272 | 1601174165 | Python | PyPy3 (7.3.0) | py | Runtime Error | 85 | 68652 | 324 | n, m = map(int, input().split())
l = []
cnt = 0
for i in range (m):
a, b = map(int, input().split())
if (a in l) or (b in l):
l.append(a)
l.append(b)
else:
l.append(a)
l.append(b)
cnt += 1
l =list(set(l))
l = set(l)
x = n - len(l)
print(cnt+x... |
s151911655 | p02534 | u240444124 | 1601174127 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9132 | 1643 | class SegmentTree:
def __init__(self, data, default=0, func=max):
self._default = default
self._func = func
self._len = len(data)
self._size = _size = 1 << (self._len - 1).bit_length()
self.data = [default] * (2 * _size)
self.data[_size:_size + self._len] = data
... |
s596781684 | p02534 | u486094752 | 1601174118 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9192 | 287 | N, K = map(int, input().split())
A = [int(input()) for i in range(N)]
ans = []
i = 0
while(i<=N-1):
a = A[i]
T = 1
b = i
while (b<=N-2):
if ( abs(a-A[b+1]) <= K ):
T += 1
a = A[b+1]
else:
T += 0
b += 1
ans.append(T)
i += 1
print(max(ans)) |
s692127820 | p02534 | u965910858 | 1601174106 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9164 | 147 | n = []
for _ in range(4):
temp = int(input())
n += [temp]
if n[1] <= n[2]:
print("Yes")
elif n[3] <= n[0]:
print("Yes")
else:
print("No") |
s811884715 | p02534 | u784234016 | 1601174038 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8868 | 121 | if K=1:
print('ACL')
elif K=2:
print('ACL'*2)
elif K=3:
print('ACL'*3)
elif K=4:
print('ACL'*4)
else:
print('ACL'*5) |
s441214290 | p02534 | u320681122 | 1601174005 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9236 | 376 | def main():
n, m = map(int, input().split())
a = [0] * m
b = [0] * m
for i in range(m):
a[i], b[i] = map(int, input().split())
c = [0] * n
for i in range(m):
c[a[i]] = 1
c[b[i]] = 1
count = 0
for i in range(n):
if c[i] == 0:
count += 1
... |
s589509174 | p02534 | u262632239 | 1601173817 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8912 | 88 | a,b,c,d = map(int,input().split())
if d < a or b < c:
print('No')
else:
print('Yes') |
s687185466 | p02534 | u467463073 | 1601173766 | Python | PyPy3 (7.3.0) | py | Runtime Error | 91 | 68676 | 245 | N,K = map(int,input().split())
A = [int(input()) for _ in range(N)]
dp2 = [0] * N
for i in range(N):
tmax = 0
for j in range(i+1):
if abs(A[i]-A[j]) <= K:
tmax = max(tmax,dp2[j]+1)
dp2[i] = tmax
print(max(dp2)) |
s268208072 | p02534 | u784234016 | 1601173746 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8892 | 24 | num="K"
print('ACL'*num) |
s168555268 | p02534 | u510111946 | 1601173722 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9184 | 162 | A,B,C,D = list(map(int,input().split()))
for num in range (A <= B):
if num in range (C<=D):
print("Yes")
break
else:
print("No") |
s242735143 | p02534 | u510111946 | 1601173671 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9152 | 160 | A,B,C,D = list(map(int,input().split()))
for num in range (A,B+1):
if num in range (C,D+1):
print("Yes")
break
else:
print("No")
|
s665737175 | p02534 | u784234016 | 1601173669 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9144 | 33 | count=int("K")
print('ACL'*count) |
s113736404 | p02534 | u510111946 | 1601173443 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9048 | 164 | A,B,C,D = list(map(int,input().split()))
for num in range (A,B+1):
if num in range (C,D+1):
print("Yes")
break
else:
print("No")
|
s887668916 | p02534 | u556589653 | 1601173419 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8836 | 26 | print("ACL" * int(input()) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.