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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s243784552 | p04043 | u260068288 | 1585112608 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | a=input()
print(["No", "Yes"][a.count("5"==2 and a.count("7")==1)]) |
s987556603 | p04043 | u260068288 | 1585112563 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | a=input()
print(["Yes", "No"][a.count("5"==2 and a.count("7")==1)]) |
s748699721 | p04043 | u678505520 | 1585008909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 13 | int A,B,C
if |
s725914447 | p04043 | u132974957 | 1584852669 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 679 | x = int(input("はじめ"))
y = int(input("中"))
z = int(input("終わり"))
if x >= 1 and x <= 10:
if x == 5:
if y == 5:
if z == 7:
print("YES")
elif z == 5:
print("NO")
elif y == 7:
if z == 5:
print("YES")
elif z == 7:
print("NO")
elif x == 7:
if y == 5:
if z == 5:
print("YES")
elif z == 5:
print("NO")
else:
print("NO")
else:
print("NO")
else:
print("NO")
else:
print("NO") |
s451758894 | p04043 | u460009487 | 1584812384 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | A = list(map(int, input().sprit()))
ans = sorted(A)
if ans == [5,5,7]:
print('YES')
else:
print('NO') |
s012491736 | p04043 | u652710582 | 1584664687 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | num = [x for x in input().split() ]
count5 = num.count5("5")
count7 = num.count7("7")
if count5 == 2 and count7 == 1:
print("YES")
else:
print("NO") |
s443655053 | p04043 | u652710582 | 1584662728 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 129 | num = list.input()
count1 = num.count(5)
count2 = num.count(7)
if count1 == 2 and count2 == 7:
print("YES")
else:
print("NO") |
s970842539 | p04043 | u420344407 | 1584557388 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 256 | a, b, c = map(int, input().split())
list_irioha = [a, b, c]
count = 0
if a + b + c == 17:
for i in list_iroha:
if i == 5:
count += 1
if count == 2:
print("YES")
exit()
print("NO")
exit()
|
s636811823 | p04043 | u223663729 | 1584555157 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | a = 1
a*= a for a in input().split() |
s362103484 | p04043 | u736896213 | 1584428871 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38256 | 207 | a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
print("YES")
elif a == 5 and b == 7 and c == 5:
print("YES")
elif a == 7 and b == 5 and c == 5:
print("YES")
else
print("NO") |
s119666483 | p04043 | u634248565 | 1584410909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | x, y, z = input().split()
if x + y + z = 17:
print ("YES")
else:
print ("NO") |
s077768257 | p04043 | u634248565 | 1584410856 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | x, y, z = map(int, input().split())
if x + y + z = 17:
print ("YES")
else:
print ("NO") |
s551320214 | p04043 | u016323272 | 1584391473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 229 | A= int(input())
B= int(input())
C = int(input())
#575を作れるか判定
if A == B ==5 and C ==7:
print('YES')
elif A ==C ==5 and B==7:
print('YES')
elif A ==7 and B ==C ==5:
print('YES')
else:
print('NO') |
s205515433 | p04043 | u828139046 | 1584319127 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 238 | nums = map(int,input.split())
if nums[0] = 5 and nums[1] = 5 and nums[2] = 7:
print('YES')
elif nums[0] = 5 and nums[1] = 7 and nums[2] = 5:
print('YES')
elif nums[0] = 7 and nums[1] = 5 and nums[2] = 5:
print('YES')
else:
print('NO') |
s261151387 | p04043 | u840807329 | 1584161448 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | import sys
a,b,c = map(int,input().split)
if 7 in [a,b,c]:
if filter(lambda x:x ==5,[a,b,c]) is 2:
print("YES")
sys.exit()
print("NO") |
s215091974 | p04043 | u082450020 | 1584160235 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3320 | 21 | わからないです |
s497089146 | p04043 | u465152652 | 1583976244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 206 | num = list(map(int,input().split()))
a=0
b=0
for i in range(3):
if num[i]==5:
a+=1
if num[i]==7:
b+=1
if a==2 and b==1:
print("YES")
else:
print("NO") |
s504946017 | p04043 | u465152652 | 1583976169 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 154 | num = list(map(int,input().split()))
a=0
b=0
for i in range(3):
if num[i]==5:
a+=1
if num[i]==7:
b+=1
if a==2 and b==1:
print(YES)
else:
print(NO) |
s954916377 | p04043 | u288430479 | 1583974780 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 126 | a,b,c = map(int,input().split())
if (a==b==5 and c==7) or (a==c==5 b==7) or (b==c==5 a==7):
print('YES')
else:
print('NO') |
s224200161 | p04043 | u576335153 | 1583780860 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38376 | 103 | l=list(map(int,input().split()))
if count(l,5)==2 and count(l,7)==1:
print('YES')
else:
print('NO') |
s015518716 | p04043 | u576335153 | 1583780345 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38256 | 95 | list=map(int,input().split())
li=sortrd(list)
if li=[5,5,7]:
print('YES')
else:
print('NO') |
s182982173 | p04043 | u075595666 | 1583753659 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | a,b,c = map(int,(input().split()))
l = [a,b,c]
if int(l.count(5)) == 2 and int(l.count(7)) == 1:
print(Yes)
else:
print(No) |
s281062177 | p04043 | u775912090 | 1583702318 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 179 | a, b, c = map(int, input().split())
if a, b, c == (5, 5, 7):
print("YES")
elif a, b, c == (5, 7, 5):
print("YES")
elif a, b, c == (7, 5, 5):
print("YES")
else:
print("NO") |
s343936330 | p04043 | u775912090 | 1583702264 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 171 | a, b, c = map(int, input().split())
if a, b, c == (5, 5, 7):
print(YES)
elif a, b, c == (5, 7, 5):
print(YES)
elif a, b, c == (7, 5, 5):
print(YES)
else:
print(NO) |
s682009500 | p04043 | u775912090 | 1583702207 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 171 | a, b, c = map(int, input().split())
if a, b, c == (5, 5, 7):
print(YES)
elif a, b, c == (5, 7, 5):
print(YES)
elif a, b, c == (7, 5, 5):
print(YES)
else:
pring(NO) |
s601140760 | p04043 | u637669066 | 1583685612 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 328 | if(A == 5):
if(B == 5):
if(C == 7):
print('Yes')
else:
print('No')
elif(B == 7):
if(C == 5):
print('Yes')
else:
print('No')
else:
print('No')
elif(A == 7):
if(B == 5):
if(C == 5):
print('Yes')
else:
print('No')
else:
print('No')
else:
print('No')
|
s836931669 | p04043 | u428132025 | 1583669635 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38512 | 231 | n, k = map(int, input().split())
dis = [_ for _ in input().split()]
for yen in range(1, 100000):
if yen < n:
pass
else:
if len(set(list(str(yen))) & set(dis)) == 0:
print(yen)
exit()
|
s767195805 | p04043 | u733382738 | 1583649174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 441 | #include<>stdio.h>
int main(void)
{
int a,b,c;
int count5 = 0;
int count7 = 0;
scanf("%d %d %d ",&a,&b,&c);
if (a == 5) {
cont5++;
}
elif(a == 7) {
count7++;
}
if (b == 5) {
cont5++;
}
elif(b == 7) {
count7++;
}
if (c == 5) {
cont5++;
}
elif(c == 7) {
count7++;
}
if (count5 == 2 && count7 == 1){
printf("YES \n")
}
else{
printf("NO \n")
}
return 0;
} |
s962993473 | p04043 | u841531687 | 1583644919 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 110 | str = input().gsub(" ", "")
if str.count('5') == 2 and str.count('7') == 1:
print("YES")
else:
print("NO") |
s922304802 | p04043 | u123745130 | 1583636174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | n=list(map(input().split()))
print("YES" if n==["5","7","5"] or n==["7","5","5"] or n==["5","5","7"] else "NO") |
s841488295 | p04043 | u071361440 | 1583566748 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | n=int(input())
text=[input() for i in range(n)]
print("".join(sorted(text))) |
s385684482 | p04043 | u071361440 | 1583566675 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | n=int(input())
text=[input() for i in range(n)]
print("".join(sorted(text))) |
s362244431 | p04043 | u465152652 | 1583557701 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 202 | word = list(input())
#print(word) ['5', '5', '7']
a=0
b=0
for i in range(3):
if word[i]==5:
a=a+1
for i in range(3):
if word[i]==7:
b=b+1
if a=2 and b=1:
print("YES")
else:
print("NO") |
s082757140 | p04043 | u071002307 | 1583523703 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | List = map(int, input().split())
if List.count("5")==2 and List.count("7")==1:
print("YES")
else:
print("NO")
|
s439009237 | p04043 | u126887629 | 1583377230 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 140 | num = input().split('')
if num == ['5', '7', '5'] or num == ['7', '5', '5'] or num == ['5', '5', '7']:
print('YES')
else:
print('NO')
|
s761364683 | p04043 | u842942201 | 1583305334 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | A = input()
B = input()
C = input()
if(A == B == 5 and C == 7) or (A == C == 5 and B == 7) or (C == B == 5 and A == 7):
print(YES)
else:
print(NO)
|
s986961043 | p04043 | u000123984 | 1583283427 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 169 | n,k = map(str, input().split())
li = list(map(str, input().split()))
Li = list(n)
while len(set(Li)&set(li)):
n = int(n)+1
Li = list(str(n))
else: print("".join(Li)) |
s182038229 | p04043 | u000123984 | 1583278843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | a,b,c = map(int, input().split())
if a=b and b<c: print("YES")
elif b=c and c<a: print("YES")
elif c=a and a<b: print("YES")
else: print("NO") |
s471562715 | p04043 | u000123984 | 1583278639 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | a,b,c = map(int, input().split())
if (a=b<c or b=c<a or c=a<b): print("YES")
else: print("NO") |
s796751117 | p04043 | u000123984 | 1583277836 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 125 | a,b,c = map(str, input().split())
if (a=b or b=c or c=a):
if(not a=b=c): print("YES")
else: print("NO")
else: print("NO") |
s093842334 | p04043 | u000123984 | 1583277614 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a,b,c = input().split()
if (a=b or b=c or c=a and not a=b=c): print("YES")
else: print("NO") |
s969547465 | p04043 | u738341948 | 1583232849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 140 | n,l = map(int ,input().strip().split())
s = [""]*n
for i in range(n):
s[i]=input()
s.sort()
sol = ""
for i in s:
sol += i
print(sol) |
s452621272 | p04043 | u738341948 | 1583232629 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 123 | n,l = map(int ,input())
s = [""]*n
for i in range(n):
s[i]=input()
s.sort()
sol = ""
for i in s:
sol +=i
print(sol) |
s764098123 | p04043 | u646014827 | 1583174655 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 190 | def main():
print("aaa")
a = list(input())
a = [int(aa) for aa in a]
a = sorted(a)
if a==[5,7,7]:
return "YES"
else:
return "NO"
if __name__ == "__main__":
main() |
s165057557 | p04043 | u646014827 | 1583174475 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | def main(a):
print("aaa")
if __name__ == "__main__":
main(a) |
s218798104 | p04043 | u238605674 | 1583111377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | I=input().split()
c5=0
c7=0
for i in I:
if i=="5":
c5+=1
elif i=="7":
c7+=1
if c5==2 and c7=1:
print("YES")
else:
print("NO") |
s717074155 | p04043 | u629557958 | 1582923608 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | n, l = map(int, input().split())
a = [input() for _ in range(n)]
a.sort()
print("".join(a)) |
s937174622 | p04043 | u922116677 | 1582872647 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 211 | a = int(input("A:"))
b = int(input("B:"))
c = int(input("C:"))
con_1 = a + b + c == 17
con_2 = 1 <= a, b, c <= 10
if con_1:
if con_2:
print("yes")
else:
print("no")
else:
print("no")
|
s121528818 | p04043 | u922116677 | 1582830983 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 198 | a = int(input("A:"))
b = int(input("B:"))
c = int(input("C:"))
con_1 = a + b + c == 17
con_2 = 1 <= a, b, c
con_3 = a, b, c <= 10
if con_1 and con_2 and con_3:
print("yes")
else:
print("no") |
s609274392 | p04043 | u257251421 | 1582817682 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 266 | n = 0
for i in range(10):
n += c[i]
if n > 3:
cnt += math.floor(n / 4)
print(cnt)
#
A, B, C = map(int, input().split())
L = []
for i in A,B,C:
L.append(i)
Ls = sorted(L)
if Ls[0] == 5 and Ls[1] == 5 and Ls[2] == 7:
print("Yes")
else:
print("No") |
s345953185 | p04043 | u161777729 | 1582697437 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 219 | n,k = map(int,input().split())
l = list(input().split())
for i in range(n,n+10001):
chk = True
for st in list(str(i)):
if st in l:
chk = False
if chk:
print(i)
exit() |
s213288163 | p04043 | u634248565 | 1582599553 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 181 | number1 = raw_input ()
number2 = raw_input ()
number3 = raw_input ()
if number1 + number2 + number3 == 12:
print ('YES')
if number1 + number2 + number3 != 12:
print ('NO') |
s718837266 | p04043 | u634248565 | 1582599500 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 181 | number1 = raw_input ()
number2 = raw_input ()
number3 = raw_input ()
if number1 + number2 + number3 == 12:
print ('yes')
if number1 + number2 + number3 != 12:
print ('no') |
s788932099 | p04043 | u634248565 | 1582599447 | Python | PyPy3 (2.4.0) | py | Runtime Error | 180 | 38896 | 180 | number1 = raw_input ()
number2 = raw_input ()
number3 = raw_input ()
if number1 + number2 + number3 == 12:
print ('yes')
if number1 + number2 + number3 != 12:
print ('no') |
s058500924 | p04043 | u090198186 | 1582522430 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 696 | import sys
import itertools
readline = lambda:sys.stdin.readline().rstrip()
N,K = readline().split()
dd = {int(s) for s in readline().split()}
table = [None] * 10
a = 10
for i in range(9,-1,-1):
if i not in dd:
a = i
table[i] = a
nn = [int(n) for n in N]
mm = [table[n] for n in nn]
tab_min = min(x for x in table if x>0)
tab_zero = table[0]
if mm[0]==10:
print(tab_min, end='')
for z in itertools.repeat(tab_zero, len(mm)-1):
print(z, end='')
else:
for z,c in zip(mm, mm[1:]+[0]):
if c==10:
print(min(tab_min, z), end='')
elif z==10:
print(tab_zero, end='')
else:
print(z, end='')
print() |
s837403842 | p04043 | u068584789 | 1582488215 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 125 | words = list(map(int, input().split())
if words.count(7) == 1 and words.count(5) == 2:
print('YES')
else:
print('NO') |
s163491092 | p04043 | u629560745 | 1582484181 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | s = int(input().split())
s.sort()
if s[0] == 5 and s[1] == 5 and s[2] == 7:
print('YES')
else:
print('NO') |
s772495340 | p04043 | u734936991 | 1582409099 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 390 | #!/use/bin/env python3
(n, k) = [int(s) for s in input().split()]
a = [int(s) for s in input().split()]
like = []
ans = n
while (1):
c = True
for ii in range(0, 4):
b = n // pow(10, ii)
d = b % 10
if b == 0:
break
if d in a:
c = False
break
if (c):
ans = n
break
n += 1
print(ans)
|
s578829729 | p04043 | u859364709 | 1582242878 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | hoge = list(map(int, input().split()))
huga = sorted(hoge)
if huga == [5,5,7]:
print("YES")
elif:
print("NO")
|
s489089792 | p04043 | u859364709 | 1582242408 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | hoge = list(map(int, input().split()))
huga = hoge.sort()
if huga == [5,5,7]:
print("YES")
elif:
print("NO") |
s197312564 | p04043 | u766566560 | 1582080891 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | phrases = map(int, input().split())
phrases.sort(reverse=True)
if phrases == [7,5,5]:
print('YES')
else:
print('NO') |
s045975856 | p04043 | u031118696 | 1582060857 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | A, B, C = map(int, input().split())
if A * B * C % 175 == 0 and sum(A + B + C) == 17:
print("YES")
else:
print("NO") |
s254592831 | p04043 | u405256066 | 1582012570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | A,B,C = list(map(int(),input().split()))
d = sorted([A,B,C])
if d[0] == 5 and d[1] == 5 and d[2] == 7:
print("YES")
else:
print("NO") |
s110983730 | p04043 | u419963262 | 1581740626 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | A=list(map(input().split()))
ans=sorted(A)
if ans==[5,5,7]:
print('YES')
else:
print('NO') |
s277360803 | p04043 | u374082254 | 1581444839 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | N, L = [int(i) for i in input().split()]
S = []
for s in range(0, N):
S.append(input())
S.sort()
print(''.join(S)) |
s797550522 | p04043 | u012179538 | 1581378095 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 258 | a = int(input())
b = int(input())
c = int(input())
flag = bool
if a == 5 and b ==7 and c==5:
flag = True
if a ==7 and b==5 and c == 5:
flag = True
if a ==5 and b==5 and c == 7:
flag = True
if flag == True:
print('YES')
else:
print('NO') |
s743686539 | p04043 | u630027862 | 1581288467 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | A, B, C = map(int, input().split())
if A * B * C == 5 * 5 * 7:
print('Yes')
else:
pritn('No') |
s447439232 | p04043 | u772649753 | 1581279792 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 252 | if A == 5:
if B == 5:
if C == 7:
print(YES)
else:
print(NO)
else if B == 7:
if C == 5:
print(YES)
else:
print(NO)
else:
print(NO)
else if A == 7:
if B == 5 and C == 5:
print(YES)
else:
print(NO) |
s706275986 | p04043 | u885440767 | 1580942463 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 243 | n, k = map(int,input().split())
d = list(map(str, input().split()))
while(n>0):
S = str(n)
t = 0
for i in S:
if i not in d:
t += 1
if t == len(S):
print(int(S))
break
else:
n += 1 |
s521275949 | p04043 | u901341592 | 1580854583 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | # coding: utf-8
num, size = map(int,input().split())
data =[]
for x in range(num):
data.append(input())
print(''.join(sorted(data))) |
s512135842 | p04043 | u901341592 | 1580854442 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | # coding: utf-8
num, size = map(int,input().split())
data =[]
for x in range(num):
data.append(input())
print(''.join(sorted(data))) |
s603674082 | p04043 | u901341592 | 1580854160 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | # coding: utf-8
num, size = map(int,input().split())
data =[]
for x in range(num):
data.append(input())
print(str.join(data.sort())) |
s847476895 | p04043 | u901341592 | 1580853384 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | num, size = map(int,input().split())
data =[]
for x in range(num):
data.append(input())
data.sort()
print(data.join()) |
s631162341 | p04043 | u901341592 | 1580853076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | num, size = map(int,input().split())
data =[]
for x in range(num):
data.append(input())
data.sort()
print(data.join()) |
s046115321 | p04043 | u871176343 | 1580851335 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a = list(map(int, input().split()))
strs=[]
for i in range(a[0]):
strs.append(input())
print("".join(sorted(strs))) |
s396868622 | p04043 | u871176343 | 1580851235 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | a = list(map(int, input().split()))
strs=[]
for i in range(a[0]):
strs.append(input())
print("".join(sorted(strs)))
|
s501214730 | p04043 | u871176343 | 1580851186 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a = list(map(int, input().split()))
strs=[]
for i in range(a[0]):
strs.push(input())
print("".join(sorted(strs))) |
s279855636 | p04043 | u871176343 | 1580851119 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | n, l = map(int, input().split())
strs=[]
for i in range(n):
strs.push(input())
print("".join(sorted(strs))) |
s289839327 | p04043 | u901341592 | 1580851101 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | data = list(map(int,"5 7 5".split())
if 2 == data.count(5) and 1 == data.count(7):
print("Yes")
else:
print("No") |
s530697028 | p04043 | u871176343 | 1580850521 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | abc = map(int,input().split())
print("YES" if sum(abc) == 17 and abc.count(5) else "NO") |
s545196729 | p04043 | u871176343 | 1580850476 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | abc = map(int,input().split())
"YES" if sum(abc) == 17 and abc.count(5) else "NO" |
s244713645 | p04043 | u282008876 | 1580703698 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | a, b, c = int(input.splita = [5,7,5]
b = map(int, input().split())
for i in b:
try:
b.remove(i)
except:
print('NO')
quit()
print('OK') |
s053947034 | p04043 | u591611911 | 1580685647 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 225 | A = input()
B = input()
C = input()
if A != 5 or 7:
print("NO")
else if B != 5 or 7:
print("NO")
else if C != 5 or 7:
print("NO")
else if len(A) + len(B) + len(C) = 17:
print("YES")
else:
print("NO")
|
s263274843 | p04043 | u018679195 | 1580537827 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 201 | a1=input()
a2=input()
a3=input()
a=[a1,a2,a3]
a.sort()
flag=0
for i in range(2):
if a[i]!='5':
flag=flag+1
if a[2]!='7':
flag=flag+1
if flag==0:
print("YES")
else:
print("NO") |
s326474405 | p04043 | u863370423 | 1580537729 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 201 | a1=input()
a2=input()
a3=input()
a=[a1,a2,a3]
a.sort()
flag=0
for i in range(2):
if a[i]!='5':
flag=flag+1
if a[2]!='7':
flag=flag+1
if flag==0:
print("YES")
else:
print("NO") |
s576071726 | p04043 | u353919145 | 1580537460 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | a,b,c=int(input().split()
if a==5 and b==5 and c==7 or a==5 and b==7 and c==5 or a==7 and b==5 and c==5:
print('YES')
else:
print('NO' |
s759699577 | p04043 | u113971909 | 1580336981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | X=map(int,input().split())
X.sort()
if X==[5,5,7]:
print('YES')
else:
print('NO') |
s809093766 | p04043 | u857070771 | 1580217023 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | n,l=map(int,input().split())
s=list(input() for _ in range(n))
s.sort()
result=''.join(s)
print(result) |
s272798291 | p04043 | u478452067 | 1580182757 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 97 | s = list(map(int, input().split()))
sort(s)
if s == [5, 7, 7]:
print("YES")
else:
print("NO") |
s349829928 | p04043 | u479868443 | 1580169207 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | a = list(map(int,input().split()))
a.sort()
if a[0] == 5:
if a[1] == 5:
if a[2] == 7:
return "YES":
return "NO" |
s037063310 | p04043 | u857070771 | 1580165710 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | s=input()
a=[]
for i in s:
if i == 'B':
if x:
a.pop()
else:
a.append(i)
print(''.join(a)) |
s419456654 | p04043 | u752552310 | 1580081143 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | n,l=map(int,input().split())
s=sorted([input() for _ in range(n)])
print(*s, sep="") |
s421634377 | p04043 | u067962264 | 1580080840 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 132 | # 入力
N,L=map(int,input().split())
l=[]
for i in range(N):
l.append(input())
# ソート
l.sort()
# 出力
print(''.join(l)) |
s425678684 | p04043 | u067962264 | 1580080780 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
print(''.join(sorted(s))) |
s845150795 | p04043 | u067962264 | 1580080754 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | # -*- coding: utf-8 -*-
N,L = list(map(int, input().split()))
l=[]
for i in range(N):
l.append(input())
l.sort()
print(l) |
s707253448 | p04043 | u067962264 | 1580080514 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | # -*- coding: utf-8 -*-
N,L = list(map(int, input().split()))
l=[]
s=N*L
for i in range(s):
l.append(input())
l.sort()
print(l) |
s097487186 | p04043 | u067962264 | 1580080490 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 127 | # -*- coding: utf-8 -*-
N,L = list(map(int, input().split()))
l=[]
for i in range(N*L):
l.append(input())
l.sort()
print(l) |
s004766349 | p04043 | u067962264 | 1580072860 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | # -*- coding: utf-8 -*-
A_B_C = list(map(int, input().split()))
ABC= A_B_C.soreted()
if A_B_C == [5,5,7]:
print('YES')
else:
print('NO') |
s315620827 | p04043 | u110996038 | 1580064395 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | s = input().split()
if s.count(“5”) == 2 and s.count(“7”) == 1 :
print(“YES”)
else :
print(“NO”) |
s030168481 | p04043 | u182898140 | 1580009403 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | abc=list(map(int,input().split()))
abc.sort()
if A ==[5, 5, 7]:
print("Yes")
else:
print("No") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.