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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s844011977 | p03591 | u905582793 | 1579757529 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | print("NYoe s"[int(input())[:4]=="YAKI"::2]) |
s775208813 | p03591 | u905582793 | 1579757476 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | print("NYoe s"[int(input())[:4]::2]) |
s273602683 | p03591 | u577914737 | 1577679402 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a = input()
print(a.startswith('YAKI')startswith) |
s339990245 | p03591 | u968846084 | 1573161384 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3448 | 3020 | h,w=map(int,input().split())
graph=[[]*w for i in range(h)]
for i in range(h):
graph[i]=list(input())
A=0
B=0
C=0
D=0
E=0
F=0
G=0
H=0
I=0
J=0
K=0
L=0
M=0
N=0
O=0
P=0
Q=0
R=0
S=0
T=0
U=0
V=0
W=0
X=0
Y=0
Z=0
for i in range(h):
A=A+graph[i].count("a")
for i in range(h):
B=B+graph[i].count("b")
for i in range(h):
C... |
s712541757 | p03591 | u840958781 | 1572910984 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | s=input()
if len(s)<4:
a=“a”
else:
a=“s[0]”+ “s[1]”+ “s[2]”+ “s[3]”
if a==“YAKI”:
print(“Yes”)
else:
print(“No”) |
s660532387 | p03591 | u840958781 | 1572910339 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | s=list(input())
a=s[0]+ s[1]+ s[2]+ s[3]
if a=='YAKI':
print('Yes')
else:
print('No') |
s536640172 | p03591 | u840958781 | 1572907890 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 128 | s=input()
if s[0]==“Y” and s[1]==“A” and s[2]==“K” and s[3]==“I”:
print(“Yes”)
else:
print(“No”) |
s205530435 | p03591 | u311379832 | 1571962476 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | S=input()
if S[:4]=='YAKI':
print('Yes')
else:
print('No')
|
s927525430 | p03591 | u311379832 | 1571873505 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | S=input()
if S[:4]=='YAKI':
print('Yes')
else:
print('No')
|
s854202846 | p03591 | u871596687 | 1569093064 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | S = input()
if S[0] == "Y" and S[1] == "A" and S[2] == "K" and S[3] == "I":
print("Yes")
else:
print("No")
|
s867718729 | p03591 | u871596687 | 1569092608 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 123 | S = list(input())
if S[0] == "Y" and S[1] == "A" and S[2] == "K" and S[3] == "I":
print("Yes")
else:
print("No")
|
s531627078 | p03591 | u871596687 | 1569092513 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | S = list(input())
if S[0] == "Y" and S[1] == "A" and S[2] == "K" and S[3] == "I":
print("Yes")
else:
print("No")
|
s252123218 | p03591 | u476124554 | 1568117902 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | s = input()
if s[0] == 'Y' and s[1] == "A" and s[2] == "K" and s[3] == "I" and len(s) >= 4:
print("Yes")
else:
print("No") |
s564983816 | p03591 | u476124554 | 1568117823 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 114 | s = input()
if s[0] == 'Y' and s[1] == "A" and s[2] == "K" and s[3] == "I":
print("Yes")
else:
print("No") |
s886553652 | p03591 | u266874640 | 1565997964 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | s = input()
if s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I':
print('Yes')
exit()
print('No')
|
s377127018 | p03591 | u266874640 | 1565997892 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | s = input()
if s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I':
print('Yes')
else:
print('No')
|
s088677847 | p03591 | u077019541 | 1554026626 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 119 | S = [i for i in input()]
if S[0]=="Y" and S[1] == "A" and S[2]=="K" and S[3] == "I":
print("Yes")
else:
print("No") |
s052262960 | p03591 | u859897687 | 1553863547 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | print('YNEOS'[if input()[:4]!='YAKI'::2]) |
s738403418 | p03591 | u367130284 | 1553796589 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 112 | a,b,k=map(int,input().split());print("NYoe s"[1in[k==(b-t)*s+t*(a-s)for t in range(b+1)for s in range(a+1)]::2]) |
s798668949 | p03591 | u227082700 | 1553215354 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | s=input()
if len(s)<4:print("No")
elif s[:3]=print("Yes")
else:print("No") |
s923914345 | p03591 | u740284863 | 1552100760 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38640 | 179 | n,m,k = map(int, input().split())
for i in range(n + 1):
for j in range(m + 1):
if i*(m - j) + j*(n - i) == k:
print("Yes")
exit()
print("No")
|
s938168165 | p03591 | u434208140 | 1544979487 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 91 | s=input()
a=False
if(len(s)>3):
if(s[0:4]="YAKI"):
a=True
print("Yes" if a else "No") |
s216831455 | p03591 | u849290552 | 1537623261 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 950 | H,W = list(map(int,input().strip().split(' ')))
A=[str(input().strip()) for i in range(H)]
import collections
flg = 1
flg1 = 0
S = [[s for s in a] for a in A]
for s in S:
c = collections.Counter(s)
for i in c.values():
if i % 2 != 0 and len(c.keys()) != 1:
flg1 = flg1 + 1
if W %... |
s866247304 | p03591 | u898651494 | 1536944419 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | s=input()
print("Yes" if (len(s)>=4 and s[:4]=="YAKI")else "No") |
s213829902 | p03591 | u898651494 | 1536944293 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | s=input()
print("Yes" if len(s)>=4 && s[:4]=="YAKI" else "No") |
s687664568 | p03591 | u150253773 | 1524672083 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | if S.startswith("YAKI"):
return "Yes"
else:
return "No" |
s674798551 | p03591 | u150253773 | 1524672000 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 1 | S |
s657643644 | p03591 | u997023236 | 1516936967 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | if input().startwith("YAKI"):
print("Yes")
else:
print("No") |
s063288482 | p03591 | u750673980 | 1508435886 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 261 | N, M, K = map(int, input().split())
flag = False
for i in range(N+1):
for j in range(M+1):
if flag:
break
if M*i+N*j-i*j*2==K:
flag = True
if flag:
break
if flag:
print("Yes")
else:
print("No")
|
s673447676 | p03591 | u125518946 | 1507681274 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 204 | #coding:utf-8
#入力
S = raw_input()
#分割
S_list = list(S)
present = ""
for i in range(4): present += S_list[i]
output = lambda present: present == "YAKI" and "Yes" or "No"
print output(present)
|
s725750253 | p03591 | u828744308 | 1507226652 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | s=str(input())
if s[:4]==YAKI:
print("yes")
else:
print("no")
|
s894907526 | p03591 | u126747509 | 1506540729 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 400 | #include <iostream>
#include <string>
using namespace std;
bool yaki_check(string s)
{
if (s.length() < 4){
return false;
}
string t("YAKI");
for (int i=0; i<4; i++){
if (s[i] != t[i]){
return false;
}
}
return true;
}
int main()
{
string s;
cin >> s;
if (yaki_check(s)){
c... |
s059784501 | p03591 | u688522869 | 1506389495 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 511 | H,W = list(map(int, input().split()))
moji = ''
char = {}
for i in range(H):
moji += input()
for m in moji:
if m in char:
char[m] += 1
else:
char.update({m:1})
four = 0
two = 0
one = 0
for c in char:
four += int(char[c] / 4)
two += int(char[c]%4/2)
one += int(char[c]%2)
ans = [... |
s518711300 | p03591 | u047535298 | 1506355520 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 251 | N, M, K = map(int, input().split())
def solve(N, M, K):
for i in range(N+1):
for j in range(M+1):
blackNum = i*M + j*N - 2*i*j
if K == blackNum:
return "Yes"
return "No"
print(solve(N, M, K))
|
s284231934 | p03591 | u210718367 | 1506291385 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 63 | s = input()
if s[0:4] == "YAKI":
print "Yes"
else:
print "No" |
s190334480 | p03591 | u781495081 | 1506271635 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | s=input()
if(len(s)>=4)
if(s[:4]=="YAKI"): print("YES")
else : print("NO") |
s655385267 | p03591 | u945080461 | 1506224911 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2568 | 195 | h, w, k = map(int, raw_input().split())
b = [[0] * w for i in xrange(h)]
c = "YGBR"
for i in xrange(h):
for j in xrange(w):
b[i][j] = c[(i+j)/k%2+(i-j)/k%2*2]
print "".join(b[i])
|
s359513949 | p03591 | u751663243 | 1506222803 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 119 | import fileinput
s = fileinput.input().strip()
if len(s)>=4 and s[:4] == 'YAKI':
print("Yes")
else:
print("No") |
s296639863 | p03591 | u688522869 | 1506222756 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 424 | hoge = [int(x) for x in input().split()]
moji = ''
char = {}
for i in range(hoge[0]):
moji += input()
for m in moji:
if m in char:
char[m] += 1
else:
char.update({m:1})
four = 0
two = 0
one = 0
for c in char:
while(char[c] > 0):
four += char[c] / 4:
two += char[c]%4/2:
... |
s574796976 | p03591 | u751663243 | 1506222601 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 83 | import fileinput
s = fileinput.input().strip()
print(len(s)>=4 and s[:3] == 'YAKI') |
s008750346 | p03591 | u523964576 | 1506221398 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 306 | s=input().split()
n=int(s[0])
m=int(s[1])
k=int(s[2])
import numpy as np
a=np.zeros((n,m))
b=int(n/2)+1
c=int(m/2)+1
x=[]
for i in range(b):
a[i,:]=1
x.append(np.count_nonzero(a))
for j in range(c):
a[:,j]=1-i
x.append(np.count_nonzero(a))
if k in x:
print("Yes")
else:
print("No") |
s353988429 | p03591 | u063896676 | 1506221178 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 997 | # -*- coding: utf-8 -*-
inlist = input().split()
n = int(inlist[0])
m = int(inlist[1])
k = int(inlist[2])
mat = [[1 for i in range(n)] for j in range(m)]
def initialize(i, j, matrix):
for k in range(i):
for l in range(j):
matrix[k][l] = 1
return matrix
def sum_mat(i, j, matrix):
sum =... |
s095184133 | p03591 | u063896676 | 1506220979 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 997 | # -*- coding: utf-8 -*-
inlist = input().split()
n = int(inlist[0])
m = int(inlist[1])
k = int(inlist[2])
mat = [[1 for i in range(n)] for j in range(m)]
def initialize(i, j, matrix):
for k in range(i):
for l in range(j):
matrix[k][l] = 1
return matrix
def sum_mat(i, j, matrix):
sum =... |
s596145087 | p03591 | u063896676 | 1506220852 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3188 | 920 | # -*- coding: utf-8 -*-
inlist = input().split()
n = int(inlist[0])
m = int(inlist[1])
k = int(inlist[2])
mat = [[1 for i in range(n)] for j in range(m)]
def initialize(i, j, matrix):
for k in range(i):
for l in range(j):
matrix[k][l] = 1
return matrix
def sum_mat(i, j, matrix):
sum =... |
s970132804 | p03591 | u063896676 | 1506220766 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 923 | # -*- coding: utf-8 -*-
inlist = input().split()
n = int(inlist[0])
m = int(inlist[1])
k = int(inlist[2])
mat = [[1 for i in range(n)] for j in range(m)]
def initialize(i, j, matrix):
for k in range(i):
for l in range(j):
matrix[k][l] = 1
return matrix
def sum_mat(i, j, matrix):
sum =... |
s608373225 | p03591 | u916943847 | 1506220730 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 49 | s = str(input())
print str.lower(s)[:4] == "yaki" |
s991731442 | p03591 | u916943847 | 1506220722 | Python | Python (2.7.6) | py | Runtime Error | 14 | 2568 | 49 | s = str(input())
print str.lower(s)[:4] == "yaki" |
s705115436 | p03591 | u916943847 | 1506220586 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 54 | s = str(raw_input())
print(str.lower(s)[:4] == "yaki") |
s853734098 | p03591 | u373026530 | 1506220061 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 738 | from collections import defaultdict
def foo():
H, W = map(int, input().split())
s = ""
for _ in range(H):
s += input()
counter = defaultdict(int)
for c in s:
counter[c] += 1
x1, x2 = H // 2, H % 2
y1, y2 = W // 2, W % 2
n = x1 * y1
k = 0
for c in counter:
if k == n:
break
if counter[c] >= 4:
... |
s255413069 | p03591 | u373026530 | 1506220043 | Python | Python (3.4.3) | py | Runtime Error | 27 | 3444 | 738 | from collections import defaultdict
def foo():
H, W = map(int, input().split())
s = ""
for _ in range(H):
s += input()
counter = defaultdict(int)
for c in s:
counter[c] += 1
x1, x2 = H // 2, H % 2
y1, y2 = W // 2, W % 2
n = x1 * y1
k = 0
for c in counter:
if k == n:
break
if counter[c] >= 4:
... |
s785279624 | p03591 | u373026530 | 1506219977 | Python | Python (3.4.3) | py | Runtime Error | 57 | 3572 | 738 | from collections import defaultdict
def foo():
H, W = map(int, input().split())
s = ""
for _ in range(H):
s += input()
counter = defaultdict(int)
for c in s:
counter[c] += 1
x1, x2 = H // 2, H % 2
y1, y2 = W // 2, W % 2
n = x1 * y1
k = 0
for c in counter:
if k == n:
break
if counter[c] >= 4:
... |
s025912014 | p03591 | u497285470 | 1506219832 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 647 | raw1 = input().split()
H = int(raw1[0])
W = int(raw1[1])
c = [0 for x in range(26)]
for i in range(H):
raw = input()
for j in range(W):
c[ord(raw[j]) - 97] += 1
for i in range(len(c)):
c[i] = c[i] % 4
if c.count(3) > 0 :
print('No')
elif W%2 == 1 and H%2 == 1 and c.count(1) == 1 and c.count... |
s230788464 | p03591 | u552668967 | 1506218350 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 163 | from sys import stdin
ans = 'No'
n,m,k = map(int,stdin.readline().split())
for i in xrange(n+1):
for j in xrange(m+1):
if i*m - b*j==k:
ans = 'Yes'
print ans |
s416953547 | p03591 | u885958935 | 1506218258 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 330 | import sys
st = input()
if len(st) < 3:
print('No')
sys.exit()
if st[0] == 'Y':
if st[1] == 'A':
if st[2] == 'K':
if st[3] == 'I':
print('Yes')
else:
print('No')
else:
print('No')
else:
print('No')
else:
prin... |
s814507717 | p03591 | u885958935 | 1506218145 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 330 | import sys
st = input()
if len(st) < 3:
print('No')
sys.exit()
if st[0] == 'Y':
if st[1] == 'A':
if st[2] == 'K':
if st[3] == 'I':
print('Yes')
else:
print('No')
else:
print('No')
else:
print('No')
else:
prin... |
s258669826 | p03591 | u027415221 | 1506217937 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 95 | import sys
if sys.argv[1][0:4].startswith('YAKI') == True:
print('Yes')
else:
print('No')
|
s302180096 | p03591 | u090789134 | 1506217825 | Python | Python (2.7.6) | py | Runtime Error | 49 | 2820 | 985 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function
import sys
def main():
h, w = map(int, sys.stdin.readline().strip().split(" "))
aa = ""
for _ in range(h):
aa += sys.stdin.readline().strip()
d = {}
for c in aa:
if c in d:
d[... |
s090688868 | p03591 | u951877352 | 1506217508 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 481 | def func() :
n,m=map(int,input().split())
a={}
for i in range(n) :
s = input()
for c in list(s):
if c in a:
a[c]+=1
else :
a[c] = 1
c1=n*m%2
d1=sum(filter(lambda x : x%2 , a.values()))
if c1 < d1:
print('No')
... |
s229961167 | p03591 | u525117558 | 1506217427 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 86 | s=[input().split()]
if (s[0]+s[1]+s[2]+s[3]=='YAKI'):
print('Yes')
else:
print('No') |
s444064352 | p03591 | u525117558 | 1506217387 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | s=input().split()
if (s[0]+s[1]+s[2]+s[3]=='YAKI'):
print('Yes')
else:
print('No') |
s287448261 | p03591 | u841222846 | 1506217160 | Python | Python (3.4.3) | py | Runtime Error | 289 | 21756 | 243 | import numpy as np
n, m, k = map(int, input().split(" "))
flag = 0
for i in range(n + 1):
for j in range(m + 1):
if(i * n - i * j + j * m - i * j == k):
flag = 1
if(flag == 1):
print("Yes")
else:
print("No") |
s135418284 | p03591 | u330205771 | 1506216932 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 214 | N, M, K = map(int, input().split())
flag = False
for n in range(M + 1):
for m in range(N + 1):
if n * N + m * (M - n * 2) == K:
flag = True
if flag:
print('Yes')
else:
print('No')
|
s280050159 | p03591 | u224226076 | 1506216840 | Python | Python (3.4.3) | py | Runtime Error | 315 | 20764 | 832 | # -*- coding: utf-8 -*-
"""
Created on Sat Sep 23 20:49:53 2017
@author: thvinmei
"""
import numpy as np
if __name__ == '__main__':
answer = False
N,M,K=map(int,input().split())
tile = np.zeros((N,M))
if( K > N*M):
print("No")
for j in range(M):
for i in range(N):
... |
s964511725 | p03591 | u027415221 | 1506216738 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | import sys
args = sys.argv[1];
if args.startswith("YAKI") == True:
print('Yes')
else:
print('No')
|
s820049525 | p03591 | u525117558 | 1506216532 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | s=input().split()
if (s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I'):
print('Yes')
else:
print('No') |
s098184580 | p03591 | u525117558 | 1506216030 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 95 | s=input().split()
print("Yes" if s[0]=="Y" and s[1]=="A" and s[2]=="K" and s[3]=="I" else 'No') |
s968693891 | p03591 | u525117558 | 1506215942 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | s=input().sprit()
print('Yes' if s[0]=='Y' and s[1]=='A' and s[2]=='K' and s[3]=='I' else 'No') |
s983250753 | p03591 | u594329566 | 1506215717 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | s= input()
if s[0]=='Y' and s[1]=='A' and s[2]=='K' and s[3]=='I':
print("Yes")
else:
print("No") |
s696887254 | p03591 | u448407332 | 1506215668 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 80 | a = str(raw_input())
if 1a[0:4] == 'YAKI':
print 'Yes'
else:
print 'No'
|
s099837585 | p03591 | u594329566 | 1506215602 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | s= input()
if s[0]=='Y' and s[1]=='A' and s[2]=='K' and s[3]=='I':
print("Yes");
else:
print("No") |
s416169445 | p03591 | u548384403 | 1506215563 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 165 | [N,M,K]= map(int, raw_input().split())
ans=["No","Yes"]
f=0
for m in range(M+1):
for n in range(N+1):
if K== m*N+n*M-2*m*n:
f=1
print ans[f]
|
s977392037 | p03591 | u163703551 | 1506215514 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3572 | 469 | import sys
import socket
hostname = socket.gethostname()
if hostname == 'F451C':
sys.stdin = open('a1.in')
def read_int_list():
return list(map(int, input().split()))
def read_str_list():
return input().split()
def read_int():
return int(input())
def read_str():
return input()
def main()... |
s094365289 | p03591 | u872191059 | 1506215330 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38640 | 176 | n, m, k = map(int, input().split())
ans = "No"
for i in range(n + 1):
for j in range(m + 1):
if i * (m - j) + j * (n - i) == k:
ans = "Yes"
print(ans) |
s799825240 | p03591 | u008173855 | 1506215243 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 112 | s = input()
if s[0]=='Y' and s[1]=='A' and s[2] == 'K' and s[3] == 'I':
print("Yes")
else:
print("No")
|
s453134215 | p03591 | u321092713 | 1506215199 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | a = list(input())
b = ""
for i in range(4):
b += a[i]
if b == "YAKI":
print('Yes')
else:
print('No') |
s970877152 | p03591 | u674569298 | 1506215183 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 161 | s = list(input())
if len(s) < 4:
print('No')
exit
if s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I':
print('Yes')
else:
print('No') |
s186667269 | p03591 | u213284717 | 1506215124 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 127 | S = raw_input()
if S[0] == "Y":
if S[1] == "A":
if S[2] == "K":
if S[3] == "I":
print("YES")
else:
print("NO") |
s891056107 | p03591 | u925364229 | 1506215076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | ! /usr/bin/env python3
# -*- coding: utf-8 -*-
S = input()
if S in "YAKI":
print("Yes")
else:
print("No") |
s796797137 | p03591 | u665415433 | 1506215031 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 162 | s = input()
a = 'YAKI'
ans = 0
for i in range(4):
if s[i] == a[i]:
ans = 1
else:
break
if ans == 1:
print('Yes')
else:
print('No') |
s465306968 | p03591 | u858136677 | 1506215006 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 139 | s = input()
if len(s) <= 3:
print('No')
else:
if s[0] == Y and s[1] == A and s[2] == K and s[3] == I:
print('Yes')
else:
print('No') |
s286087307 | p03591 | u925364229 | 1506214996 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | #! /usr/bin/env python3
# -*- coding: utf-8 -*-S = input()
if S in "YAKI":
print("Yes")
else:
print("No") |
s263298838 | p03591 | u867069435 | 1506214994 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | inn = input()
ans = "No"
if inn[0] == "Y" and inn[1] == "A" and inn[2] == "K" and inn[3] == "I":
ans = "Yes"
print(ans)
|
s156574384 | p03591 | u354915818 | 1506214961 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 540 | 1. 学部学科/研究科専攻の中身(大学の紹介ではなく、自分が大学で勉強していることの説明)
2. 自分の中心テーマ、素材、対象(専門家向けバージョンと、専門家以外でもわかるバージョンがあると便利)
3. その勉強を通じて得られる成果、結論、応用、実用(特に基礎系の専門の場合、「応用」を幅広くとらえることが欠かせない)
4. ユニークさ(独自の視点、手法、対象、成功率(失敗率)) |
s783580215 | p03591 | u074201886 | 1506214956 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | s=input()
if s[0]=="Y" and s[1]=="A" and s[2]=="K" and s[3]=="I":
print("Yes")
else:
print("No")
|
s277148205 | p03591 | u107077660 | 1506214952 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | S = input()
if(len(S) >= 4 and A[:4] == "YAKI"):
print("Yes")
else:
print("No")
|
s065311024 | p03591 | u422104747 | 1506214925 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 60 | a=input()
if a[0:4]=="YAKI":
print("Yes")
else
print("No") |
s482379490 | p03591 | u985443069 | 1506214918 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 25 | git merge upstream/master |
s024156359 | p03591 | u674569298 | 1506214910 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | s = list(input())
if s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I':
print('Yes')
else:
print('No')
|
s659802290 | p03591 | u107077660 | 1506214903 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 72 | S = input()
if(A[:4] == "YAKI"):
print("Yes")
else:
print("No")
|
s907130500 | p03592 | u626337957 | 1601341834 | Python | PyPy3 (7.3.0) | py | Runtime Error | 98 | 68376 | 155 | H, W = map(int, input().split())
for h in range(0, H+1):
for w in range(0, W+1):
if h*W + w*H - h*w == K:
print('Yes')
exit()
print('No') |
s306993859 | p03592 | u873190923 | 1596939749 | Python | PyPy3 (7.3.0) | py | Runtime Error | 101 | 77384 | 2959 | # input()
# int(input())
# map(int, input().split())
# list(map(int, input().split()))
# list(map(int, list(input()))) # スペースがない数字リストを読み込み
import math
import fractions
import sys
import bisect
import heapq # 優先度付きキュー(最小値取り出し)
import collections
from collections import Counter
from collections import deque
import pprin... |
s059075566 | p03592 | u644907318 | 1595467036 | Python | PyPy3 (7.3.0) | py | Runtime Error | 119 | 74720 | 440 | N,M,K = map(int,input().split())
if N==1 and M==1:
flag = 1
elif N==1 and M>1:
if K<=M:
flag = 1
else:
flag = 0
elif N>1 and m==1:
if K<=N:
flag = 1
else:
flag = 0
else:
flag = 0
for i in range(N):
for j in range(M):
if M*i+N*j-2*i*j==K:
... |
s753207119 | p03592 | u813174766 | 1592179426 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 137 | h,w,k=map(int,input().split())
ans="No"
for i in xrange(h):
for j in xrange(w):
if i*j+(h-i)*(w-j) == k:
ans="Yes"
print(ans) |
s706866163 | p03592 | u493130708 | 1591843761 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38384 | 3561 | # -*- coding: utf-8 -*-
#############
# Libraries #
#############
import sys
input = sys.stdin.readline
import math
#from math import gcd
import bisect
from collections import defaultdict
from collections import deque
from collections import Counter
from functools import lru_cache
#############
# Constants #
#####... |
s246719290 | p03592 | u227085629 | 1591071244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | n,m,k = map(int,input().split())
for a in range(n+1):
for b in range(m+1):
if k = a*m+b*n-2*a*b:
print('Yes')
exit()
print('No') |
s403573990 | p03592 | u241159583 | 1589681471 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 184 | n,m,k = map(int, input().split())
ans = "No"
if k%(m-1)==0 and k//(m-1) > 1:
if k//(m-1) <= n: ans = "Yes"
if k%(n-1)== 0 and k//(n-1) > 1:
if k//(n-1) <= m: ans = "Yes"
print(ans) |
s839687361 | p03592 | u321035578 | 1589335377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 230 | n,m,k = map(int,input().split())
for i in range(n):
if (n-2*i) != 0 and (k-m*i) % (n-2*i) == 0:
j = (k - m * i) // (n - 2 * i)
if w*i + (n-2*i)*j == k:
print('Yes')
exit()
print('No')
|
s542953603 | p03592 | u952467214 | 1588809459 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 453 | import sys
sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
h, w, k= map(int, input().split())
if k%h==0 or k%w==0:
print('Yes')
exit()
if w!=2:
for i in range(1,w):
if (k-i*h) % (w-i*2) == 0 and 0<(k-i*h) // (w-i*2)<=h:
print('Yes')
exit()
if h!=2:
for i in... |
s466909643 | p03592 | u641804918 | 1588385898 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 180 | n,m,k= input().split()
n = int(n)
m = int(m)
k = int(k)
for i in range(n+1):
for j in range(m+1):
if i*(m-j) + (n-i)j == k:
print("Yes")
exit()
print("No")
|
s454558207 | p03592 | u784022244 | 1588240668 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 298 | N,M,K=map(int, input().split())
#最初しろ
#行、列ごとに反転
L=[0]*(10*7)
if K==0 or K==N*M:
print("Yes")
else:
for h in range(N):
for w in range(M):
now=h*w+(N-h)*(M-w)
L[now]+=1
if L[K]>0:
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.