s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s666517597
p02472
u567267870
1545973062
Python
Python3
py
Runtime Error
0
0
42
a,b = map(int,input.split()) print(a + b)
Traceback (most recent call last): File "/tmp/tmp58c4yy3o/tmpvashypk1.py", line 1, in <module> a,b = map(int,input.split()) ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s921485887
p02472
u565812827
1551321023
Python
Python3
py
Runtime Error
0
0
47
a = int(input()) b = int(input()) print(a + b)
Traceback (most recent call last): File "/tmp/tmpa37ff4jz/tmpxsbhi_2k.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s676306528
p02473
u536089081
1555836850
Python
Python3
py
Runtime Error
0
0
53
a, b = [int(i) for i in input().split()]) print(a-b)
File "/tmp/tmp55wdqs70/tmpixgp9njy.py", line 1 a, b = [int(i) for i in input().split()]) ^ SyntaxError: unmatched ')'
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()
Traceback (most recent call last): File "/tmp/tmpoi542is8/tmpy805bp4q.py", line 9, in <module> main() File "/tmp/tmpoi542is8/tmpy805bp4q.py", line 4, in main a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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()
Traceback (most recent call last): File "/tmp/tmpi7bri8xz/tmpbgp8g56l.py", line 9, in <module> main() File "/tmp/tmpi7bri8xz/tmpbgp8g56l.py", line 4, in main a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmp9lb361w7/tmpc8izn0pa.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s434101148
p02534
u963963908
1601501813
Python
Python (3.8.2)
py
Runtime Error
28
9080
31
K = int(input()) print([ACL]*K)
Traceback (most recent call last): File "/tmp/tmphgyc5mqi/tmp0aocsz_f.py", line 1, in <module> K = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s435139953
p02534
u903629757
1601495694
Python
Python (3.8.2)
py
Runtime Error
27
9032
26
a = input() print('ACL'*a)
Traceback (most recent call last): File "/tmp/tmpwvur3ewi/tmp0ngold6h.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s919587053
p02534
u193880030
1601489116
Python
Python (3.8.2)
py
Runtime Error
19
8980
34
a = input() a = 'ACL' * a print(a)
Traceback (most recent call last): File "/tmp/tmpdcl4afup/tmpr88ot8vh.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmphpzv7oxd/tmpl0nomaz1.py", line 3 K = int(input("Enter an integer value between 1 and 5 : ") ^ SyntaxError: '(' was never closed
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)
Traceback (most recent call last): File "/tmp/tmpr612_fr1/tmpxfsml22q.py", line 1, in <module> K=input() ^^^^^^^ EOFError: EOF when reading a line
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
File "/tmp/tmp71fqdnv_/tmpcjgjyllx.py", line 6 return x ^^^^^^^^ SyntaxError: 'return' outside function
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")
Traceback (most recent call last): File "/tmp/tmp0chmtdkx/tmpjztmooql.py", line 1, in <module> n = input().split() ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmpher82gk5/tmpfczqrwm4.py", line 1, in <module> a =input() ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmprm75bzla/tmpm5lvlite.py", line 1, in <module> a =input() ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmplg6lb7pq/tmph6adnizz.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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...
Traceback (most recent call last): File "/tmp/tmppeoomsyl/tmp6s_09k4h.py", line 2, in <module> n,con = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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...
Traceback (most recent call last): File "/tmp/tmp7xq38k9x/tmppuxv156p.py", line 2, in <module> n,con = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s517209110
p02534
u167542063
1601383134
Python
Python (3.8.2)
py
Runtime Error
25
8952
27
k=int(input()) print(ACL*k)
Traceback (most recent call last): File "/tmp/tmp8z8o5f3p/tmp0zmz2xj7.py", line 1, in <module> k=int(input()) ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmp0a9cff2x/tmpdxdesc7v.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmpb3qimk07/tmp87m5ime8.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmpcm6l0jro/tmpsqttg44w.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmpghx88qig/tmpeoxrpf6d.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s828563848
p02534
u691558266
1601376072
Python
PyPy3 (7.3.0)
py
Runtime Error
102
68464
26
x = input() print('acl'*x)
Traceback (most recent call last): File "/tmp/tmpu39hqx3u/tmprboc81gf.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpy7qrxf68/tmptomxj4qe.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
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 = ...
Traceback (most recent call last): File "/tmp/tmpnzwpvbv9/tmp0g20ug3k.py", line 49, in <module> n, m = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s442941358
p02534
u344698790
1601351249
Python
Python (3.8.2)
py
Runtime Error
26
8948
30
k=int(input()) print(k**"ACL")
Traceback (most recent call last): File "/tmp/tmpfi38ehqk/tmp750wchye.py", line 1, in <module> k=int(input()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpr4b63ion/tmpaskg9s1f.py", line 1, in <module> n,t=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
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...
File "/tmp/tmpcuc8iqqn/tmpypqa5nw1.py", line 5 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s016038588
p02534
u867529352
1601346425
Python
Python (3.8.2)
py
Runtime Error
26
8848
27
n = input() print('ACL'*n)
Traceback (most recent call last): File "/tmp/tmpdgbe9glr/tmpier8pv_a.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s355339980
p02534
u867529352
1601346359
Python
Python (3.8.2)
py
Runtime Error
21
8832
27
n = input() print("ACL"*n)
Traceback (most recent call last): File "/tmp/tmpqvr8p2ai/tmpf2g905_2.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
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 = "")
Traceback (most recent call last): File "/tmp/tmp9aak29ci/tmpqvfrp0jo.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
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 = "")
Traceback (most recent call last): File "/tmp/tmp8l15fkyp/tmpbriib2mo.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
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"; } }
File "/tmp/tmpwu_85jt6/tmp7y4inbln.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
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)
Traceback (most recent call last): File "/tmp/tmpewrr4yrt/tmplf4pbkgq.py", line 1, in <module> k=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s169821514
p02534
u589675622
1601320963
Python
Python (3.8.2)
py
Runtime Error
29
9092
31
K = int(input()) print('ACL'*k)
Traceback (most recent call last): File "/tmp/tmp7r5co0bk/tmpxltcpdqj.py", line 1, in <module> K = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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...
Traceback (most recent call last): File "/tmp/tmpi7o9dgvn/tmp6j0vfg4v.py", line 129, in <module> N = int(readline()) ^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
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))
Traceback (most recent call last): File "/tmp/tmpav080f6z/tmp_2lqx918.py", line 1, in <module> k=input() ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp26pubn51/tmp8u77id05.py", line 4, in <module> for i in range(int(k)): ^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not '_io.TextIOWrapper'
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))
Traceback (most recent call last): File "/tmp/tmpvyy13w0r/tmptimf3ayz.py", line 1, in <module> k=sys.stdin ^^^ NameError: name 'sys' is not defined
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))
Traceback (most recent call last): File "/tmp/tmposvc0qe5/tmp9hu_ca5w.py", line 1, in <module> k=input() ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpq0cop_f3/tmp1tgc6kdv.py", line 1, in <module> k=input() ^^^^^^^ EOFError: EOF when reading a line
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")
File "/tmp/tmpn5yix7so/tmp_l2i35hc.py", line 3 for (int i = 0; i++; i< k) ^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
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)
File "/tmp/tmpkeciphtv/tmp4idu_05_.py", line 1 s=str("As=str("ACL") ^ SyntaxError: unterminated string literal (detected at line 1)
s677777531
p02534
u129798154
1601266190
Python
Python (3.8.2)
py
Runtime Error
20
9084
29
n = input() print(n * "ACL")
Traceback (most recent call last): File "/tmp/tmp2z8g41yc/tmpjfm94k3_.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s672962429
p02534
u129798154
1601266068
Python
Python (3.8.2)
py
Runtime Error
28
8976
36
w = 'ACL' n = input() print(n * w)
Traceback (most recent call last): File "/tmp/tmpdu6mjmn4/tmpcyghyt4v.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmp6wx7_vch/tmp2akk7y17.py", line 1, in <module> a=int(inout()) ^^^^^ NameError: name 'inout' is not defined. Did you mean: 'input'?
s862746642
p02534
u290886932
1601255150
Python
Python (3.8.2)
py
Runtime Error
20
9144
39
N = int(input()) C = 'ACL' print(ACL*N)
Traceback (most recent call last): File "/tmp/tmpxcxyhrby/tmpw7xhvutp.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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: "")}
File "/tmp/tmpfxlz63b9/tmpb2tg2k8k.py", line 1 let k = Int(readLine()!)! ^ SyntaxError: invalid syntax
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: "") }
File "/tmp/tmp_ninrs49/tmp1hyhv15e.py", line 1 let k = Int(readLine()!)! ^ SyntaxError: invalid syntax
s930032702
p02534
u674190122
1601253372
Python
Python (3.8.2)
py
Runtime Error
20
8800
27
return "ACL" * int(input())
File "/tmp/tmpga2pw0to/tmp5kycangb.py", line 1 return "ACL" * int(input()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
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 ; }
File "/tmp/tmpjkjxkemf/tmpocsn_xnv.py", line 2 using namespace std ; ^^^^^^^^^ SyntaxError: invalid syntax
s738833304
p02534
u111764401
1601245253
Python
PyPy3 (7.3.0)
py
Runtime Error
92
68648
42
k = int(raw_input()) print (k*str("ACL"))
Traceback (most recent call last): File "/tmp/tmpaiycoutf/tmptv5n4esm.py", line 1, in <module> k = int(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s508546365
p02534
u491550356
1601244978
Python
Python (3.8.2)
py
Runtime Error
23
8908
25
print("ACL"*int(inout()))
Traceback (most recent call last): File "/tmp/tmpiki5ohy6/tmp38r49k_1.py", line 1, in <module> print("ACL"*int(inout())) ^^^^^ NameError: name 'inout' is not defined. Did you mean: 'input'?
s154901953
p02534
u098436028
1601239876
Python
PyPy3 (7.3.0)
py
Runtime Error
83
68660
27
print("ACL"*K=int(input()))
File "/tmp/tmp5lfu5lb8/tmpro65npjd.py", line 1 print("ACL"*K=int(input())) ^^^^^^^^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
s948424106
p02534
u123745130
1601239405
Python
Python (3.8.2)
py
Runtime Error
23
8924
26
print("ACL"*(int(input()))
File "/tmp/tmp4odc39j5/tmps9xn4_q3.py", line 1 print("ACL"*(int(input())) ^ SyntaxError: '(' was never closed
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...
Traceback (most recent call last): File "/tmp/tmp8m_dyiid/tmpbc5ix1t2.py", line 1, in <module> tmp = input() ^^^^^^^ EOFError: EOF when reading a line
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: ...
Traceback (most recent call last): File "/tmp/tmp78kurm5e/tmpimpgks4y.py", line 1, in <module> tmp = input() ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmpgtjn4llv/tmpcmcfe857.py", line 7, in <module> for i in range(arg[0]): ^^^^^^^^^^^^^ TypeError: 'str' object cannot be interpreted as an integer
s087430609
p02534
u623819879
1601228280
Python
PyPy3 (7.3.0)
py
Runtime Error
181
68416
28
print(eval("'ACL'*input()"))
Traceback (most recent call last): File "/tmp/tmpse_55fqx/tmpq9jhpkpd.py", line 1, in <module> print(eval("'ACL'*input()")) ^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> EOFError: EOF when reading a line
s707729323
p02534
u336794632
1601223919
Python
Python (3.8.2)
py
Runtime Error
23
9152
30
k=int(input()) print('ACL'*K)
Traceback (most recent call last): File "/tmp/tmp9pgfsupk/tmpfed93g79.py", line 1, in <module> k=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s761769329
p02534
u687574784
1601200257
Python
PyPy3 (7.3.0)
py
Runtime Error
84
68348
22
print('ACL' * input())
Traceback (most recent call last): File "/tmp/tmp4wwf678r/tmpt9wu1_qd.py", line 1, in <module> print('ACL' * input()) ^^^^^^^ EOFError: EOF when reading a line
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 = "")
Traceback (most recent call last): File "/tmp/tmpo3z04c51/tmp6ap14y6c.py", line 1, in <module> k = input() ^^^^^^^ EOFError: EOF when reading a line
s716939283
p02534
u463594063
1601193258
Python
Python (3.8.2)
py
Runtime Error
24
8676
32
k = int(input()) print("ACL" * k
File "/tmp/tmp0qsu6zhm/tmpvdzaahxh.py", line 2 print("ACL" * k ^ SyntaxError: '(' was never closed
s528945664
p02534
u705950099
1601191755
Python
Python (3.8.2)
py
Runtime Error
25
8848
33
num= int(input()) print(ACL*num)
Traceback (most recent call last): File "/tmp/tmp5xsbtz5i/tmp13ovbm8k.py", line 1, in <module> num= int(input()) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmpincy6glc/tmpi3wjbupp.py", line 1, in <module> s=input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmp6q7r2yy2/tmpdlluqapu.py", line 1, in <module> s=input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
s547280430
p02534
u629540524
1601184344
Python
PyPy3 (7.3.0)
py
Runtime Error
93
68764
20
print(input()*'ACL')
Traceback (most recent call last): File "/tmp/tmpzco606jo/tmpdyiimero.py", line 1, in <module> print(input()*'ACL') ^^^^^^^ EOFError: EOF when reading a line
s356445068
p02534
u629540524
1601184339
Python
Python (3.8.2)
py
Runtime Error
25
9068
20
print(input()*'ACL')
Traceback (most recent call last): File "/tmp/tmpadx96fvv/tmp3zbmf73r.py", line 1, in <module> print(input()*'ACL') ^^^^^^^ EOFError: EOF when reading a line
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 ...
Traceback (most recent call last): File "/tmp/tmpowczhuao/tmpahv90u44.py", line 16, in <module> print(main()) ^^^^^^ File "/tmp/tmpowczhuao/tmpahv90u44.py", line 13, in main k = ii() ^^^^ File "/tmp/tmpowczhuao/tmpahv90u44.py", line 6, in ii def ii(): return int(input()) ...
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")
Traceback (most recent call last): File "/tmp/tmpjmwc18uu/tmprtkb0u06.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmpuejlnr7f/tmp98ql10ux.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmprhku2eei/tmp4sarn26r.py", line 1, in <module> a,b,c,d = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s902046974
p02534
u311379832
1601178332
Python
Python (3.8.2)
py
Runtime Error
27
9000
34
K = int(input()) print('ACL' * K)
File "/tmp/tmpjb9d6pq8/tmp59y3xeef.py", line 1 K = int(input()) IndentationError: unexpected indent
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 ...
Traceback (most recent call last): File "/tmp/tmpz62u6l80/tmptfholwmi.py", line 43, in <module> n,k=map(int,input().split()) ^^^ ValueError: not enough values to unpack (expected 2, got 0)
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)
Traceback (most recent call last): File "/tmp/tmpmkofi9t9/tmp23pyx23d.py", line 1, in <module> k = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmpngl9oqjl/tmpyk4r2pva.py", line 1, in <module> a,b,c,d=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
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 ...
Traceback (most recent call last): File "/tmp/tmpkuxso2ak/tmp80c3z_z1.py", line 1, in <module> N,M = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpskf2lsyn/tmpavgxdysw.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpbnritqhw/tmp84frzeui.py", line 1, in <module> K=int('K') ^^^^^^^^ ValueError: invalid literal for int() with base 10: 'K'
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")
File "/tmp/tmp6vkdgbre/tmptecv5fxv.py", line 4 ifelse A == 2: ^ SyntaxError: invalid syntax
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...
Traceback (most recent call last): File "/tmp/tmpy24a4e6p/tmp1t0mkd73.py", line 1, in <module> n, m = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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) ...
Traceback (most recent call last): File "/tmp/tmpk6a_8l0x/tmptva81nwv.py", line 32, in <module> main() File "/tmp/tmpk6a_8l0x/tmptva81nwv.py", line 5, in main n, m = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmpqq6c4k6_/tmpfd2xufhr.py", line 2 if K=1: ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
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")
Traceback (most recent call last): File "/tmp/tmpcoteo28u/tmp9ei_03gp.py", line 1, in <module> a,b,c,d=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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...
Traceback (most recent call last): File "/tmp/tmp14gjl4c6/tmpuoop47b5.py", line 1, in <module> N,M = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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...
Traceback (most recent call last): File "/tmp/tmpfcgbi_0_/tmpu9crz15r.py", line 1, in <module> n, m = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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 ...
Traceback (most recent call last): File "/tmp/tmpqcwentta/tmpwa8b8r53.py", line 43, in <module> n,k=map(int,z().split()) ^^^ ValueError: not enough values to unpack (expected 2, got 0)
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))
Traceback (most recent call last): File "/tmp/tmp8mquut6q/tmphymgo_er.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmp76nxf2te/tmpvpqh7i29.py", line 3, in <module> temp = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmptx4t7w8t/tmpagwhi6l4.py", line 1 if K=1: ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
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 ...
Traceback (most recent call last): File "/tmp/tmpg_us1mu_/tmpmor204mu.py", line 27, in <module> main() File "/tmp/tmpg_us1mu_/tmpmor204mu.py", line 2, in main n, m = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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')
Traceback (most recent call last): File "/tmp/tmp784x8pa0/tmp11sjj_ud.py", line 1, in <module> a,b,c,d = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmprcmyfgqy/tmpug8gehyr.py", line 1, in <module> N,K = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s268208072
p02534
u784234016
1601173746
Python
Python (3.8.2)
py
Runtime Error
29
8892
24
num="K" print('ACL'*num)
Traceback (most recent call last): File "/tmp/tmpwyrrbdmq/tmpiw7ejk4c.py", line 2, in <module> print('ACL'*num) ~~~~~^~~~ TypeError: can't multiply sequence by non-int of type 'str'
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")
Traceback (most recent call last): File "/tmp/tmpt3xms4kn/tmpjzv4wpgn.py", line 1, in <module> A,B,C,D = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
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")
Traceback (most recent call last): File "/tmp/tmp0ne3hi3w/tmpl6lg9mj1.py", line 1, in <module> A,B,C,D = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s665737175
p02534
u784234016
1601173669
Python
Python (3.8.2)
py
Runtime Error
26
9144
33
count=int("K") print('ACL'*count)
Traceback (most recent call last): File "/tmp/tmpj9qg0dun/tmpi05991so.py", line 1, in <module> count=int("K") ^^^^^^^^ ValueError: invalid literal for int() with base 10: 'K'
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")
Traceback (most recent call last): File "/tmp/tmpar5g3ol1/tmpq84wyhzq.py", line 1, in <module> A,B,C,D = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s887668916
p02534
u556589653
1601173419
Python
Python (3.8.2)
py
Runtime Error
29
8836
26
print("ACL" * int(input())
File "/tmp/tmppnm4wrzg/tmp3rh1d8vf.py", line 1 print("ACL" * int(input()) ^ SyntaxError: '(' was never closed