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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s776140926 | p02385 | u150984829 | 1513329617 | Python | Python3 | py | Runtime Error | 20 | 5608 | 337 | d,e=[list(map(int,input().split()))for _ in range(2)]
m={0:'1234',1:'5230',2:'1504',3:'1054',4:'0235',5:'1324'}[d.index(e[0])]
f=[str(e[i])for i in range(1,5)]+[str(e[1])]
f[2],f[3]=f[3],f[2]
g=[str(d[int(i)])for i in m]
g[2],g[3]=g[3],g[2]
g+=g
for i in range(4):
if g[g.index(f[i])+1]!=f[i+1]:print('No');break
elif ... |
s732972443 | p02385 | u150984829 | 1513329715 | Python | Python3 | py | Runtime Error | 20 | 5608 | 376 | d,e=[list(map(int,input().split()))for _ in range(2)]
m={0:'1234',1:'5230',2:'1504',3:'1054',4:'0235',5:'1324'}[d.index(e[0])]
#f=[str(e[i])for i in range(1,5)]+[str(e[1])]
f=[str(e[i])for i in range(1,5)]
f+=f
f[2],f[3]=f[3],f[2]
g=[str(d[int(i)])for i in m]
g[2],g[3]=g[3],g[2]
g+=g
for i in range(4):
if g[g.index(f[... |
s035130637 | p02385 | u150984829 | 1513350662 | Python | Python3 | py | Runtime Error | 0 | 0 | 318 | d,e=[list(map(int,input().split()))for _ in range(2)]
e[3],e[4]=e[4],e[3]
t=0
for i in range(6):
m={0:'012345',1:'152304',2:'215043',3:'310542',4:'402351',5:'513240'}[i]
f=[d[int(j)]for j in m];f[3],f[4]=f[4],f[3]
if f[0]==e[0]:
for j in range(4):
if f[1:5]*2[j:j+4]==e[1:5]:t=1;break
print(('No','Yes')[t==1]) |
s519929578 | p02385 | u203261375 | 1514884162 | Python | Python3 | py | Runtime Error | 0 | 0 | 1231 | import random
class Dice(object):
def __init__(self):
self.t = 1
self.s = 2
self.e = 3
self.w = 4
self.n = 5
self.b = 6
def __init__(self, faces):
self.t = faces[0]
self.s = faces[1]
self.e = faces[2]
self.w = faces[3]
se... |
s049289650 | p02385 | u150984829 | 1516372706 | Python | Python3 | py | Runtime Error | 20 | 5608 | 338 | d,e=[list(map(int,input().split()))for _ in range(2)]
m={0:'1234',1:'5230',2:'1504',3:'1054',4:'0235',5:'1324'}[d.index(e[0])]
f=[str(e[i])for i in range(1,5)]+[str(e[1])]
f[2],f[3]=f[3],f[2]
g=[str(d[int(i)])for i in m]
g[2],g[3]=g[3],g[2]
g+=g
for i in range(4):
if g[g.index(f[i])+1]!=f[i+1]:print('No');break
elif ... |
s810533509 | p02385 | u566311709 | 1522417679 | Python | Python3 | py | Runtime Error | 20 | 5564 | 312 | d = input().split()
a = input().split()
p = [(-1, 2, 4, 1, 3, -1), (3, -1, 0, 5, -1, 2), (1, 5, -1, -1, 0, 4),
(4, 0, -1, -1, 5, 1), (2, -1, 5, 0, -1, 3), (-1, 3, 1, 4, 2, -1)]
t, f = d.index(a[0]), d.index(a[1])
r = p[t][f]
l = [d[t], d[f], d[r], d[5-r], d[5-f], d[5-t]]
print("Yes") if a == l else print("No")
|
s164506660 | p02385 | u566311709 | 1522464331 | Python | Python3 | py | Runtime Error | 20 | 5580 | 464 | d = input().split()
a = input().split()
p = [(-1, 2, 4, 1, 3, -1), (3, -1, 0, 5, -1, 2), (1, 5, -1, -1, 0, 4),
(4, 0, -1, -1, 5, 1), (2, -1, 5, 0, -1, 3), (-1, 3, 1, 4, 2, -1)]
ts = [i for i, x in enumerate(d) if x == a[0]]
fs = [i for i, x in enumerate(d) if x == a[1]]
b = 0
for t in ts:
for f in fs:
if t == f: ... |
s667357454 | p02385 | u777277984 | 1528081697 | Python | Python3 | py | Runtime Error | 20 | 5832 | 3536 | class Dice:
def __init__(self):
self.side = {"top": 0, "front": 0, "right": 0, "left": 0, "back": 0, "bottom": 0}
# サイコロを東西南北、どちらか一方に転がした時、それぞれの面の変化
def roll(self, direction):
self.direction = direction
if self.direction == "N":
w = self.side["top"]
self.side... |
s808949208 | p02385 | u777277984 | 1528081779 | Python | Python3 | py | Runtime Error | 30 | 5824 | 3536 | class Dice:
def __init__(self):
self.side = {"top": 0, "front": 0, "right": 0, "left": 0, "back": 0, "bottom": 0}
# サイコロを東西南北、どちらか一方に転がした時、それぞれの面の変化
def roll(self, direction):
self.direction = direction
if self.direction == "N":
w = self.side["top"]
self.side... |
s617317717 | p02385 | u777277984 | 1528081796 | Python | Python3 | py | Runtime Error | 20 | 5832 | 3536 | class Dice:
def __init__(self):
self.side = {"top": 0, "front": 0, "right": 0, "left": 0, "back": 0, "bottom": 0}
# サイコロを東西南北、どちらか一方に転がした時、それぞれの面の変化
def roll(self, direction):
self.direction = direction
if self.direction == "N":
w = self.side["top"]
self.side... |
s127691042 | p02385 | u918276501 | 1528712060 | Python | Python3 | py | Runtime Error | 20 | 5608 | 717 | set_first = [
[1,2,3,4,5,6],
[5,1,3,4,6,2],
[4,2,1,6,5,3],
[3,2,6,1,5,4],
[2,6,3,4,1,5],
[6,5,3,4,2,1]]
set_rotate = [
['dummy'],
[1,2,3,4,5,6],
[1,4,2,5,3,6],
[1,3,5,2,4,6],
[1,5,4,3,2,6]]
rotate = lambda dice, order: [dice[order[i]-1] for i in range(6)]
def set_dice(dice... |
s906188111 | p02385 | u918276501 | 1528712270 | Python | Python3 | py | Runtime Error | 20 | 5616 | 749 | set_first = [
[1,2,3,4,5,6],
[5,1,3,4,6,2],
[4,2,1,6,5,3],
[3,2,6,1,5,4],
[2,6,3,4,1,5],
[6,5,3,4,2,1]]
set_rotate = [
['dummy'],
[1,2,3,4,5,6],
[1,4,2,5,3,6],
[1,3,5,2,4,6],
[1,5,4,3,2,6]]
rotate = lambda dice, order: [dice[order[i]-1] for i in range(6)]
def set_dice(dice... |
s889746854 | p02386 | u869301406 | 1530965546 | Python | Python3 | py | Runtime Error | 0 | 0 | 2158 | class Dice(object):
def __init__(self, d):
self.rows = [d[0], d[4], d[5], d[1]]
self.cols = [d[0], d[2], d[5], d[3]]
def move_next_rows(self):
temp = self.rows.pop(0)
self.rows.append(temp)
self.__update(self.cols, self.rows)
def move_prev_rows(self):
te... |
s550465001 | p02386 | u869301406 | 1530965662 | Python | Python3 | py | Runtime Error | 0 | 0 | 2163 | class Dice(object):
def __init__(self, d):
self.rows = [d[0], d[4], d[5], d[1]]
self.cols = [d[0], d[2], d[5], d[3]]
def move_next_rows(self):
temp = self.rows.pop(0)
self.rows.append(temp)
self.__update(self.cols, self.rows)
def move_prev_rows(self):
te... |
s138686228 | p02386 | u662822413 | 1559051453 | Python | Python3 | py | Runtime Error | 0 | 0 | 2413 | from enum import Enum
import sys
import math
#0:中央,1:南,2:東,3:西,4:北,5:裏側
class Dice():
def __init__(self):
self.number = [i for i in range(6)]
self.work = [i for i in range(6)]
self.order = 'NNNNWNNNWNNNENNNENNNWNNN'
def setNumber(self,n0,n1,n2,n3,n4,n5):
self.number[0] = n0
... |
s502310336 | p02386 | u535719732 | 1559359876 | Python | Python3 | py | Runtime Error | 20 | 5752 | 3343 | class Dice():
def __init__(self):
self.number = [_ for _ in range(6)]
self.work = [_ for _ in range(6)]
self.order = "NNNNWNNNWNNNENNNENNNWNNN"
def setNumber(self,n0,n1,n2,n3,n4,n5):
self.number[0] = n0
self.number[1] = n1
self.number[2] = n2
self.number[3] = n3
self.number[4] = n4
self.number[5] = ... |
s531918520 | p02386 | u535719732 | 1559360824 | Python | Python3 | py | Runtime Error | 0 | 0 | 3397 | class Dice():
def __init__(self):
self.number = [_ for _ in range(6)]
self.work = [_ for _ in range(6)]
self.order = "NNNNWNNNWNNNENNNENNNWNNN"
def setNumber(self,n0,n1,n2,n3,n4,n5):
self.number[0] = n0
self.number[1] = n1
self.number[2] = n2
self.number[3] = n3
self.number[4] = n4
self.number[5] = ... |
s402005249 | p02386 | u535719732 | 1559360858 | Python | Python3 | py | Runtime Error | 0 | 0 | 3407 | class Dice():
def __init__(self):
self.number = [_ for _ in range(6)]
self.work = [_ for _ in range(6)]
self.order = "NNNNWNNNWNNNENNNENNNWNNN"
def setNumber(self,n0,n1,n2,n3,n4,n5):
self.number[0] = n0
self.number[1] = n1
self.number[2] = n2
self.number[3] = n3
self.number[4] = n4
self.number[5] = ... |
s616746444 | p02386 | u535719732 | 1559360893 | Python | Python3 | py | Runtime Error | 0 | 0 | 3398 | class Dice():
def __init__(self):
self.number = [_ for _ in range(6)]
self.work = [_ for _ in range(6)]
self.order = "NNNNWNNNWNNNENNNENNNWNNN"
def setNumber(self,n0,n1,n2,n3,n4,n5):
self.number[0] = n0
self.number[1] = n1
self.number[2] = n2
self.number[3] = n3
self.number[4] = n4
self.number[5] = ... |
s028904696 | p02386 | u567380442 | 1421237631 | Python | Python3 | py | Runtime Error | 0 | 0 | 891 | mask = [[i for i in range(6)], (1, 5, 2, 3, 0, 4), (2, 1, 5, 0, 4,3),(3, 1, 0, 5, 4, 2), (4, 0, 2, 3, 5, 1)]
mask += [[mask[1][i] for i in mask[1]]]
def set_top(dice, top):
return [dice[i] for i in mask[top]]
def twist(dice):
return [dice[i] for i in (0, 3, 1, 4, 2, 5)]
def equal(dice1, dice2):
if sorted... |
s791463614 | p02386 | u813534019 | 1421339847 | Python | Python3 | py | Runtime Error | 0 | 0 | 793 | import sys
IDX_TBL = {1:[2,3,5,4], 2:[3,1,4,6], 3:[1,2,6,5],
4:[1,5,6,2], 5:[1,3,6,4], 6:[2,4,5,3]}
OPPSITE_TBL = {1:6, 2:5, 3:4, 4:3, 5:2, 6:1}
def is_same(l1, l2):
if l1[1] in l2:
idx_list = [i for i,x in enumerate(l2) if x==l1[1]]
for idx in idx_list:
nstr1 = "".join([l1... |
s050944434 | p02386 | u571345655 | 1435344568 | Python | Python | py | Runtime Error | 20 | 4580 | 3629 | # coding=utf-8
from itertools import combinations
class Dice(object):
def __init__(self, list_):
self.label = list_
def getLabel(self, i):
return self.label[i - 1]
def _rotateS(self):
self.label = [self.getLabel(i) for i in [5, 1, 3, 4, 6, 2]]
def _rotateN(self):
se... |
s447354027 | p02386 | u777299405 | 1435906829 | Python | Python3 | py | Runtime Error | 0 | 0 | 1848 | class Dice:
def __init__(self, faces):
self.faces = tuple(faces)
def roll_north(self):
self.faces = (self.faces[1], self.faces[5], self.faces[2],
self.faces[3], self.faces[0], self.faces[4])
def roll_south(self):
self.faces = (self.faces[4], self.faces[0], se... |
s569877184 | p02386 | u609407244 | 1436090476 | Python | Python3 | py | Runtime Error | 0 | 0 | 618 | import itertools
def roll(dice, commands):
for command in commands:
if command == 'N':
dice[0], dice[1], dice[5], dice[4] = dice[1], dice[5], dice[4], dice[0]
elif command == 'W':
dice[0], dice[3], dice[5], dice[2] = dice[2], dice[0], dice[3], dice[5]
A = list(map(int, inp... |
s225606840 | p02386 | u938745275 | 1440937361 | Python | Python | py | Runtime Error | 20 | 10368 | 4146 | import random
class Dice:
def __init__(self, list = map(str, range(1, 7))):
self.top = list[0]
self.front = list[1]
self.right = list[2]
self.left = list[3]
self.back = list[4]
self.bottom = list[5]
self.dic = {}
for i in xrange(6):
if list[i] in self.dic:
self.dic[list... |
s611880139 | p02386 | u512342660 | 1450970196 | Python | Python | py | Runtime Error | 10 | 6540 | 2853 | #-*- coding:utf-8 -*-
import sys
n = input()
rolls =[]
for x in xrange(n):
rolls.append(raw_input().split())
#??????????????¨??????????????????????????????
#?????´????????????????????¨??????????????£???????????§??????
for l1 in xrange(n):
for l2 in xrange(n):
#??????????????????????????????
#???... |
s565546785 | p02386 | u797673668 | 1452322785 | Python | Python3 | py | Runtime Error | 20 | 7824 | 850 | def cache_dice(d):
return dlist.append((d, {v: k for k, v in enumerate(d)}))
n, d1 = int(input()), tuple(map(int, input().split()))
dlist = []
cache_dice(d1)
dms = ((1, 2, 4, 3), (0, 3, 5, 2), (0, 1, 5, 4), (0, 4, 5, 1), (0, 2, 5, 3), (1, 3, 4, 2))
for _ in range(n - 1):
d2 = tuple(map(int, input().split()... |
s212671336 | p02386 | u569960318 | 1464753232 | Python | Python3 | py | Runtime Error | 0 | 0 | 228 | import math
a,b,C = map(float,input().split())
C_rad=math.pi*C/180
print("{0:.8f}".format(math.sin(C_rad)*a*b/2))
print("{0:.8f}".format(a+b+math.sqrt(a**2+b**2-2*a*b*math.cos(C_rad))))
print("{0:.8f}".format(b*math.sin(C_rad))) |
s672217138 | p02386 | u998435601 | 1474098117 | Python | Python3 | py | Runtime Error | 0 | 0 | 2307 | # coding: utf-8
# ?????????????????¨????????????
class Dice(object):
def __init__(self, L=[1, 2, 3, 4, 5, 6]):
# ????????¶???
self.dice = (L[1], L[4]), (L[2], L[3]), (L[0], L[5]) # x, y, z
self.ax = [[0, False], [1, False], [2, False]]
self.axmap = [0, 1, 2]
self.mm = {"N": (0, 2), "S": (2, 0), "E": (1, 2), ... |
s896740412 | p02386 | u998435601 | 1474098155 | Python | Python3 | py | Runtime Error | 0 | 0 | 2299 | # coding: utf-8
# ?????????????????¨????????????
class Dice(object):
def __init__(self, L=[1, 2, 3, 4, 5, 6]):
# ????????¶???
self.dice = (L[1], L[4]), (L[2], L[3]), (L[0], L[5]) # x, y, z
self.ax = [[0, False], [1, False], [2, False]]
self.axmap = [0, 1, 2]
self.mm = {"N": (0, 2), "S": (2, 0), "E": (1, 2), ... |
s471187332 | p02386 | u998435601 | 1474098460 | Python | Python3 | py | Runtime Error | 0 | 0 | 2306 | # coding: utf-8
class Dice(object):
def __init__(self, L=[1, 2, 3, 4, 5, 6]):
# ????????¶???
self.dice = (L[1], L[4]), (L[2], L[3]), (L[0], L[5]) # x, y, z
self.ax = [[0, False], [1, False], [2, False]]
self.axmap = [0, 1, 2]
self.mm = {"N": (0, 2), "S": (2, 0), "E": (1, 2), "W": (2, 1), "R": (0, 1), "L": (1... |
s980857138 | p02386 | u193453446 | 1499837910 | Python | Python3 | py | Runtime Error | 0 | 0 | 3121 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
???????????? 4
?¬?????±??????????????????????????????????????????¢??????????????\??¬????????§????????????????????°????????????????????????????????????
+--+
???|???|
+--+--+--+--+
|???|???|???|???|
+--+--+--+--+
???|???|
+--+
"""
class Dice:
T = 0
S = ... |
s368317731 | p02386 | u283452598 | 1503212911 | Python | Python3 | py | Runtime Error | 0 | 0 | 1775 | class Dice():
def __init__(self,ary):
self.top = ary[0]
self.south = ary[1]
self.east = ary[2]
self.west = ary[3]
self.north = ary[4]
self.bottom = ary[5]
def get_top(self):
return self.top
def rotate_north(self):
self.top,self.south,self.nor... |
s123453069 | p02386 | u972637506 | 1505790490 | Python | Python3 | py | Runtime Error | 60 | 7940 | 1283 | class Checker:
d = {
1: { 2: (3,4,5,6), 3: (5,2,4,6), 4: (2,5,3,6), 5: (4,3,2,6) },
2: { 1: (4,3,6,5), 3: (1,6,4,5), 4: (6,1,3,5), 6: (3,4,1,5) },
3: { 1: (2,5,6,4), 2: (6,1,5,4), 5: (1,6,2,4), 6: (5,2,1,4) },
4: { 1: (5,2,6,3), 2: (1,6,5,3), 5: (6,1,2,3), 6: (2,5,1,3) },
5: ... |
s091380297 | p02386 | u203261375 | 1515054619 | Python | Python3 | py | Runtime Error | 0 | 0 | 1407 | import random
class Dice(object):
def __init__(self):
self.t = 1
self.s = 2
self.e = 3
self.w = 4
self.n = 5
self.b = 6
def __init__(self, faces):
self.t = faces[0]
self.s = faces[1]
self.e = faces[2]
self.w = faces[3]
se... |
s341964660 | p02386 | u150984829 | 1516429186 | Python | Python3 | py | Runtime Error | 0 | 0 | 391 | n=int(input())
a=[list(map(int,input().split()))for _ in range(n)]
for k in range(n):
b=a[k];b[3],b[4]=b[4],b[3]
t=0
for i in range(n-1):
d=a[i]
for j in range(i+1,n):
e=a[j]
for p in('012345','152043','215304','302541','410352','514320'):
f=[d[int(k)]for k in p]
if f[0]==e[0]and f[5]==e[5]:
f=f[1:5]*2... |
s453672272 | p02386 | u150984829 | 1516430121 | Python | Python3 | py | Runtime Error | 0 | 0 | 459 | n=int(input())
a=[list(map(int,input().split()))for _ in range(n)]
for k in range(n):
b=a[k];b[3],b[4]=b[4],b[3]
t=0
while 1:
try:
for i in range(n-1):
d=a[i]
for j in range(i+1,n):
e=a[j]
for p in('012345','152043','215304','302541','410352','514320'):
f=[d[int(k)]for k in p]
if f[0]==e[0]a... |
s669884824 | p02386 | u150984829 | 1516431999 | Python | Python3 | py | Runtime Error | 0 | 0 | 420 | n=int(input())
a=[list(map(int,input().split()))for _ in range(n)]
for k in range(n):
b=a[k];b[3],b[4]=b[4],b[3]
def f():
for i in range(n-1):
d=a[i]
for j in range(i+1,n):
e=a[j]
for p in('012345','152043','215304','302541','410352','514320'):
f=[d[int(k)]for k in p]
if f[0]==e[0]and f[5]==e[5]:
... |
s116202767 | p02386 | u150984829 | 1524838429 | Python | Python3 | py | Runtime Error | 0 | 0 | 395 | def g():
from itertools import*
n=int(input())
a=[input().split()for _ in[0]*n]
for b in a:
b[3:5]=b[4],b[3]
for d,e in combinations(a,2):
for p in([0,1,2,3,4,5],[1,5,2,0,4,3],[2,1,5,3,0,4],[3,0,2,5,4,1],[4,1,0,3,5,2],[5,1,4,3,2,0]):
f=[d[i]for i in p]
if f[0]==e[0]and f[5]==e[5]:
f=f[1:5]*2
for ... |
s434893748 | p02386 | u908651435 | 1526754370 | Python | Python3 | py | Runtime Error | 0 | 0 | 1092 | class Dice:
def __init__(self,t,f,r,l,b,u):
self.a=[[t,f,r,l,b,u]]
self.direction={'S':(4,0,2,3,5,1),'N':(1,5,2,3,0,4),'E':(3,1,0,5,4,2),'W':(2,1,5,0,4,3),'Y':(0,3,1,4,2,5)}
def roll(self,d,n):
self.a[n]=[self.a[n][i] for i in self.direction[d]]
self.t = self.a[0]
self.f ... |
s950256033 | p02386 | u908651435 | 1526754386 | Python | Python3 | py | Runtime Error | 0 | 0 | 1092 | class Dice:
def __init__(self,t,f,r,l,b,u):
self.a=[[t,f,r,l,b,u]]
self.direction={'S':(4,0,2,3,5,1),'N':(1,5,2,3,0,4),'E':(3,1,0,5,4,2),'W':(2,1,5,0,4,3),'Y':(0,3,1,4,2,5)}
def roll(self,d,n):
self.a[n]=[self.a[n][i] for i in self.direction[d]]
self.t = self.a[0]
self.f ... |
s472598785 | p02386 | u592529978 | 1527483391 | Python | Python | py | Runtime Error | 0 | 0 | 693 |
ans=chk=0
a=[0,2,5,3]
b=[0,1,5,4]
c=[1,2,4,3]
def sortdice(dice1,dice2,p,q,r):
for i in range(4):
dice1[p[0]],dice1[p[1]],dice1[p[2]],dice1[p[3]]=dice1[p[1]],dice1[p[2]],dice1[p[3]],dice1[p[0]]
for j in range(4):
dice1[q[0]],dice1[q[1]],dice1[q[2]],dice1[q[3]]=dice1[q[1]],dice1[q[2]],... |
s856406329 | p02386 | u922112509 | 1529537771 | Python | Python3 | py | Runtime Error | 0 | 0 | 2321 | class Dice:
def __init__(self, a1, a2, a3, a4, a5, a6):
# サイコロを縦横にたどると書いてある数字(index1は真上、index3は真下の数字)
self.face = [a1, a2, a3, a4, a5, a6]
self.v = [a5, a1, a2, a6] # 縦方向
self.h = [a4, a1, a3, a6] # 横方向
self.det = 1
# print(self.v, self.h)
# サイコロの上面の数字を表示
def... |
s091971013 | p02388 | u985078506 | 1530895993 | Python | Python3 | py | Runtime Error | 0 | 0 | 21 | x = x*x*x
print("x")
|
s869961717 | p02388 | u452254177 | 1530972570 | Python | Python3 | py | Runtime Error | 0 | 0 | 22 | x=input()
print(x**3)
|
s645472377 | p02388 | u452254177 | 1530972614 | Python | Python3 | py | Runtime Error | 0 | 0 | 24 | N = input()
print(N**3)
|
s790292686 | p02388 | u500386459 | 1531120044 | Python | Python3 | py | Runtime Error | 0 | 0 | 34 | num = int(imput())
print(num**3)
|
s907772474 | p02388 | u303952184 | 1531837666 | Python | Python3 | py | Runtime Error | 0 | 0 | 29 | x = raw_input()
print x ** 3
|
s734037944 | p02388 | u303952184 | 1531837755 | Python | Python3 | py | Runtime Error | 0 | 0 | 31 | x = raw_input()
print (x ** 3)
|
s266372314 | p02388 | u303952184 | 1531837965 | Python | Python3 | py | Runtime Error | 0 | 0 | 7 | x ** 3
|
s001576004 | p02388 | u260169299 | 1534867711 | Python | Python3 | py | Runtime Error | 0 | 0 | 249 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int v = scanner.nextInt();
scanner.close();
System.out.println(v * v * v);
}
}
|
s584185058 | p02388 | u260169299 | 1534867943 | Python | Python3 | py | Runtime Error | 0 | 0 | 483 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int it = 3;
int total = 0;
scanner.close();
System.out.println(helper(n,it,total));
}
public static int... |
s429589819 | p02388 | u260169299 | 1534868021 | Python | Python3 | py | Runtime Error | 0 | 0 | 245 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
scanner.close();
System.out.println(n * n * n);
}
}
|
s505100829 | p02388 | u260169299 | 1534868055 | Python | Python3 | py | Runtime Error | 0 | 0 | 249 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
scanner.close();
System.out.println(n * n * n);
}
}
|
s343933462 | p02388 | u219202227 | 1534895382 | Python | Python3 | py | Runtime Error | 0 | 0 | 4 | aaa
|
s338035832 | p02388 | u655879321 | 1534904512 | Python | Python3 | py | Runtime Error | 0 | 0 | 13 | print(x*x*x)
|
s287665664 | p02388 | u655879321 | 1534905495 | Python | Python3 | py | Runtime Error | 0 | 0 | 52 | A, B = map(int, input().sprit())
print(A*B,2*(A+B))
|
s578567192 | p02388 | u404682284 | 1534950982 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | package main
import "fmt"
func main(){
var i int
fmt.Scan(&i)
fmt.Println(i*i*i)
}
|
s861945434 | p02388 | u525366883 | 1535069869 | Python | Python | py | Runtime Error | 0 | 0 | 42 | x = int(raw_input())
print Math.pow(x, 3)
|
s333167540 | p02388 | u580227385 | 1535442160 | Python | Python3 | py | Runtime Error | 0 | 0 | 50 | if __name__ == '__main__':
print(int(x) ** 3)
|
s462974732 | p02388 | u580227385 | 1535442253 | Python | Python3 | py | Runtime Error | 0 | 0 | 45 | if __name__ == '__main__':
print(x ** 3)
|
s550015206 | p02388 | u578074046 | 1535531136 | Python | Python3 | py | Runtime Error | 0 | 0 | 67 | import sys
args = sys.argv
num = int(args[1])
print(str(num**3))
|
s988297784 | p02388 | u640181155 | 1535625718 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | print("文字を入力して下さい")
x=input()
print(x^3)
|
s903999982 | p02388 | u640181155 | 1535625804 | Python | Python3 | py | Runtime Error | 0 | 0 | 63 | print("文字を入力して下さい")
x=input()
print(x*x*x)
|
s290818966 | p02388 | u640181155 | 1535625861 | Python | Python3 | py | Runtime Error | 0 | 0 | 64 | print("文字を入力して下さい")
x=input()
print(x*x*x)
|
s606470183 | p02388 | u640181155 | 1535626175 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | x=input()
print(x*x*x)
|
s852242792 | p02388 | u640181155 | 1535626184 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | x=input()
print(x*x*x)
|
s524468282 | p02388 | u640181155 | 1535626190 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | x=input()
print(x*x*x)
|
s326922542 | p02388 | u637765482 | 1535707356 | Python | Python | py | Runtime Error | 0 | 0 | 13 | print(x*x*x)
|
s746381401 | p02388 | u637765482 | 1535707428 | Python | Python | py | Runtime Error | 0 | 0 | 14 | x = x * x * x
|
s845160213 | p02388 | u637765482 | 1535707600 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | import numpy as np
x = np.array([1, 2, 3])
print(np.cbrt(x))
|
s817152584 | p02388 | u589479013 | 1535884529 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | x=input
a=x*x*x
print(a)
|
s256984402 | p02388 | u589479013 | 1535884646 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | x=1 ≤ x ≤ 100
a=x*x*x
print(a)
|
s871298835 | p02388 | u589479013 | 1535888177 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | #include<stdio.h>
int main(){
int x;
scanf("%d", &x);
printf("%d\n",x*x*x);
return 0;
}
|
s305142939 | p02388 | u291439196 | 1535938494 | Python | Python3 | py | Runtime Error | 0 | 0 | 20 | x = 3 ***
print(x)
|
s149047894 | p02388 | u650022417 | 1535968891 | Python | Python | py | Runtime Error | 0 | 0 | 181 | #include <iostream>
#include <vector>
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(100).at(99);
cout << vec.at(100).at(100) << endl;
}
|
s537688092 | p02388 | u650022417 | 1535968951 | Python | Python | py | Runtime Error | 0 | 0 | 202 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(100).at(99);
cout << vec.at(100).at(100) << endl;
}
|
s089797968 | p02388 | u650022417 | 1535969019 | Python | Python | py | Runtime Error | 0 | 0 | 201 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(99).at(99);
cout << vec.at(100).at(100) << endl;
}
|
s118941016 | p02388 | u650022417 | 1535969324 | Python | Python | py | Runtime Error | 0 | 0 | 253 | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(99).at(99);
long long num = vec.at(99).at(99);
cout << pow(num, 3) << endl;
}
|
s283518480 | p02388 | u650022417 | 1535969361 | Python | Python | py | Runtime Error | 0 | 0 | 247 | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(99).at(99);
num = vec.at(99).at(99);
cout << num * num * num << endl;
}
|
s327734801 | p02388 | u650022417 | 1535969431 | Python | Python | py | Runtime Error | 0 | 0 | 253 | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
vector<vector<int>> vec(100, vector<int>(100, 0));
cin >> vec.at(99).at(99);
int num = vec.at(99).at(99);
cout << (int) pow(num, 3) << endl;
}
|
s714103679 | p02388 | u344368371 | 1540544671 | Python | Python | py | Runtime Error | 0 | 0 | 33 | x = Input()
x = x*x*x
print(x)
|
s244391688 | p02388 | u344368371 | 1540544940 | Python | Python | py | Runtime Error | 0 | 0 | 39 | int x
x = Input()
x = x*x*x
print(x)
|
s745256879 | p02388 | u344368371 | 1540544968 | Python | Python | py | Runtime Error | 0 | 0 | 35 | x = getchar()
x = x*x*x
print(x)
|
s568945201 | p02388 | u394290028 | 1540617517 | Python | Python3 | py | Runtime Error | 0 | 0 | 47 | input(x)
a = int(x) * int(x) * int(x)
print(a)
|
s793357082 | p02388 | u394290028 | 1540617533 | Python | Python3 | py | Runtime Error | 0 | 0 | 32 | input(x)
a = x * x * x
print(a)
|
s783886796 | p02388 | u678690126 | 1540650846 | Python | Python3 | py | Runtime Error | 0 | 0 | 48 | x = input()
if 1 <= x <= 100:
print(x ** 2)
|
s534535505 | p02388 | u127984384 | 1540712509 | Python | Python | py | Runtime Error | 0 | 0 | 35 | input(x)
y=0
y=x*x*x
print(y)
|
s974313233 | p02388 | u637765482 | 1540737791 | Python | Python3 | py | Runtime Error | 0 | 0 | 19 | x = x*x*x
print(x)
|
s225084753 | p02388 | u637765482 | 1540737830 | Python | Python3 | py | Runtime Error | 0 | 0 | 13 | print(x*x*x)
|
s831800095 | p02388 | u637765482 | 1540738429 | Python | Python3 | py | Runtime Error | 0 | 0 | 33 | x = input()
y = x**3
print(y)
|
s474934995 | p02388 | u637765482 | 1540738462 | Python | Python3 | py | Runtime Error | 0 | 0 | 37 | x = input()
y = x**3
print int(y)
|
s899919494 | p02388 | u637765482 | 1540738480 | Python | Python3 | py | Runtime Error | 0 | 0 | 38 | x = input()
y = x**3
print(int(y))
|
s254237813 | p02388 | u637765482 | 1540738599 | Python | Python3 | py | Runtime Error | 0 | 0 | 37 | x = input(int())
y = x**3
print(y)
|
s474299748 | p02388 | u637765482 | 1540738670 | Python | Python3 | py | Runtime Error | 0 | 0 | 19 | x = X**3
print(x)
|
s060219751 | p02388 | u637765482 | 1540739030 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = int(x**3)
print(x)
|
s941694504 | p02388 | u978863922 | 1540826313 | Python | Python3 | py | Runtime Error | 0 | 0 | 34 | N = int(input())
print(pow(N,3))
|
s659347473 | p02388 | u393807324 | 1540894984 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | a = input()
print(a*a*a)
|
s989938497 | p02388 | u393807324 | 1540895036 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | #include<iostream>
using namespace std;
int main(void){
int a;
cin>>a;
cout<<a*a*a<<endl;
}
|
s809573538 | p02388 | u293957970 | 1541169953 | Python | Python3 | py | Runtime Error | 0 | 0 | 30 | number = 2^3:
print("number")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.