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
s916094597
p03555
u552502395
1557712003
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
s=input() t=input() for c in range(3): if s[c]!=t[2-c]: print("NO") sys.exit() print("YES");
s501122767
p03555
u556589653
1557509112
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
R = int(input()) G = int(input()) print(2*G-R)
s759113427
p03555
u556589653
1557508996
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
R = int(input()) G = int(input()) print(2*G-R)
s548222828
p03555
u182047166
1557462417
Python
Python (3.4.3)
py
Runtime Error
17
2940
371
import sys def input(): return sys.stdin.readline()[:-1] # N = int(input()) # A = [int(x) for x in input().split()] # a, b, c = map(int, input().split()) # name1 = str(input()) # alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5} a, b, c = map(str, input().split()) e,f,g = map(str, input().split()) if a==g and b=...
s439112177
p03555
u182047166
1557462373
Python
Python (3.4.3)
py
Runtime Error
17
3060
371
import sys def input(): return sys.stdin.readline()[:-1] # N = int(input()) # A = [int(x) for x in input().split()] # a, b, c = map(int, input().split()) # name1 = str(input()) # alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5} a, b, c = map(int, input().split()) e,f,g = map(int, input().split()) if a==g and b=...
s870512246
p03555
u450883456
1557286639
Python
Python (3.4.3)
py
Runtime Error
18
2940
102
li = list(input()) if li[0]==li[5] && li[1]==li[4] && li[2]==li[3]: print("YES") else: print("NO")
s977782223
p03555
u856169020
1557231135
Python
Python (3.4.3)
py
Runtime Error
18
2940
115
c1,c2 = map(str, input(),split()) c1 = list(c1)[::-1] c2 = list(c2) if c1 == c2: print("YES") else: print("NO")
s345981810
p03555
u482709947
1556993320
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
#coding:utf-8 a = int(input()) i=0 while i*i <= a: i=i+1 i=i-1 print(i*i)
s268218204
p03555
u603745966
1556934406
Python
Python (3.4.3)
py
Runtime Error
23
3572
1521
from functools import reduce import math def main(): # 文字列の2進数を数値にする # '101' → '5' # 文字列の頭に'0b'をつけてint()にわたす # binary = int('0b'+'101',0) # 2進数で立っているbitを数える # 101(0x5) → 2 # cnt_bit = bin(5).count('1') # N! を求める # f = math.factorial(N) # N の逆元 # N_inv = pow(N,MOD-2,MO...
s722343153
p03555
u492026192
1556513612
Python
Python (3.4.3)
py
Runtime Error
285
20524
383
import numpy as np import math k=int(input()) a_t=1/k a=a_t*10**(len(str(k))-1) c=100 buf=0 index=0 b=a for i in range(1,10): b=b-math.floor(b) buf=math.floor(b*10) #print(i,buf) if c>buf: index=i c=min(c,buf) b=b*10 #print(index) m=math.ceil(a*10**index)...
s679556067
p03555
u492026192
1556509573
Python
Python (3.4.3)
py
Runtime Error
151
12632
384
import numpy as np import itertools import bisect n=int(input()) a=sorted([int(i) for i in input().split()]) b=sorted([int(i) for i in input().split()]) c=sorted([int(i) for i in input().split()]) count=0 index_b=0 index_c=0 for i in range(n): index_c=bisect.bisect_left(b,c[i]) for j in range(index_c)...
s303978586
p03555
u814781830
1556500520
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
c1 = input() c2 = input() res = "YES" if c1[0] == c2[0] and c1[2] == c2[2] "NO" print(res)
s409143956
p03555
u960171798
1556235361
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
x = input() y = input() print("YES" if x=y[::-1] else "NO")
s383131083
p03555
u828766688
1556234098
Python
Python (3.4.3)
py
Runtime Error
18
3064
266
flag=1 a=input() b=input() c="" d="" c[0]=b[2] c[1]=b[1] c[2]=b[0] d[0]=a[2] d[1]=a[1] d[3]=a[0] i=0 while i<3: if a[i]!=c[i]: flag=0 i+=1 while j<3: if b[j]!=d[j]: flag=0 j+=1 if flag=1: print("YES") else: print("NO")
s809804360
p03555
u531813438
1556233591
Python
Python (3.4.3)
py
Runtime Error
18
3060
183
a, b = input().split() X =[list(a),list(b)] import numpy as np X = np.array(X) X1 = np.rot90(X, k=1) X2 =np.rot90(X1, k=1) if (X == X2).any(): print('YES') else: print('NO')
s145094430
p03555
u151625340
1555967379
Python
Python (3.4.3)
py
Runtime Error
17
2940
155
C = [list(input().split()) for i in range(2)] if C[0][0] == C[1][2] and C[1][0] == C[0][2] and C[0][1] == C[1][1]: print('YES') else: print('NO')
s361220540
p03555
u151625340
1555967334
Python
Python (3.4.3)
py
Runtime Error
17
3060
164
C = [list(map(int,input().split())) for i in range(2)] if C[0][0] == C[1][2] and C[1][0] == C[0][2] and C[0][1] == C[1][1]: print('YES') else: print('NO')
s744878567
p03555
u144980750
1555821051
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
a=input().split() b=input().split() print("YES" if a[0]==b[2] and a[1]==b[1] and a[2]==b[0] else "NO")
s709676980
p03555
u548545174
1555541432
Python
Python (3.4.3)
py
Runtime Error
17
2940
163
c11, c12, c13 = map(int, list(input())) c21, c22, c23 = map(int, list(input())) if c11 == c23 and c12 == c21 and c13 == c21: print('YES') else: print('NO')
s811048056
p03555
u331464808
1555450056
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
c11,c12,c13 =map(str,input().split()) c21,c22,c23 =map(str,input().split()) if c11==c23 and c12==c22 and c13==c21: print("YES") else: print("NO")
s917596990
p03555
u331464808
1555449917
Python
Python (3.4.3)
py
Runtime Error
17
3060
151
c_1 =map(str,input().split()) c_2 =map(str,input().split()) if c_1[0]==c_2[2] and c_1[1]==c_2[1] and c_1[2]==c_2[0]: print("YES") else: print("NO")
s438968318
p03555
u331464808
1555449892
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
c_1 =map(str,input().split()) c_2 =map(str,input().split()) if c_1[0]==c_2[2] and c_1[1]==c_2[1] and c_1[2]==c_2[0]: print("YES") else: print("NO")
s336493308
p03555
u903948194
1554672570
Python
Python (3.4.3)
py
Runtime Error
18
2940
64
import math n = math.sqrt(int(input())) print(math.floor(n)**2)
s554224338
p03555
u350049649
1553750212
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
c1=input() c2=input() if c1[0]==c2[2] and c1[1]==c2[2] adn c1[2]==c2[0]: print('YES') else: print('NO')
s115567313
p03555
u363610900
1553291097
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
N = int(input()) num = 0 for i in range(1,N): if i*i> N: break else: num = i*i print(num)
s204593549
p03555
u143509139
1553125863
Python
Python (3.4.3)
py
Runtime Error
17
3064
276
import bisect ans = 0 n = int(input()) a = sorted(list(map(int, input().split()))) b = sorted(list(map(int, input().split()))) c = sorted(list(map(int, input().split()))) for i in range(n): ans += bisect.bisect_left(a, b[i]) * (n - bisect.bisect_right(c, b[i])) print(ans)
s344961243
p03555
u077075933
1553091274
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
print("YES" if input() == reversed(input()) else "No)
s591306186
p03555
u115994101
1553049035
Python
Python (2.7.6)
py
Runtime Error
10
2568
132
a,b,c = map(str,raw_input().split()) d,e,f = map(str,raw_input().split()) if a==f and b==e and c==d: print 'YES' else: print 'NO'
s414039222
p03555
u115994101
1553048976
Python
Python (2.7.6)
py
Runtime Error
11
2568
134
a,b,c = map(str,raw_input().split()) d,e,f = map(str,raw_input().split()) if a==f and b==e and c==d : print "YES" else : print "NO"
s062622297
p03555
u115994101
1553048040
Python
Python (2.7.6)
py
Runtime Error
10
2568
123
a,b,c = map(raw_input().split()) d,e,f = map(raw_input().split()) if a==f and b==e and c==d: print 'YES' else: print 'NO'
s596709764
p03555
u115994101
1553047831
Python
Python (2.7.6)
py
Runtime Error
10
2568
126
a,b,c = map(raw_input().split()) d,e,f = map(raw_input().split()) if a==f and b==e and c==d : print "YES" else : print "NO"
s965288107
p03555
u399261731
1553003055
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
fun main(args: Array<String>) { var (a,b) = (0..1).map{readLine()!!} if(a.reversed() == b) println("YES") else println("NO") }
s137700528
p03555
u878138257
1552687097
Python
Python (3.4.3)
py
Runtime Error
18
2940
129
a,b,c = map(str, input().split()) d,e,f = map(str, input().split()) if c==d and a==f and b==e: print("YES") else: print("NO")
s911445364
p03555
u878138257
1552686991
Python
Python (3.4.3)
py
Runtime Error
18
2940
120
a,b,c = map(int, input().split()) d,e,f = map(int, input().split()) if c==d and a==f: print("YES") else: print("NO")
s909019810
p03555
u595893956
1550768802
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print("YNEOS"[input()!=input()[::-1])
s038953810
p03555
u367130284
1550702457
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
x,y=input().split();print("=><"[(x>y)-(x<y)])
s252094147
p03555
u020604402
1550681418
Python
PyPy3 (2.4.0)
py
Runtime Error
183
38512
910
def bisect_left(array, i, left, right): n = right - left + 1 mid = (left+right) // 2 if n == 1: if array[mid] < i: return 1 else: return 0 if i <= array[mid]: return bisect_left(array,i,left,mid) else: return (mid-left+1) + bisect_left(array,i,...
s107315443
p03555
u604412462
1550434163
Python
Python (3.4.3)
py
Runtime Error
17
2940
144
C1 = list(input().split()) C2 = list(input().split()) if C1[0]==C2[2] and C1[1]==C2[1] and C1[2]==C2[0]: print('YES') else: print('NO')
s579890560
p03555
u543954314
1550358594
Python
Python (3.4.3)
py
Runtime Error
18
2940
117
f = list(input()) s = list(input()) for i in range(1,4): if f[i] != s[4-i]: print("NO") exit() print("YES")
s796292399
p03555
u518064858
1550274108
Python
Python (3.4.3)
py
Runtime Error
18
2940
136
s1=list(input()) s2=list(input()) a=[s1,s2] for x in range3: if a[0][x]!=a[1][2-x]: print("NO") exit() print("YES")
s231888814
p03555
u740284863
1550199171
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
n = int(input()) for i in range(n+1): if i**2 > n: print((i-1)**2) exit()
s997143943
p03555
u114954806
1550183178
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
import math print(math.floor(math.sqrt(int(input())))**2)
s687168674
p03555
u777028980
1550003205
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
a=input() b=input() ans=0 if(a[0]==b[2]): if(a[1]==b[1]): if(a[2]==b[0]): print("YES") ans=1 if(ans=0): print("NO")
s929063907
p03555
u397563544
1549685035
Python
Python (3.4.3)
py
Runtime Error
18
2940
94
n = int(input()) for i in range(1,n+2): if i**2 > n: print((i-1)**2) break
s467570451
p03555
u020604402
1549498381
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
s1=input() s2=input() if s1[0] == s2[2] and s1[1]==s2[1] and s1[2]==s[0]: print("Yes") else: print("No")
s348298468
p03555
u020604402
1549498350
Python
Python (3.4.3)
py
Runtime Error
19
2940
108
s1=input() s2=input() if s1[0] == s2[2] and s1[1]==s2[1] and s1[2]==s[1]: print("Yes") else: print("No")
s682971973
p03555
u020604402
1549498317
Python
Python (3.4.3)
py
Runtime Error
19
2940
108
s1=input() s2=input() if s1[0] == s2[2] and s1[1]==s2[1] ans s1[2]==s[1]: print("Yes") else: print("No")
s503376215
p03555
u033524082
1548730223
Python
Python (3.4.3)
py
Runtime Error
18
2940
129
a,b,c=map(str,input().split()) d,e,f=map(str,input().split()) if (a==f and b==e and c==d): print("YES") else: print("NO")
s588701265
p03555
u007758012
1548382380
Python
Python (3.4.3)
py
Runtime Error
18
2940
162
C11,C12,C13 = map(str,input().split()) C21,C22,C23 = map(str,input().split()) if C11 == C23 and C12 == C22 and C13 == C21: print('YES') else: print('NO')
s868909833
p03555
u182870307
1547676243
Python
Python (3.4.3)
py
Runtime Error
19
3060
244
import bisect N = int(input()) A = list(map(int, input(). split())) B = list(map(int, input(). split())) C = list(map(int, input(). split())) ans = 0 for b in B: ans += (bisect.bisect_left(A,b)) *(N - bisect.bisect_right(C,b)) print(ans)
s803729313
p03555
u350997995
1547407717
Python
Python (3.4.3)
py
Runtime Error
18
2940
126
c1 = list(input()) c2 = list(input()) for i in range(3): if c1[i]!=c[2-i]: print("NO") exit() print("YES")
s781676039
p03555
u133038626
1547179329
Python
Python (3.4.3)
py
Runtime Error
18
2940
55
print([NO,YES][input().strip()[::-1]==input().strip()])
s697853465
p03555
u505420467
1545961145
Python
Python (3.4.3)
py
Runtime Error
18
2940
65
a=input() b=input() print(["NO","YES"][a==a[::-1] and b=b[::-1]])
s662661546
p03555
u033524082
1545529365
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
a = input() b = input() if a[0]=b[2] and a[1]=b[1] and a[2]=b[0]: print("YES") else: print("NO")
s538717170
p03555
u371467115
1545330492
Python
Python (3.4.3)
py
Runtime Error
20
3188
127
a,b,c=map(str,input().split()) e,f,g=map(str,input().split()) if a==g and b==f and c==e: print("YES") else: print("NO")
s348661921
p03555
u272377260
1544756534
Python
Python (3.4.3)
py
Runtime Error
17
3060
154
c = [list(input().split()) for _ in range(2)] if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print('YES') else: print('No')
s741342302
p03555
u928784113
1544510139
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
# -*- coding: utf-8 -*- S = str(input()) T = str(input()) if T[::-1] = S: print("YES") else: print("NO")
s468245784
p03555
u928784113
1544252042
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
# -*- coding: utf-8 -*- N = str(input()) M = str(input()) if N = M.reverse(): print(YES) else: print(NO)
s293045658
p03555
u748135969
1544045928
Python
Python (3.4.3)
py
Runtime Error
19
3064
106
a = str(input()) b = str(input()) rev_a = a[::-1] if rev_a == b: print('YES) else: print('NO')
s348174535
p03555
u748135969
1544045763
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
a = str(input()) b = str(input()) rev_a = a[::-1] if rev_a == b: print('YES) else: print('NO')
s853468933
p03555
u129978636
1543003314
Python
Python (3.4.3)
py
Runtime Error
18
2940
36
n = print(int(int(input())**0.5)**2)
s318694994
p03555
u855985627
1540926029
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
c=[[]] c[0].append(input()) c[1].append(input()) for i in range(3): if c[0][i]!=c[1][2-i]: print('NO') exit() print('YES')
s824752128
p03555
u131405882
1540666119
Python
Python (3.4.3)
py
Runtime Error
17
2940
104
A = int(input()) G = int(input()) if A[0]+A[1]+A[2] ==G[2]+G[1]+G[0]: print('YES') else: print('NO')
s341727037
p03555
u328755070
1540336548
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
C1 = list(input().split()) C2 = list(input().split()) ans = 'Yes' for i in range(3): if C1[i] == C2[-i-1]: continue else: ans = 'No' print(ans)
s500055612
p03555
u251017754
1536851478
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
a = input() b = input() if a[0] == b[2] and a[1] == b[1] and a[2] == c[0]: print('YES') else: print('NO')
s251537658
p03555
u251017754
1536851391
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
a = input() b = input() if a[0] == b[2] and a[1] == b[1] and a[2] == c[0]: print('YES') else: print('NO')
s852654438
p03555
u251017754
1536851369
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a = input() b = input() if a[0] = b[2] and a[1] = b[1] and a[2] = c[0]: print('YES') else: print('NO')
s578257658
p03555
u251017754
1536851271
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a = input() b = input() if a[1] = b[3] and a[2] = b[2] and a[3] = c[1]: print('YES') else: print('NO')
s393238506
p03555
u266768906
1536178997
Python
Python (3.4.3)
py
Runtime Error
17
3060
229
s1 = input().split() s2 = input().split() if(s1[0] == s2[2]): if(s1[1] == s2[1]): if(s1[2] == s2[0]): print("Yes") else: print("No") else: print("No") else: print("No")
s523605739
p03555
u197078193
1536001945
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
C1 = input() C2 = input() C2.reverse() if C1 == C2: print('YES') else: print('NO')
s643256734
p03555
u769852547
1535509945
Python
Python (3.4.3)
py
Runtime Error
17
3060
281
n = int(input()) A = sorted(list(map(int, input().split()))) B = sorted(list(map(int, input().split()))) C = sorted(list(map(int, input().split()))) import bisect ans = 0 for b in B: a = bisect.bisect_left(A,b) c = n - bisect.bisect_right(C,b) ans += a*c print(ans)
s898196299
p03555
u699994820
1534770068
Python
Python (3.4.3)
py
Runtime Error
18
2940
62
x,y,z = map(int, input().split()) print(int(y/z)-int((x-1)/z))
s062972222
p03555
u699994820
1534770018
Python
Python (3.4.3)
py
Runtime Error
18
2940
65
#1 x,y,z = map(int, input().split()) print(int(y/z)-int((x-1)/z))
s052573780
p03555
u048945791
1533820152
Python
Python (3.4.3)
py
Runtime Error
17
3060
171
c = [] for i in range(2): c.append(list(map(int, input().split()))) if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print("Yes") else: print("No")
s364393119
p03555
u048945791
1533820110
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
c = [] for i in range(2): c.append(list(map(int, input().split())) if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print("Yes") else: print("No")
s415924118
p03555
u048945791
1533819979
Python
Python (3.4.3)
py
Runtime Error
17
3060
160
c = [[list(map(int, input().split()))] for _ in range(2)] if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print("Yes") else: print("No")
s061365431
p03555
u048945791
1533819889
Python
Python (3.4.3)
py
Runtime Error
17
3060
158
c = [list(map(int, input().split())) for _ in range(2)] if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print("Yes") else: print("No")
s328375863
p03555
u826927241
1532119803
Python
Python (3.4.3)
py
Runtime Error
18
2940
170
import sys lines = [xsys.stdin.readlines()] tmp = [] for i in range(len(lines)): tmp.append(str(reversed(lines[i]))) if tmp == lines: print('YES') else: print('NO')
s361128970
p03555
u636775911
1531708575
Python
Python (3.4.3)
py
Runtime Error
17
2940
157
#coding:utf-8 n1=str(input()) n2=str(input()) if(n1[0]==n2[2] and n1[2]==n2[0]): if(n1[1]==n2[1]): print("YES") else: print("NO) else:print("NO")
s991480954
p03555
u636775911
1531708158
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
#coding:utf-8 n1=str(input()) n2=str(input()) if(n1[0]==n2[2] and n1[2]==n2[0] and n1[1]==n2[1]): print("YES") else:print("NO")
s151772855
p03555
u636775911
1531707206
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
#coding:utf-8 n1=input() n2=input() if(n1[0]==n2[2] & n1[2]==n2[0]): print("YES") else:print("NO")
s019484446
p03555
u366644013
1531526592
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
a = input() b = input() if aa[0] == b[2] and a[1] == b[1] and [2] == b[0]: print("YES") else: print("NO")
s960374868
p03555
u333139319
1530720797
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
""" https://abc077.contest.atcoder.jp/tasks/abc077_b """ n=int(input()) i=1 while (i**2)<=n: i=i+1 print((i-1)**2)
s885990441
p03555
u095969144
1530684279
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
n = int(input()) print(int(n ** 0.5)**2)
s314016917
p03555
u344650567
1530216794
Python
Python (3.4.3)
py
Runtime Error
17
2940
135
c_11, c_12, c_13 = input() c_21, c_22, c_23 = input() if c_11 == c_23 and c_12 == c_22 and c_13 == c_21: print(YES) else: print(NO)
s248810296
p03555
u787244345
1530216472
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
x=input() if x[0][0]==x[1][2] & x[0][1]==x[1][1] & x[0][2]==x[1][0] print YES else print NO end
s927879628
p03555
u191449759
1530215796
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
a=input() d=input() if a[2]==d[0] and a[1]==d[1] and a[0]==d[2]: print("YES") else: NO
s414494976
p03555
u004025573
1530120692
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
A=input() B=input() B.reverse() if A==B: print("Yes") else: print("No")
s403090867
p03555
u502709453
1529369096
Python
Python (3.4.3)
py
Runtime Error
17
2940
104
a=input() b=input() if(a[0]==b[2] and a[1]==b[1] and a[2]=b[0]): print("YES") else: print("NO")
s697360774
p03555
u982762220
1529282022
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
print('YES' if input() == ''.join([e for e in reversed(list(input()))] else 'NO')
s203176814
p03555
u411858517
1528925565
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
N = int(input()) for i in range(1, N): if i*i > N: break res = i * i print(res)
s958938817
p03555
u931636178
1527974822
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
a = list(input()) b = list(input()) if b = a.reverse(): print("YES") else: print("NO")
s630336776
p03555
u552122040
1527960272
Python
Python (3.4.3)
py
Runtime Error
18
2940
170
strlist1 = input() strlist2 = input() flag = True for i in range(3): if strlist1[i] != strlist2[2 - i]: flag = false if flag: print("YES") else: print("NO")
s712658266
p03555
u552122040
1527960176
Python
Python (3.4.3)
py
Runtime Error
18
2940
202
strlist1 = input() strlist2 = input() print(strlist1) print(strlist2) flag = true for i in range(3): if strlist1[i] != strlist2[2 - i]: flag = false if flag: print("YES") else: print("NO")
s849645830
p03555
u591295155
1524068773
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a = input() b = input() print(["NO", "YES"][a[0]=b[2] and a[1]=b[1] and a[2]=b[0]])
s794481219
p03555
u192903163
1522601479
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
a = str(input()) b = str(input()) if a[0]==b[2] && a[1] == b[1] && a[2] == b[0]: print("YES") else: print("NO")
s914824295
p03555
u729133443
1521533674
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
print(['NO','YES'][input()==input().reverse()])
s480472164
p03555
u729133443
1521533658
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
print(['NO','YES'][input()=input().reverse()])
s011824044
p03555
u729707098
1521434768
Python
Python (3.4.3)
py
Runtime Error
17
3064
400
n = int(input()) a = [int(i) for i in input().split()] b = [int(i) for i in input().split()] c = [int(i) for i in input().split()] a.sort() b.sort() c.sort() c = c[::-1] answer,x,y = 0,0,n-1 for j in b: for k in range(x,n): if a[k] >= j: x = k break elif k == n-1: x = n for k2 in range(y+1): if c[k2] <...
s831622298
p03555
u663710122
1521079908
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
print('YES' if input() == input()[::-1])