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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s636273076 | p03852 | u981931040 | 1595530120 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9004 | 87 | c = input()
l = ['a'、'e'、'i'、'o'、'u']
print('vowwl' if c in l else 'consonant') |
s771055658 | p03852 | u612635771 | 1594938289 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8976 | 81 | c = input()
vowel = [a, i, u, e, o]
print("vowel" if c in vowel else "consonant") |
s851280803 | p03852 | u786020649 | 1594612664 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8956 | 104 | s = input()
vowels=['a','i','u','e','o']
if s[0]\invowels:
print('vowel')
else:
print('consonant') |
s821622293 | p03852 | u316603606 | 1594423743 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9080 | 163 | N = int (input ())
S = input()
S = S.replace('a','')
S = S.replace('i','')
S = S.replace('u','')
S = S.replace('e','')
S = S.replace('o','')
print (N-int (len(S))) |
s112139057 | p03852 | u244836567 | 1593911863 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8860 | 171 | A=input()
if A="a":
print("vowel")
if A="i":
print("vowel")
if A="u":
print("vowel")
if A="e":
print("vowel")
if A="o":
print("vowel")
else:
print("consonant") |
s355386814 | p03852 | u137228327 | 1592734719 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8996 | 101 |
lst = list(map(str,input().split()))
#print(lst)
#print(lst[1])
print(lst[0][0]+lst[1][0]+lst[2][0]) |
s740347697 | p03852 | u425762225 | 1592526218 | Python | Python (3.8.2) | py | Runtime Error | 19 | 9088 | 91 | s = input()
l = [chr(ord(a)+i) for i in range(5)]
print("vowel" if s in l else "consonant") |
s677495933 | p03852 | u185806788 | 1592114296 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38640 | 78 | A=input()
X=[a,i,u,e,o]
if A in X:
print("vowel")
else:
print("consonant") |
s525338885 | p03852 | u685244071 | 1591576751 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | c = input()
if c == a or c == i or c == u or c == e or c == 0:
print('vowel')
else:
print('consonant') |
s053905251 | p03852 | u180824420 | 1591395061 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | c=input()
if c=='a' of c=='i' or c=='u' or c=='e' or c=='o':
print('vowel')
else:
print('consonant') |
s477399113 | p03852 | u516096023 | 1591302193 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 215 | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
if (c == 'a'||c=='i'||c=='u'||c=='e'||c=='o') {
cout << "vowel" << endl;
}
else {
cout << "consonant" << endl;
}
} |
s073297900 | p03852 | u985419292 | 1590985203 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | c = input()
if c == ('a','i','u','e','o')
print('vowel')
else :
print('consonant') |
s759822145 | p03852 | u985419292 | 1590984662 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | c = input()
if c==a,i,u,e,o
print(vowel)
else
print(consonant) |
s052753708 | p03852 | u350093546 | 1590849654 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | c=input()
if c== ['a'|'i'|'u'|'e'|'o']:
print('vowel')
else:
print('consonant')
|
s790423947 | p03852 | u350093546 | 1590849596 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 81 | c=input()
if c== 'a'|'i'|'u'|'e'|'o':
print('vowel')
else:
print('consonant') |
s499177460 | p03852 | u854992222 | 1589937268 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | c = input()
if c == 'a' or c =='i' or c == 'u' or c == 'e' or c =='o':
priint('vowel')
else:
print('consonant') |
s118795061 | p03852 | u854992222 | 1589937225 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 115 | c = input()
if c == 'a' or c =='i' or c == 'u' or c == 'e' or c =='O':
priint('vowel')
else:
print('consonant') |
s782701409 | p03852 | u475966842 | 1589598149 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | c=input()
listVowels=["a","e","i","o","u"]
isVowel=c in vowelslist
if isVowel:
print("vowel")
else:
print("consonant") |
s600519371 | p03852 | u475966842 | 1589598015 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | c=input()
listVowels=["a","e","i","o","u"]
isVowel=c in vowelslist
if isVowel:
print("vowel")
else:
print("consonant") |
s298017653 | p03852 | u475966842 | 1589597968 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 122 | listVowels=["a","e","i","o","u"]
isVowel=input() in vowelslist
if isVowel:
print("vowel")
else:
print("consonant") |
s665844811 | p03852 | u165268875 | 1588726448 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 |
c = input()
if "a", "i", "u", "e", "o" in c :
print("vowel")
else :
print("consonant")
|
s854405707 | p03852 | u756420279 | 1588723365 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | #!/usr/bin/env python3
lis = [a, e, i, o, u]
if input() in lis:
print("vowel")
else:
print("consonant") |
s025742355 | p03852 | u503221936 | 1588140277 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | c = input()
if c == 'a' ot c == 'i' or c == 'u' or c == 'e' or c == 'o':
print('voel')
else:
print('consonant') |
s552368773 | p03852 | u106181248 | 1587759187 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38384 | 101 | s = input()
print("vowel") if s == a or s == i or s == u or s == e or s == o else print("consonant") |
s447001936 | p03852 | u235066013 | 1587683771 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | c=str(input())
list=[a,i,u,o,e]
if c in list:
print("vowel")
else:
print("consonant") |
s953462144 | p03852 | u235066013 | 1587683636 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | c=input()
list=[a,i,u,o,e]
if c in list:
print("vowel")
else:
print("consonant") |
s863840619 | p03852 | u597626771 | 1587586804 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 109 | c = input()
if c == a or c == i or c == u or c ==e or c == o:
print('vowel')
else:
print('consonant') |
s492435366 | p03852 | u843318346 | 1587370793 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | s = input()
boin = [a,e,i,o,u]
if s in boin:
print('vowel')
else:
print('consonant') |
s829890360 | p03852 | u550535134 | 1587245264 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | c = str(input())
if "a", "e", "i", "o", "u" in c:
print("vowel")
else:
print("consonant") |
s454538202 | p03852 | u869265610 | 1587147859 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 60 | c=input()
print(vowel) if "aiueo" in c else print(consonant) |
s436544326 | p03852 | u869265610 | 1587147815 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 73 | c=input()
print(vowel) if "a","i","u","e","o" in c else print(consonant)
|
s238481291 | p03852 | u808193913 | 1586832852 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | c = input()
if c = "a" or c = "e" or c = "i" or c = "o" or c ="u":
print("vowel")
else:
print("consonant") |
s397202128 | p03852 | u852790844 | 1586373110 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 99 | c = input()
if c == ('a' or 'b' or 'c' or 'd' or 'e'):
print(vowel)
else:
print(consonant)
|
s419808114 | p03852 | u772649753 | 1586210124 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | c = input()
l = [a,e,i,o,u]
if c in l:
print("vowel")
else:
print("consonant") |
s726291351 | p03852 | u142211940 | 1585915818 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | c = input()
if c in (a,i,u,e,o):
print('vowel')
else:
print('consonant') |
s048224501 | p03852 | u705202612 | 1585610487 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38256 | 65 | c=input()
print("vowel"if c=='a','i','u','e','o' else "constant") |
s019188901 | p03852 | u705202612 | 1585610386 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38256 | 65 | N=input()
print("vowel"if N=='a','i','u','e','o' else "constant") |
s013913914 | p03852 | u639703036 | 1585528873 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | a = input()
if ((a == "a") or (a == "i") or (a == "u") or (a == "o") or (a == "e"))
print("vowel")
else:
print("consonant") |
s528616271 | p03852 | u346677493 | 1585495241 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2696 | 83 | c=raw_input().split
if c in [a,e,i,o,u]:
print "vowel"
else:
print "consonant" |
s563164004 | p03852 | u346677493 | 1585495203 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 76 | c=raw_input()
if c in [a,e,i,o,u]:
print "vowel"
else:
print "consonant" |
s434497926 | p03852 | u346677493 | 1585495027 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 96 | c=raw_input()
if c==a or c==e or c==i or c==o or c==u:
print "vowel"
else:
print "consonant" |
s350501612 | p03852 | u346677493 | 1585495005 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 96 | c=raw_input()
if c==a or a==e or a==i or a==o or a==u:
print "vowel"
else:
print "consonant" |
s902624512 | p03852 | u102242691 | 1585484312 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 98 |
l = ["a","b","c","d","e"]
c = input()
if c in l:
print("vowel")
else:
prin("consonant")
|
s648472904 | p03852 | u223555291 | 1584728337 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | a=input()
if a=='a' or a=='i' or a=='u' or a=='e' a=='o':
print('vowel')
else:
print('consonant') |
s579112594 | p03852 | u857428111 | 1584588618 | Python | PyPy3 (2.4.0) | py | Runtime Error | 182 | 38256 | 68 | if input() in "auieo":
cond=1
print(["consonant","vowel"][cond]) |
s076346697 | p03852 | u137808818 | 1583556852 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | n = input()
if 'n' in 'aiueo'
print('vowel')
else:
print('consonant')
|
s340961770 | p03852 | u137808818 | 1583556607 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 | n = input()
List = [a,i,u,e,o]
if 'n' in List:
print('vowel')
else:
print('consonant') |
s316894986 | p03852 | u137808818 | 1583556543 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | n = input()
List = [a,i,u,e,o]
if n in List:
print('vowel')
else:
print('consonant') |
s422585026 | p03852 | u263824932 | 1583424226 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | c=input()
if c==a or c==i or c==u or c==e c==o:
print('vowel')
else:
print('consonant')
|
s059403715 | p03852 | u923270446 | 1583104727 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | c = input()
if c == a or c == e or c == i or c == o or c == u:
print("vowel")
else:
print("consonant") |
s264759798 | p03852 | u634248565 | 1582863149 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 213 | c = raw_input()
if c == "a" :
print ("vowel")
elif c == "e" :
print ("vowel")
elif c == "i" :
print ("vowel")
elif c == "o" :
print ("vowel")
elif c == "u" :
print ("vowel")
else:
print ("consonant")
|
s441071816 | p03852 | u634248565 | 1582863018 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 104 | c = raw_input()
if c == "a" or "e" or "i" or "o" or "u":
print ("vowel")
else:
print ("consonant")
|
s653011245 | p03852 | u634248565 | 1582862947 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | c = raw_input()
if c == a or e or i or o or u:
print ("vowel")
else:
print ("consonant")
|
s907575800 | p03852 | u634248565 | 1582862843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | c = raw_input()
if "c" == a or e or i or o or u:
print ("vowel")
else:
print ("consonant") |
s853543030 | p03852 | u089230684 | 1582264431 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 214 | ch = input("Enter a character: ")
if(ch=='A' or ch=='a' or ch=='E' or ch =='e' or ch=='I'
or ch=='i' or ch=='O' or ch=='o' or ch=='U' or ch=='u'):
print(ch, "is a Vowel")
else:
print(ch, "is a Consonant") |
s456390909 | p03852 | u671211357 | 1582151740 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 82 | N=input()
ans=[a,i,u,e,o]
if N in ans:
print("vowel")
else:
print("consonant") |
s011602211 | p03852 | u863442865 | 1581691980 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | print('vowel') if input() in ['a', 'i', 'u', 'e', 'o'] print('consonant') |
s457279924 | p03852 | u772649753 | 1581313085 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | c = map(str,input().split())
if c == "a" or c == "e" or c == "i" or c == "o" or c == "u":
print(vowel)
else:
print(consonant) |
s928480956 | p03852 | u772649753 | 1581313017 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | c = map(str,input().split())
if c == a or c == e or c == i or c == o or c == u:
print(vowel)
else:
print(consonant) |
s024742023 | p03852 | u116348130 | 1581188105 | Python | PyPy3 (2.4.0) | py | Runtime Error | 185 | 38384 | 1597 | from collections import*
import sys
input = sys.stdin.readline
class UnionFind(object):
def __init__(self, n):
# 親の番号を格納する。親だった場合は-(その集合のサイズ)
# 作るときはParentsの値を全て-1にする
# こうすると全てバラバラになる
self.parents = [-1 for i in range(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 = self.find(x)
y = self.find(y)
if x == y:
return
if self.parents[x] > self.parents[y]:
x, y = y, x
self.parents[x] += self.parents[y]
self.parents[y] = x
return
n, k, l = map(int, input().split())
ro_cl = UnionFind(n)
ra_cl = UnionFind(n)
d = defaultdict(int)
# =================================================================
w = [list(map(int, input().split())) for i in range(k+l)]
ro = w[:k]
ra = w[l:]
for p, q in ro:
ro_cl.union(p-1, q-1)
for p, q in ra:
ra_cl.union(p-1, q-1)
# =================================================================
# for i in range(k):
# p, q = map(int, input().split())
# ro_cl.union(p-1, q-1)
# for i in range(l):
# p, q = map(int, input().split())
# ra_cl.union(p-1, q-1)
# =================================================================
for i in range(n):
d[(ro_cl.find(i), ra_cl.find(i))] += 1
print(*[d[(ro_cl.find(i), ra_cl.find(i))]for i in range(n)])
|
s833539627 | p03852 | u116348130 | 1581186424 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 1279 | from collections import*
import sys
input = sys.stdin.readline
class UnionFind(object):
def __init__(self, n):
# 親の番号を格納する。親だった場合は-(その集合のサイズ)
# 作るときはParentsの値を全て-1にする
# こうすると全てバラバラになる
self.parents = [-1 for i in range(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 = self.find(x)
y = self.find(y)
if x == y:
return
if self.parents[x] > self.parents[y]:
x, y = y, x
self.parents[x] += self.parents[y]
self.parents[y] = x
return
def size(self, x):
return -self.parents[self.find(x)]
n, k, l = map(int, input().split())
w = [list(map(int, input().split())) for i in range(k+l)]
ro = w[:k]
ra = w[l:]
ro_cl = UnionFind(n)
ra_cl = UnionFind(n)
d = defaultdict(int)
for p, q in ro:
ro_cl.union(p-1, q-1)
for p, q in ra:
ra_cl.union(p-1, q-1)
for i in range(n):
d[(ro_cl.find(i), ra_cl.find(i))] += 1
print(*[d[(ro_cl.find(i), ra_cl.find(i))]for i in range(n)]) |
s063998382 | p03852 | u807084817 | 1580919642 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 118 | s = input()
if s == 'a' or s == 'i' s == 'u' s == 'e' s == 'o' :
print('vowel')
else:
print('consonant')
|
s538360127 | p03852 | u752552310 | 1580567007 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | a = input()
if a == "e" or a == "i" or a == "a" or a == "u" or a == "o":
print("vowel")
else:
print("consonant) |
s600214336 | p03852 | u771167374 | 1580371882 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | c = input()
print("vowel" if c = "a" or c = "i" or c = "u" or c = "e" or c = "o" else "consonant") |
s333391075 | p03852 | u116348130 | 1580179496 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 116 | h, w = map(int, input().split())
p = [input() for i in range(h)]
for i in p:
for n in range(2):
print(i) |
s338807831 | p03852 | u116348130 | 1580178948 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | h, w = map(int, input().split())
p = [input() for i in range(h)]
th = []
for i in p:
for n in range(2):
th.append(i)
for x in th:
print(x)
|
s810562409 | p03852 | u510137738 | 1579548047 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | words = ["a", "i", "e", "o", "u"]
c = input()
for word in c:
if word == c:
print(vowel)
break
else:
print(consonant)
break |
s476678478 | p03852 | u510137738 | 1579548003 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | words = ["a", "i", "e", "o", "u"]
c = input()
for word in words:
if word == c:
print(vowel)
else:
print(consonant) |
s968922818 | p03852 | u510137738 | 1579547875 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | words = ["a", "i", "e", "o", "u"]
c = input()
for word in c:
if word == c:
print(vowel)
else:
print(consonant) |
s125917047 | p03852 | u287880059 | 1579375094 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | c = int(input())
print("vowel" if c in "aiueo" else "consonant")
|
s009075471 | p03852 | u871596687 | 1579373136 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | c = input()
if c == a or c == e or c == i or c == o or c == u:
print("vowel")
else:
print("consonant")
|
s366785224 | p03852 | u747220349 | 1578703481 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38256 | 104 | c=input()
if c="a" or c= 'e' or c="o" or c="i" or c="u":
print("vowel")
else:
print("consonant") |
s655391380 | p03852 | u145415974 | 1578505628 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 179 | S = input()
S=S.replace("dream",'"")
S=S.replace("dreamer","")
S=S.replace("erase","")
S=S.replace("eraser","")
if len(S) == 0:
ans = "YES"
else:
ans = "NO"
print(ans)
|
s273526034 | p03852 | u823044869 | 1578337434 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | s = input()
if a == s or i == s or u == s or e == s or o == s:
print("vowel")
else:
print("consonant")
|
s180237152 | p03852 | u100418016 | 1578239519 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 335 | dr ="dream"
dre = "dreamer"
er ="erase"
ere = "eraser"
a = input()
ret = "YES"
while len(a) != 0:
if (a.endswith(dr) or a.endswith(er)):
a = a[:len(a)-5]
elif(a.endswith(dre) ):
a = a[:len(a)-7]
elif(a.endswith(ere)):
a = a[:len(a)-6]
else:
ret = "NO"
break
print(ret)
|
s947951149 | p03852 | u314089899 | 1577849388 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | Boin=["a","i","u","e","o"]
S = str(input())
if S in Boin:
print(“vowel”)
else:
print(“consonant”) |
s036526435 | p03852 | u779977795 | 1577771098 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | c=input()
if c=="a" or c=="e" or c=="i" or c=="o" or c=="u" :
print("vowel")
else:
print("consonant") |
s153247113 | p03852 | u779977795 | 1577770981 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 95 | c=input()
if c==a or c==e or c==i or c==o or c==u :
print("vowel")
else:
print("consonant") |
s429134924 | p03852 | u779977795 | 1577770702 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | c=input()
if c==a or c==e or c==i or c==o or c==u :
print("vowel")
else:
print("consonant") |
s112903440 | p03852 | u779977795 | 1577770538 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | c=input()
if c=a or c=e or c=i or c=o or c=u :
print("vowel")
else:
print("consonant") |
s578869876 | p03852 | u779977795 | 1577770499 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | c=input()
if c=a or c=e or c=i or c=o or c=u
print("vowel")
else
print("consonant") |
s749038499 | p03852 | u779977795 | 1577770362 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 82 | c=input()
if c=a or c=e or c=i or c=o or c=u
print("vowel")
else
print("constant") |
s802623121 | p03852 | u488934106 | 1577563076 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | c = input()
clist = ['a','e','i','o','u']
if clist.count(c) == 0:
print(consonant)
else:
print(vowel) |
s556410936 | p03852 | u972892985 | 1576651379 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | c = input()
if c = "a" or c = "i" or c = "u" or c = "e" or c = "o":
print("vowel")
else:
print("consonant") |
s617659364 | p03852 | u972892985 | 1576651345 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | c = input()
if c = "a" or c = "i" or c = "u" or c = "e", c = "o":
print("vowel")
else:
print("consonant") |
s521276463 | p03852 | u140480594 | 1576525235 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | c = str(intput())
if c == "a" or c == "e" or c == "i" or c == "o" or c == "u" :
print("vowel")
else :
print("consonant") |
s192156173 | p03852 | u994521204 | 1576271227 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | v='aiueo'
if c in v:print('vowel')
else:print('consonant') |
s494812812 | p03852 | u994521204 | 1576271133 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | v='abcde'
if c in v:print('vowel')
else:print('consonant') |
s757605518 | p03852 | u914529932 | 1575745220 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 328 | dbflag="aaa.txt"
def debug(*args):
if ""!=dbflag: print(*args)
if ""!=dbflag: _INDATA=open(dbflag)
def readline():
if ""!=dbflag:return _INDATA.readline()
else: return input()
result = -1
c = readline().rstrip()
BOIN = {'a','i','u','e','o'}
if c in BOIN:
result = "vowel"
else:
result = "consonant"
print(result)
|
s615032717 | p03852 | u457554982 | 1575040279 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | c=input()
boin=[a,e,i,o,u]
if c in boin:
print("vowel")
else:
print("consonant") |
s386857616 | p03852 | u102960641 | 1574725444 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | h,w = map(int, input().split())
c = [input() for i in range(h)]
for i in c:
print(i)
print(i)
|
s981111237 | p03852 | u122231433 | 1573500602 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 1078 | # coding: utf-8
# 文字列反転
def rev (s):
_re=''.join(list(reversed(s)))
return _re
name = ['dream','dreamer','eraser','erase']
S = input()
S_re = rev(S)
can = False
can2 = False
for i in range(len(S_re)):
for div in name:
if len(S_re[i:]) >= len(div):
if S_re[i:i+len(div)]==rev(div) :
i+=len(div)
can = True
if can :
can2 = True
break
if not can2 :
break
if can2 and i==len(S_re)-1:
print('YES')
else :
print('No')
# coding: utf-8
# 文字列反転
def rev (s):
_re=''.join(list(reversed(s)))
return _re
name = ['dream','dreamer','eraser','erase']
S = input()
S_re = rev(S)
can = False
can2 = False
for i in range(len(S_re)):
for div in name:
if len(S_re[i:]) >= len(div):
if S_re[i:i+len(div)]==rev(div) :
i+=len(div)
can = True
if can :
can2 = True
break
if not can2 :
break
if can2 and i==len(S_re)-1:
print('YES')
else :
print('NO') |
s352081359 | p03852 | u122231433 | 1573496017 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 517 | # coding: utf-8
# 文字列反転
def rev (s):
_re=''.join(list(reversed(s)))
return _re
name = ['dream','dreamer','eraser','erase']
S = input()
S_re = rev(S)
can2 = False
i= 0
while i < len(S_re):
for div in name:
if len(S_re[i:]) >= len(div):
if S_re[i:i+len(div)]==rev(div) :
i+=len(div)
can = True
break
if can :
can2 = True
else:
can2 = False
break
if can2:
print('YES')
else :
print('No')
|
s663070157 | p03852 | u122231433 | 1573490090 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 436 | ef rev (s):
_re=''.join(list(reversed(s)))
return _re
name = ['dream','dreamer','eraser','erase']
S = input()
S_re = rev(S)
can = False
can2 = False
for i in range(len(S_re)):
for div in name:
if S_re[i:i+len(div)]==rev(div) :
i+=len(div)
can = True
if can :
can2 = True
break
if not can2 :
break
if can2 :
print('YES')
else :
print('No')
|
s091438435 | p03852 | u390883247 | 1573362193 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 1248 | class UnionFind:
MAX_N = 0
PAR = []
RANK = []
def __init__(self,n):
self.MAX_N = n
self.PAR = [ i for i in range(n)]
self.RANK= [ 0 ] * n
def find(self,x):
if self.PAR[x] == x:
return x
else:
self.PAR[x] = self.find(self.PAR[x])
return self.PAR[x]
def union(self,x,y):
x = self.find(x)
y = self.find(y)
if x == y:
return
if self.RANK[x] < self.RANK[y]:
self.PAR[x] = y
else:
self.PAR[y] = x
if self.RANK[x] == self.RANK[y]:
self.RANK[x] += 1
def same(self,x,y):
return self.find(x) == self.find(y)
N,K,L = map(int,input().split())
path = UnionFind(N+1)
for _ in range(K):
p,q = map(int,input().split())
path.union(p,q)
rail = UnionFind(N+1)
for _ in range(L):
p,q = map(int,input().split())
rail.union(p,q)
Data = {}
for i in range(1,N+1):
p = path.find(i)
r = rail.find(i)
k = str(p)+"-"+str(r)
if k in Data.keys():
Data[k] += 1
else:
Data[k] = 1
for i in range(1,N+1):
p = path.find(i)
r = rail.find(i)
k = str(p)+"-"+str(r)
print( Data[k], end= ' ')
|
s028542913 | p03852 | u923659712 | 1573343973 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 226 | s= input()
u= s[::-1]
k=["resare","esare","remaerd","maerd"]
l=u.replace("resare","")
d=l.replace("esare","")
h=d.replace("remaerd","")
w=h.replace("maerd","")
print(w)
if w="":
print("Yes")
else:
print("No") |
s971003119 | p03852 | u045953894 | 1571376395 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 79 | c=input()
list=[a,i,u,e,o]
if c in list:
print('vowel')
else:
('consonant') |
s190330637 | p03852 | u677400065 | 1571259315 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a = input()
if a=='a' | a=='e' | a=='i' | a == 'o' | a == 'u':
print("vowel")
else:
print("consonant")
|
s418385699 | p03852 | u677400065 | 1571259006 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | a = input()
if a=='a' || a=='e' || a=='i' || a == 'o' || a == 'u':
print("vowel")
else:
print("consonant") |
s371005745 | p03852 | u740047492 | 1569340334 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | c = input()
if c in [a, i, u, e, o]:
print("vowel")
else:
print("consonant") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.