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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s706883704 | p03852 | u898651494 | 1517910053 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | x = input()
if x == 'a' || x == 'i' || x == 'u'||x=='e'||x=='o':
print ('vowel')
else
print ('consonant') |
s849936824 | p03852 | u898651494 | 1517910042 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | x = input()
if x == 'a' || x == 'i' || x == 'u'||x=='e'||x=='o':
print ('vowel')
else
print ('consonant') |
s355593941 | p03852 | u811528179 | 1514406896 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | c=str(input())
print(['consonant','vowel'][c=='a'or'i'or'u'or'e'or'o'])
|
s859392607 | p03852 | u355798276 | 1513300554 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3316 | 128 | import re
x = input()
vowels = 'aiueo'
index = vowels.search(x)
if index != -1:
print("vowel")
else:
print("consonant")
|
s240623054 | p03852 | u214380782 | 1499346384 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 217 | if input()== 'a':
print('vowel')
elif input()=='i':
print('vowel')
elif input()=='u':
print('vowel')
elif input()=='e':
print('vowel')
elif input()=='o':
print('vowel')
else:
print('consonant') |
s550073872 | p03852 | u214380782 | 1499346067 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | if input()== 'a' or input()=='i' or input()=='u' or input()=='e' or input()=='o':
print('vowel')
else:
print('consonant') |
s518899965 | p03852 | u820351940 | 1495480641 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | print(ord(input()) in "aiueo" and "vowel" or "consonant") |
s895978366 | p03852 | u732844340 | 1492967533 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 490 | n = input()
def slv():
a = ['a', 'e', 'i', 'o', 'u']
for i in a:
if i == n:
print('vowel')
return
print('consonant')
slv() |
s818267882 | p03852 | u332385682 | 1487961319 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38640 | 1403 | import sys
from collections import deque, Counter
def debug(x, table):
for name, val in table.items():
if x is val:
print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)
return None
def solve():
N, K, L = map(int, input().split())
Adj_r = [[] for i in range(N)]
Adj_t = [[] for i in range(N)]
for i in range(K):
p, q = map(int, input().split())
p, q = p-1, q-1
Adj_r[p].append(q)
Adj_r[q].append(p)
for i in range(L):
r, s = map(int, input().split())
r, s = r-1, s-1
Adj_t[r].append(s)
Adj_t[s].append(r)
col = 0
cols_r = [None] * N
cols_t = [None] * N
for u in range(N):
if cols_r[u] is None:
bfs_color(N, Adj_r, cols_r, u, col)
col += 1
if cols_t[u] is None:
bfs_color(N, Adj_t, cols_t, u, col)
col += 1
# debug(cols_r, locals())
# debug(cols_t, locals())
cnt = Counter((cols_r[u], cols_t[u]) for u in range(N))
ans = [cnt[cols_r[u], cols_t[u]] for u in range(N)]
print(*ans)
def bfs_color(N, Adj, v_cols, u, col):
v_cols[u] = col
nxts = deque([u])
while nxts:
v = nxts.popleft()
for w in Adj[v]:
if v_cols[w] is None:
v_cols[w] = col
nxts.append(w)
if __name__ == '__main__':
solve() |
s161101764 | p03852 | u290326033 | 1484161640 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 102 | s = input()
if s == ("a" or "i" or "u" or "e" or "o"):
print("vowel"):
else:
print("constant") |
s854244823 | p03852 | u712187387 | 1483761681 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 102 | input=input()
if input="a" or "i" or "u" or "e" or "o":
print(vowel)
else:
print(consonant)
|
s240273318 | p03852 | u353638740 | 1482907935 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 184 | H,W = map(int,input().split())
#output = np.ndarray((2*H,W))
output = list()
for i in range(0,H):
#output[i] = input()
strings = input()
print(strings)
print(strings) |
s198889584 | p03852 | u353638740 | 1482905925 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3064 | 254 | # -*- coding: utf-8 -*-
s = raw_input()
vowel_list = ['a','i','u','e','o']
output_string = ['vowel','consonant']
flag = False
for vowel in vowel_list:
if vowel == s:
flag = True
print(output_string[0] if flag == True else output_string[1]) |
s542307933 | p03852 | u353638740 | 1482905788 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3064 | 254 | # -*- coding: utf-8 -*-
s = raw_input()
vowel_list = ['a','i','u','e','o']
output_string = ['vowel','consonant']
flag = False
for vowel in vowel_list:
if vowel == s:
flag = True
print(output_string[0] if flag == True else output_string[1]) |
s813142007 | p03852 | u359930418 | 1482523624 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 108 | word = input().split()
if word == "a", "e", "i", "o", "u" :
print("vowel")
else:
print("consonant") |
s436195069 | p03852 | u518732500 | 1482110783 | Python | Python (3.4.3) | py | Runtime Error | 163 | 12524 | 150 | import numpy as np
import pandas as pd
def main():
print('vowel' if input() in 'aeiou' else 'consonant')
if __name__ == '__main__':
main()
|
s199521034 | p03852 | u456877307 | 1482098920 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2568 | 86 | input = raw_input()
if input not in a:
print("consonant")
else:
print("vowel") |
s865082383 | p03852 | u843981036 | 1482085097 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 89 | h,w = map(int,input().split())
for i in range(h):
str = input()+"\n"
print(str*2) |
s889110219 | p03852 | u226155577 | 1482038118 | Python | Python (2.7.6) | py | Runtime Error | 17 | 2568 | 39 | print"vowel"*(c in"aiueo")or"consonant" |
s708064862 | p03852 | u201109843 | 1481778975 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2696 | 132 | import sys
c = sys.argv[1]
vowel = ("a", "i", "u", "e", "o")
if c in vowel:
print "vowel"
else:
print "consonant"
|
s680838112 | p03852 | u848490240 | 1481769732 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 83 | s = raw_input()
if s in "aiueo":
print ('vowel')
else:
print ('consonant') |
s794183779 | p03852 | u848490240 | 1481769472 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 79 | s = raw_input()
if s in "aiueo":
print "vowell"
else:
print "consonant" |
s325425735 | p03852 | u848490240 | 1481769287 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3068 | 78 | s = raw_input()
if s in "aiueo":
print "vowel"
else:
print "consonant" |
s997093831 | p03852 | u848490240 | 1481769195 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 113 | s = raw_input()
if s =="a" or s=="i" or s=="u" or s=="e" or s=="o":
print "vowel"
else:
print "consonant" |
s600526691 | p03852 | u822353071 | 1481508496 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 113 | #001
vowel = ['a','e','u','i','o']
x=raw_input()
if x in vowel:
print("vowel")
else:
print("consonant") |
s182854783 | p03852 | u822353071 | 1481508314 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3064 | 102 | #001
vowel = "aeuio"
x=str(raw_input())
if x in vowel:
print("vowel")
else:
print("consonant") |
s630755032 | p03852 | u114687417 | 1481479740 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 92 | a = [a,i,u,e,o]
n = str(input())
if n in a:
print('vowel')
else:
print('consonant') |
s948506503 | p03852 | u582243208 | 1481428003 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 140 | a=["eraser","erase","dreamer","dream"]
s=input()
for i in range(4):
s=s.replace(a[i],"")
if s="":
print("YES")
else:
print("NO") |
s014468210 | p03852 | u270343876 | 1481425274 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2696 | 94 | a = raw_input()
a.split(' ')
for i in range(a[0]):
a = raw_input()
print a
print a |
s619565132 | p03852 | u270343876 | 1481424561 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2568 | 174 | while 1:
a = raw_input()
if a == '':
break
if a == 'a' or a=='i' or a=='u' or a=='e' or a=='o':
print 'vowel'
else:
print 'consonant'
|
s190122187 | p03852 | u546700081 | 1481423696 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2568 | 125 | import sys
H,_=map(int,raw_input().split())
for _ in range(0,H):
line=sys.stdin.readline()
print line
print line
|
s359969116 | p03852 | u114687417 | 1481422217 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 209 | i = int(input())
if i = a :
print("vowel")
elif i = i:
print("vowel")
elif i = u:
print("vowel")
elif i = e:
print("vowel")
elif i = o:
print("vowel")
else:
print("consonant") |
s869777241 | p03852 | u821083005 | 1481422126 | Python | Python (2.7.6) | py | Runtime Error | 17 | 2568 | 125 | while True:
n = raw_input()
if n in ['a','e','i','o','u']:
print 'vowel'
else:
print 'consonant'
|
s708406497 | p03852 | u821083005 | 1481422001 | Python | Python (2.7.6) | py | Runtime Error | 16 | 2572 | 120 | while True:
n = input()
if n in ['a','e','i','o','u']:
print 'vowel'
else:
print 'consonant' |
s976377811 | p03852 | u114687417 | 1481421967 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 203 | i = input()
if i = a :
print("vowel")
elif i = i:
print("vowel")
elif i = u:
print("vowel")
elif i = e:
print("vowel")
elif i = o:
print("vowel")
else:
print("consonant") |
s977350804 | p03853 | u078276601 | 1601252209 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8984 | 116 | H,W = map(int, input().split())
C = [input() for i in range(W)]
for i in range(W):
print(C[i])
print(C[i]) |
s447231288 | p03853 | u521323621 | 1601099737 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9152 | 87 | n,m = map(int, input().split())
for i in range(m):
s = input()
print(s)
print(s) |
s875034866 | p03853 | u773440446 | 1600948626 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9176 | 85 | n,m = map(int,input().split())
for i in range(h):
q = input()
print(q)
print(q) |
s453833185 | p03853 | u061629460 | 1600707557 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9196 | 143 | H,W = map(int,input().split())
A =[]
b =""
for i in range(H):
B =input()
A,append(B)
for j in range(H):
print(A[i])
print(A[i]) |
s437252047 | p03853 | u247211039 | 1599859263 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9196 | 226 | H,W=map(int, input().split())
c=[list(input()) for i in range(W)]
a=[0]*W
ans=''
for i in range(2*H):
ans=''
for j in range(W):
#print((i)//2)
a[j]=c[int((i)//2)][j]
ans+=a[j]
print(ans) |
s360397044 | p03853 | u247211039 | 1599858982 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8976 | 228 | H,W=map(int, input().split())
c=[input().split() for i in range(W)]
a=[0]*W
ans=''
for i in range(2*H):
ans=''
for j in range(W):
#print((i)//2)
a[j]=c[int((i)//2)][j]
ans+=a[j]
print(ans) |
s477898668 | p03853 | u629540524 | 1599670598 | Python | PyPy3 (7.3.0) | py | Runtime Error | 99 | 74692 | 160 | IN = iter(Input.split('\n')).__next__
def input():
return IN()
h,w = map(int,input().split())
for i in range(h):
x = input()
print(x)
print(x) |
s490222828 | p03853 | u244836567 | 1599341955 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9180 | 114 | a,b=input().split()
a=int(a)
b=int(b)
c=[input() for i in range(a)]
for i in range(a):
print(b[i])
print(b[i]) |
s425502436 | p03853 | u705418271 | 1599077552 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8996 | 69 | h,w=int(input())
for i in range(h):
s=input()
print(s)
print(s) |
s593861140 | p03853 | u617515020 | 1598714529 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9112 | 128 | h,w=map(int,input().split())
c=[list(map(int,input().split())) for _ in range(h)]
for i in range(h):
print(c[i])
print(c[i]) |
s989645369 | p03853 | u481250941 | 1598560580 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8856 | 1642 | #
# abc049 b
#
import sys
from io import StringIO
import unittest
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdout, sys.stdin = StringIO(), StringIO(input)
resolve()
sys.stdout.seek(0)
out = sys.stdout.read()[:-1]
sys.stdout, sys.stdin = stdout, stdin
self.assertEqual(out, output)
def test_ε
₯εδΎ_1(self):
input = """2 2
*.
.*"""
output = """*.
*.
.*
.*"""
self.assertIO(input, output)
def test_ε
₯εδΎ_2(self):
input = """1 4
***."""
output = """***.
***."""
self.assertIO(input, output)
def test_ε
₯εδΎ_3(self):
input = """9 20
.....***....***.....
....*...*..*...*....
...*.....**.....*...
...*.....*......*...
....*.....*....*....
.....**..*...**.....
.......*..*.*.......
........**.*........
.........**........."""
output = """.....***....***.....
.....***....***.....
....*...*..*...*....
....*...*..*...*....
...*.....**.....*...
...*.....**.....*...
...*.....*......*...
...*.....*......*...
....*.....*....*....
....*.....*....*....
.....**..*...**.....
.....**..*...**.....
.......*..*.*.......
.......*..*.*.......
........**.*........
........**.*........
.........**.........
.........**........."""
self.assertIO(input, output)
def resolve():
H, W = map(int, input().split())
ans = []
for i in range(H):
S = input()
ans.append(S)
ans.append(S)
for i in range(2*H):
print(ans[i])
if __name__ == "__main__":
# unittest.main()
resolve()
|
s648317022 | p03853 | u481250941 | 1598560557 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9012 | 1640 | #
# abc049 b
#
import sys
from io import StringIO
import unittest
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdout, sys.stdin = StringIO(), StringIO(input)
resolve()
sys.stdout.seek(0)
out = sys.stdout.read()[:-1]
sys.stdout, sys.stdin = stdout, stdin
self.assertEqual(out, output)
def test_ε
₯εδΎ_1(self):
input = """2 2
*.
.*"""
output = """*.
*.
.*
.*"""
self.assertIO(input, output)
def test_ε
₯εδΎ_2(self):
input = """1 4
***."""
output = """***.
***."""
self.assertIO(input, output)
def test_ε
₯εδΎ_3(self):
input = """9 20
.....***....***.....
....*...*..*...*....
...*.....**.....*...
...*.....*......*...
....*.....*....*....
.....**..*...**.....
.......*..*.*.......
........**.*........
.........**........."""
output = """.....***....***.....
.....***....***.....
....*...*..*...*....
....*...*..*...*....
...*.....**.....*...
...*.....**.....*...
...*.....*......*...
...*.....*......*...
....*.....*....*....
....*.....*....*....
.....**..*...**.....
.....**..*...**.....
.......*..*.*.......
.......*..*.*.......
........**.*........
........**.*........
.........**.........
.........**........."""
self.assertIO(input, output)
def resolve():
H, W = map(int, input().split())
ans = []
for i in range(H):
S = input()
ans.append(S)
ans.append(S)
for i in range(2*H):
print(ans[i])
if __name__ == "__main__":
# unittest.main()
resolve()
|
s545858580 | p03853 | u074220993 | 1597113739 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9148 | 128 | H, W = map(int, input().split())
C = []
for i in range(H):
C[i] = input()
for i in range(H):
print(C[i])
print(C[i]) |
s719003550 | p03853 | u642528832 | 1596682215 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9120 | 122 | H,W = map(int,input().split())
ans = []
for i in range(W):
ans.append(input())
for j in ans:
print(j)
print(j) |
s873281952 | p03853 | u642528832 | 1596682038 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9168 | 137 | H,W = map(int,input().split())
c = [input().split() for _ in range(W)]
for i in range(len(c)):
print(str(c[i]))
print(str(c[i])) |
s912812306 | p03853 | u996564551 | 1595870741 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9076 | 102 | H, W = input().split(' ')
H = int(H)
W = int(W)
for i in range(W):
a = input()
print(a)
print(a) |
s512113822 | p03853 | u163421511 | 1594177993 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9160 | 90 | h, w = map(int, input().split())
for i in range(h):
print(input())
print(input()) |
s340580578 | p03853 | u152614052 | 1593378789 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8900 | 105 | h,w = map(int,input().split())
li = [input() for _ in range(h)]
for i in li:
print(i,i,sep="\n")***. |
s234418326 | p03853 | u750651325 | 1592000642 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3060 | 197 | a, b = map(int, input().split())
list_a = []
for i in range(a):
x = []
a = input()
x.append(a)
list_a.append(x)
for j in range(a):
print(list_a[j][0])
print(list_a[j][0]) |
s280349738 | p03853 | u750651325 | 1592000392 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 202 | a, b = map(int, input().split())
list_a = []
for i in range(a):
x = []
a = input()
x.append(a)
list_a.append(x)
for i in range(2):
for j in range(b):
print(list_a[j][0]) |
s314945230 | p03853 | u397953026 | 1591670099 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 108 | h,w = map(int,input().split())
for i in range(h):
c = list(map(int,input().split()))
print(c)
print(c) |
s547527786 | p03853 | u730769327 | 1591231844 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 145 | h,w=map(int,input().split())
a=[]
for i range(h):
a.append=list(map(list,input().split()))
a.append=list(map(list,input().split()))
print(a)
|
s461388283 | p03853 | u594956556 | 1590537242 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 103 | H, W = map(int, input().split())
C = [input() for _ in range(H)]
for i in raneg(2*H):
print(C[i//2])
|
s931966684 | p03853 | u594956556 | 1590537162 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 106 | H, W = map(int, input().split())
C = [input() for _ in range(H)]
for i in raneg(2*H):
print(C[i//2 +1])
|
s769996912 | p03853 | u604655161 | 1590373359 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 251 | #γγ¦γͺγ
def ABC_49_B():
H,W = map(int, input().split())
C = [0 for _ in range(W)]
for i in range(H):
C[i] = input()
for i in range(H):
print(C[i])
print(C[i])
if __name__ == '__main__':
ABC_49_B() |
s072940791 | p03853 | u604655161 | 1590372945 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 139 | H,W = map(int, input().split())
C = [0 for _ in range(W)]
for i in range(H):
C[i] = input()
for i in range(H):
print(C[i])
print(C[i]) |
s236717882 | p03853 | u991134049 | 1589943505 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38384 | 122 | H, W = map(int, input().split())
X = [list(input().split()) for i in range(H)]
for i in range(2*N):
print(*X[int(i/2)]) |
s567398323 | p03853 | u711238850 | 1589302875 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | h,w = tuple(map(int,input().split()))
s = [input() for_ in range(h)]
for s_i in s:
print(s_i)
print(s_i)
|
s736991983 | p03853 | u711238850 | 1589302827 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | h,w = tuple(map(int,input().split()))
s = [input() for_ in range(h)]
for s_i in s:
print(*s_i,sep='')
print(*s_i,sep='')
|
s261525642 | p03853 | u580920947 | 1588597086 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38484 | 523 | #!/usr/bin/env python
import sys
from collections import Counter
from itertools import permutations, combinations
#from fractions import gcd
from math import gcd
from math import ceil, floor
import bisect
sys.setrecursionlimit(10 ** 6)
inf = float("inf")
def input():
return sys.stdin.readline()[:-1]
def main():
h, w = map(int, input().split())
C = [None] * h
for i in range(h):
C[i] = input()
for i in range(h):
print(C[i])
print(C[i])
if __name__ == '__main__':
main()
|
s978552011 | p03853 | u503221936 | 1588140946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 226 | H, W = map(int, input().split())
a = []
for i in range(H):
b = list(input().split())
a.append(b)
for i in range(2*H):
for j in range(W):
if j != W - 1:
print(a[i//2][j],end="")
else:
print(a[i//2][j]) |
s187204252 | p03853 | u503221936 | 1588140893 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 183 | H, W = map(int, input().split())
a = []
for i in range(H):
b = list(input().split())
a.append(b)
for i in range(2*H):
for j in range(W):
print(a[i//2][j],end="")
print('') |
s421533752 | p03853 | u503221936 | 1588140819 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 206 | H, W = map(int, input().split())
a = []
for i in range(H):
b = list(input().split())
a.append(b)
c = []
for i in range(2*H):
d = []
for j in range(W):
d.append(a[i//2][j])
c.append(d)
print(c) |
s709514655 | p03853 | u503221936 | 1588140671 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 212 | H, W = map(int, input().split())
a = []
for i in range(H):
b = list(input().split())
a.append(b)
c = []
for i in range(2*H):
d = []
for j in range(W):
d.append(a[(i + 1)//2][j])
c.append(d)
print(c) |
s991973535 | p03853 | u503221936 | 1588140619 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 222 | H, W = map(int, input().split())
a = []
for i in range(H):
b = list(map(int, input().split()))
a.append(b)
c = []
for i in range(2*H):
d = []
for j in range(W):
d.append(a[(i + 1)//2][j])
c.append(d)
print(c) |
s774984504 | p03853 | u576432509 | 1587011653 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 179 | icase=0
if icase==0:
w,h=map(int,input().split())
# xy=[[1]*w for i in range(2*h)]
for i in range(h):
cij=input()
print(cij)
print(cij)
|
s553323423 | p03853 | u948522631 | 1585519350 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 260 | #include <stdio.h>
#include <math.h>
int main(void) {
int h, w;
char c[100][100];
scanf("%d %d", &h, &w);
for (int i = 0; i < h; ++i) {
scanf("%s", c[i]);
}
for (int i = 0; i < h; ++i) {
printf("%s\n", c[i]);
printf("%s\n", c[i]);
}
return 0;
} |
s368336727 | p03853 | u627600101 | 1584072876 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 208 | H,W=map(int, input().split())
C=["0" for k in range(W)]
for k in range(H):
C[k]=input()
D=["0"for k in range(2*H)]
for k in range(H):
D[2*k]=C[k]
D[2*k+1]=C[k]
for k in range(2*H):
print(D[k]) |
s714632663 | p03853 | u422272120 | 1583902839 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 93 | h,w = map(int,input().split())
for _ in range(w):
s = input()
print (s)
print (s) |
s574874707 | p03853 | u440975163 | 1583866044 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 39152 | 144 | h, w = map(int, input().split())
a = [list(str(input())) for _ in range(h)]
for i in range(2):
print(''.join(a[i]))
print(''.join(a[i])) |
s356176497 | p03853 | u975719989 | 1583466657 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 |
H, W = map(int, input().split())
for i in range(H):
s = input()
print(s)
print(s)
|
s934540050 | p03853 | u975719989 | 1583466551 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 |
H, W = map(int, input().split())
for i in range(H):
s = input()
print(s)
print(s)
|
s877714217 | p03853 | u975719989 | 1583466337 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | H, W = map(int, input().split())
for _ in range(H):
c = input()
print(c)
print(c)
|
s396450225 | p03853 | u975719989 | 1583466237 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | h, w = map(int, input().split())
for i in range(h):
c = input()
print(c)
print(c) |
s304054129 | p03853 | u975719989 | 1583466013 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 99 | h, w = map(int, input().split())
for _ in range(h):
c = input()
print(c)
print(c)
|
s170626105 | p03853 | u975719989 | 1583465941 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | h,w = map(int,input().split())
for _ in range(h):
c = input()
print(c)
print(c)
|
s280795735 | p03853 | u975719989 | 1583465886 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | h,w = map(int,input().split())
for i in range(h):
c = input()
print(c)
print(c) |
s519281641 | p03853 | u975719989 | 1583465624 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | h,w = map(int,input().split())
for i in range(h):
c = input()
print(c)
print(c) |
s528751228 | p03853 | u408375121 | 1582224021 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | H, W = map(int, input().split())
for i in range(N):
c = input()
print(c)
print(c)
|
s703525230 | p03853 | u408375121 | 1582223981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 79 | H, W = map(int, input())
for i in range(N):
c = input()
print(c)
print(c) |
s267494359 | p03853 | u627803856 | 1581749694 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38384 | 93 | h,w=map(int,input().split())
for i in range(n):
s=input()
for j in range(2):
print(s) |
s459120497 | p03853 | u414458988 | 1581041792 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 706 | from sys import platform, stdin, setrecursionlimit
if platform =='ios':
stdin=open('input.txt')
#------------------------------------#
def main():
#setrecursionlimit(10**9)
#n = int(stdin.readline()[:-1])
r = input()
#r = [stdin.readline() for i in range(n)]
#t = [int(stdin.readline()) for i in range(n)]
#n = int(r)
#a = r.split()
#a,b,c = r.split()
#a = list(map(int, r.split()))
a,b = map(int, r.split())
#a = [int(s[i]) for i in range(1, n+1)]
#a = [list(map(int, r.split())) for i in range(1,n+1)]
res = 0
r = [input() for i in range(b)]
for i in r:
print(i+"\n"+i)
if __name__ == '__main__':
main() |
s296547673 | p03853 | u116348130 | 1580178092 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | h, w = map(int,input().split())
P = [list(map(int,input().split())) for i in range(M)]
th = []
for i in p:
for n in range(2):
th.append(i)
print(th) |
s465756227 | p03853 | u293459994 | 1579777480 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 212 | a = input().split()
w = int(a[0])
h = int(a[1])
b = []
c =[]
for i in range(h):
s = input()
b.append(s)
for i in range(h):
c.append(b[i])
c.append(b[i])
for i in range(len(c)):
print(c[i]) |
s550160455 | p03853 | u747220349 | 1578703245 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38384 | 140 | h,w=map(int,input().split())
a=[]
for i in range(h)
a.append(input().split())
for i in range(h)
print(" ".join(a[i]))
print(" ".join(a[i])) |
s283356273 | p03853 | u241190800 | 1577850226 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | data_num = [int(i) for i in input().split(" ")]
data = [input() for i in range(data_num[0])]
for i in data:
print(i)
print(i)
|
s575490998 | p03853 | u492447501 | 1577827496 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 253 | H,W = map(int, input().split())
C = []
for _ in range(H):
l = list(input()
C.append(l)
D = []
for i in range(2*H):
l = []
for j in range(W):
l.append(C[i//2][j])
D.append(l)
for i in range(len(D)):
print(*D[i],sep="") |
s382491847 | p03853 | u134302690 | 1577278897 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38640 | 169 | h,w = map(int,input().split())
s = [input() for _ in range(w)]
ans=[]
for i in range(w):
ans.append(s[i])
ans.append(s[i])
for i in range(w*2):
print(ans[i]) |
s082296054 | p03853 | u609814378 | 1577137567 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 1 | a |
s194418102 | p03853 | u309141201 | 1576884679 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 135 | H, W = map(int, input().split())
C = [''] * W
for i in range(H):
C[i] = input()
for i in range(H):
print(C[i])
print(C[i]) |
s509493047 | p03853 | u309141201 | 1576884420 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 134 | H, W = map(int, input().split())
C = [0] * W
for i in range(H):
C[i] = input()
for i in range(H):
print(C[i])
print(C[i]) |
s005261869 | p03853 | u875600867 | 1576449057 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 283 | H, W = map(int, input().split())
# γγ£γ³γγΉγεζε
pixel = [["."] * H for i in range(W)]
# ε
₯ε
for h in range(H):
pixel[h] = list(input())
# εγθ‘γ2εηΉ°γθΏγγ¦θ‘¨η€Ίγγ
for h in range(H):
print("".join(pixel[h]))
print("".join(pixel[h])) |
s664608434 | p03853 | u875600867 | 1576448888 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 39888 | 295 | H, W = map(int, input().split())
# γγ£γ³γγΉγεζε
#pixel = [["."] * H for i in range(W)]
pixel = []
# ε
₯ε
for h in range(H):
pixel[h] = list(input())
# εγθ‘γ2εηΉ°γθΏγγ¦θ‘¨η€Ίγγ
for h in range(H):
print("".join(pixel[h]))
print("".join(pixel[h])) |
s635608371 | p03853 | u875600867 | 1576448744 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 253 | H, W = map(int, input().split())
pixel = [["."] * H for i in range(W)]
# ε
₯ε
for h in range(H):
pixel[h] = list(input())
# εγθ‘γ2εηΉ°γθΏγγ¦θ‘¨η€Ίγγ
for h in range(H):
print("".join(pixel[h]))
print("".join(pixel[h])) |
s996593928 | p03853 | u875600867 | 1576448700 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38384 | 224 | H, W = map(int, input().split())
pixel = [["."] * H for i in range(W)]
# ε
₯ε
for h in range(H):
pixel[h] = list(input())
# εγθ‘γ2εηΉ°γθΏγγ¦θ‘¨η€Ίγγ
for h in range(H):
print("".join(pixel[h])) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.