s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s999253863 | p04043 | u755616667 | 1572676293 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 390 | ef main():
HAIKU = [5, 7, 5]
v = list(map(int, input().split()))
return equal_list(v, HAIKU)
def equal_list(lst1, lst2):
lst = lst1.copy()
for element in lst2:
try:
lst.remove(element)
except ValueError:
break
else:
if not lst:
return "YES"
return "NO"
if __name__ == "__main__":
print(main())
| File "/tmp/tmpi77j2e9r/tmpdpo2agbl.py", line 1
ef main():
^^^^
SyntaxError: invalid syntax
| |
s514171736 | p04043 | u923659712 | 1572554494 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | a, b, c = map(int, input().split())
if (a == 7 and b ==5 and c == 5)or(a == 5 and b == 7 and c == 5)
or(a==5 and b==5 and c==7):
print("YES")
else:
print("NO") | File "/tmp/tmp9kej2uob/tmpjnfjjrkz.py", line 3
if (a == 7 and b ==5 and c == 5)or(a == 5 and b == 7 and c == 5)
^
SyntaxError: expected ':'
| |
s147325845 | p04043 | u923659712 | 1572554444 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 210 | a, b, c = map(int, input().split())
# まず長さが7の文節があるか確認
if (a == 7 and b ==5 and c == 5)or(a == 5 and b == 7 and c == 5)
or(a==5 and b==5 and c==7):
print("YES")
else:
print("NO") | File "/tmp/tmpc2hm__j4/tmpscfs0i_r.py", line 3
if (a == 7 and b ==5 and c == 5)or(a == 5 and b == 7 and c == 5)
^
SyntaxError: expected ':'
| |
s769675168 | p04043 | u923659712 | 1572554205 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 185 | a, b, c = map(int, input().split())
# まず長さが7の文節があるか確認
if (a == 7 b == 5 c == 5)or(a == 5 b == 7 c == 5)or(a==5 b==5 c==7):
print("YES")
else:
print("NO") | File "/tmp/tmp9ok37sml/tmp6rmehgex.py", line 3
if (a == 7 b == 5 c == 5)or(a == 5 b == 7 c == 5)or(a==5 b==5 c==7):
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s294438099 | p04043 | u923659712 | 1572552727 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | a,b,c = map(int,input().split())
if a=5 b=5 c=7 or a=5 b=7 c=5 or a=7 b=5 c=5:
print("YES")
else:
print("NO") | File "/tmp/tmpf69jxcld/tmpvmqgt7_1.py", line 3
if a=5 b=5 c=7 or a=5 b=7 c=5 or a=7 b=5 c=5:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s894508339 | p04043 | u580093517 | 1572363689 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | n,l = map(int,input().split())
S = sorted([input() for _ in range(n)])
print(*S,sep="") | Traceback (most recent call last):
File "/tmp/tmpjsh66c_2/tmplw_02ulh.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s097820786 | p04043 | u172111219 | 1572108078 | Python | PyPy3 (2.4.0) | py | Runtime Error | 188 | 38256 | 483 | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
vector<int> a(3);
rep(i,3){
cin >> a[i];
}
sort(a.begin(),a.end());
if (a[0]!=5){
cout << "NO" << endl;
exit(0);
}
if (a[1]!=5){
cout << "NO" << endl;
exit(0);
}
if (a[2]!=7){
cout << "NO" << endl;
exit(0);
}
cout << "YES";
return 0;
} | File "/tmp/tmptiy9vl6r/tmp3go_xzp1.py", line 4
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s740260442 | p04043 | u368882459 | 1572036806 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 157 | n, k = map(int, input().split())
d = set(map(str, input().split()))
for i in range(n, 10*n):
if len(d & set(str(i))) == 0:
print(i)
break | Traceback (most recent call last):
File "/tmp/tmp6wkbvug_/tmpjpppu35_.py", line 1, in <module>
n, k = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s936326067 | p04043 | u623516423 | 1572033167 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | ls=list(map(int,input().split()))
ls1=[[5,7,5],[5,5,7],[7,5,5]]
if ls in ls1:
print('YES')
else:
print('NO') | File "/tmp/tmpchj6_2ul/tmp4d8zha1y.py", line 5
else:
^^^^
SyntaxError: invalid syntax
| |
s002200038 | p04043 | u623516423 | 1572032948 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 157 | ls=list(map(int,input().split()))
A=ls[0]
B=ls[1]
C=ls[2]
if (A==B==5 and C=7) or (A==C==5 and B==5) or (A==7 or B==C==5):
print('YES')
else:
print('NO') | File "/tmp/tmpashttqs8/tmpp6y6l1gc.py", line 5
if (A==B==5 and C=7) or (A==C==5 and B==5) or (A==7 or B==C==5):
^
SyntaxError: invalid syntax
| |
s015474069 | p04043 | u100418016 | 1572012977 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | arr_len_int = int(input().split(' ')[1])
a = [input() for i in range(arr_len_int)]
a.sort()
b = set(a)
print(''.join(b )) | Traceback (most recent call last):
File "/tmp/tmpp0h3wzld/tmpvxjby5qa.py", line 1, in <module>
arr_len_int = int(input().split(' ')[1])
^^^^^^^
EOFError: EOF when reading a line
| |
s787875569 | p04043 | u079427319 | 1571810202 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 829 | val, size = map(int, input().split())
disabledList = [int(x) for x in input().split()] # number
enableList = list(set(range(10)) - set(disabledList)) # number
resultList = [] # str, must reverse
isTenOver = False
for char in reversed(list(str(val))):
targetInt = int(char)
if isTenOver:
targetInt += 1
if targetInt in enableList:
isTenOver = False
resultList.append(str(targetInt))
continue
resultList = [str(min(enableList))] * len(resultList)
if targetInt > max(enableList):
isTenOver = True
resultList.append(str(min(enableList)))
else:
isTenOver = False
minNum = min(filter(lambda x:x > targetInt, enableList))
resultList.append(str(minNum))
if isTenOver:
minNum = min(filter(lambda x:x > 0, enableList))
resultList.append(str(minNum))
print(''.join(reversed(resultList))) | Traceback (most recent call last):
File "/tmp/tmpf8lf7qni/tmpizcdblt4.py", line 1, in <module>
val, size = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s742533069 | p04043 | u034243122 | 1571803174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 158 | A,B,C=map(int(input()))
if A=5 or B=5 or C=7:
print('Yes')
elif A=5 or B=7 or C=5:
print('Yes')
elif A=7 or B=5 or C=5:
print('Yes')
else:
print('No') | File "/tmp/tmpu4e_i4h5/tmpr3_p1n42.py", line 2
if A=5 or B=5 or C=7:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s037578885 | p04043 | u361342329 | 1571588140 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 139 | l = [int(i) for i in range(input().split()]
print('YES') if l.count(5) == 2 and l.count(7) == 1 else print('NO')
| File "/tmp/tmpcdwv5ih2/tmpn2sp7qyo.py", line 1
l = [int(i) for i in range(input().split()]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s044450188 | p04043 | u677400065 | 1571520931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 203 | a = list(map(int, input().split()))
count = 0
count1 = 0
for i in range(3):
if a[i] == 5:
count++
elif a[i] == 7:
count1++
if count == 2 & count1 == 1:
print("YES")
else:
print("NO") | File "/tmp/tmphnrfyqgp/tmppcvd_esg.py", line 6
count++
^
SyntaxError: invalid syntax
| |
s418422594 | p04043 | u326775883 | 1571502929 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 149 | 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') | Traceback (most recent call last):
File "/tmp/tmp_hytbm8z/tmpefzx6s61.py", line 1, in <module>
if A==5 and B==5 and C==7:
^
NameError: name 'A' is not defined
| |
s965482600 | p04043 | u870559097 | 1571455536 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a = int(input().split())
if a[0] + a[1] + a[2] == 17:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpiirstn12/tmpdgdbg8z7.py", line 1, in <module>
a = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s023396572 | p04043 | u870559097 | 1571455386 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 180 | A, B, C = int(input().split())
if A == 7, B == 5, C == 5:
print("YES")
elif A == 5, B == 7, C == 5:
print("YES")
elif A == 5, B == 5, C == 7:
print("YES")
else:
print("NO") | File "/tmp/tmpdm411hua/tmp5qgn7znl.py", line 2
if A == 7, B == 5, C == 5:
^
SyntaxError: invalid syntax
| |
s227794200 | p04043 | u870559097 | 1571455179 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 175 | A, B, C = input().split()
if A == 7, B == 5, C == 5:
print("YES")
elif A == 5, B == 7, C == 5:
print("YES")
elif A == 5, B == 5, C == 7:
print("YES")
else:
print("NO") | File "/tmp/tmptm745gs0/tmpypoaame4.py", line 2
if A == 7, B == 5, C == 5:
^
SyntaxError: invalid syntax
| |
s195645521 | p04043 | u870559097 | 1571454533 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | A, B, C = int(map(input().split()))
if A + B + C == 17:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmptrur82nx/tmp0_oin3dq.py", line 1, in <module>
A, B, C = int(map(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s228507235 | p04043 | u870559097 | 1571454407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | A, B, C = int(input().split())
if A + B + C == 17:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpgzeqbe28/tmpfdtvt54v.py", line 1, in <module>
A, B, C = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s264952351 | p04043 | u246572032 | 1571344273 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | A, B, C = int(input())
print('YES' if A, B, C == 5 7 5 else 'NO') | File "/tmp/tmpktxyb1qv/tmpqdsrz_b3.py", line 2
print('YES' if A, B, C == 5 7 5 else 'NO')
^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s882048241 | p04043 | u391442102 | 1571250286 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 230 | A = input()
B = input()
C = input()
D = A + B + C
if(D<=12):
if (A == 7):
if(B == 5):
print('YES')
if (B == 7):
if(A == 5):
print('YES')
if (C == 7):
if(A == 5):
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmp10nv5qax/tmpehzq93cz.py", line 1, in <module>
A = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s313330765 | p04043 | u626468554 | 1571193586 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 206 |
a = list(map(int,input().split()))
a.sort()
ans = True
if a[0] != 5:
ans = False
if a[1] != 5:
ans = False
if a[2] != 7:
ans = False
if(ans):
print("Yes")
else:
print("No")
| File "/tmp/tmp83cr6kgp/tmpdlrpaemi.py", line 2
a = list(map(int,input().split()))
IndentationError: unexpected indent
| |
s953594122 | p04043 | u045953894 | 1571159751 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | A,B,C=map(int,input().split())
if A*B*C == 5*5*7
print('YES')
else:
print('NO') | File "/tmp/tmpmm2s873y/tmpgwn_cl3p.py", line 2
if A*B*C == 5*5*7
^
SyntaxError: expected ':'
| |
s307188499 | p04043 | u045953894 | 1571159602 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | A,B,C=map(int,input().split)
if A+B+C == 17:
print('YES')
else:
print('NO) | File "/tmp/tmpmjbqvpif/tmpydmozzdu.py", line 5
print('NO)
^
SyntaxError: unterminated string literal (detected at line 5)
| |
s770683395 | p04043 | u835924161 | 1571134964 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 78 | a,b,c=map(int,input().split())
if a*b*c==5*5*7
print("YES")
else
print("NO") | File "/tmp/tmpg_uhtpf9/tmpnqth3qmh.py", line 2
if a*b*c==5*5*7
^
SyntaxError: expected ':'
| |
s679961228 | p04043 | u633000076 | 1571006660 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 165 | input_line=input().rstrip().split(" ")
five=int(input_line.count("5"))
seven=int(input_line.count("7"))
if five=2 and seven=1:
print("YES")
else:
print("NO") | File "/tmp/tmpmth_9fvd/tmpqrs5i0iy.py", line 4
if five=2 and seven=1:
^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s881821989 | p04043 | u633000076 | 1571006378 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 223 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a+b+c!=17:
print("NO")
elif (a==b==5 or a==c==5 or b==C==5) and a+b+c==17:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmprs7tmw02/tmpm8sodl9a.py", line 1, in <module>
input_line=input().rstrip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s690050360 | p04043 | u633000076 | 1571006272 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 207 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a==b==5 or a==c==5 or b==C==5:
if a+b+c==17:
print("YES")
elif a+b+c!=17:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpdv2h_s32/tmp6eda6rf2.py", line 1, in <module>
input_line=input().rstrip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s304623271 | p04043 | u633000076 | 1571006244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 206 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a==b==5 or a==c==5 or b==C==5:
if a+b+c==17:
print("YES")
elif a+b+c!=17
print("NO")
| File "/tmp/tmp9vb8acrh/tmp7y3zuy_d.py", line 8
elif a+b+c!=17
^
SyntaxError: expected ':'
| |
s851456707 | p04043 | u633000076 | 1571006154 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 196 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a==b==5 or a==c==5 or b==C==5:
if a+b+c==17:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmp6gprgtdf/tmp742gma1d.py", line 1, in <module>
input_line=input().rstrip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s943476510 | p04043 | u633000076 | 1571006036 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 175 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a==b==5 or a==c==5 or b==C==5:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmphcki63c2/tmpc_ytydgn.py", line 1, in <module>
input_line=input().rstrip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s152592948 | p04043 | u633000076 | 1571005938 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 207 | input_line=input().rstrip().split(" ")
a=int(input_line[0])
b=int(input_line[1])
c=int(input_line[2])
if a+b+c!=17:
print("NO")
elif a==b==5 or a==c==5 or b==C==5:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpve8o81we/tmpofxacfs7.py", line 1, in <module>
input_line=input().rstrip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s774824949 | p04043 | u383450070 | 1570485929 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 218 | s = input().rstrip().split(' ')
counta = 0
countb = 0
for i in range(len(s)):
if int(s[i]) == 7:
counta += 1
elif int(s[i]) == 5:
countb += 1
if counta == 1 and countb == 2:
print('YES')
else:
print('NO') | File "/tmp/tmpqn0kdvf6/tmppdr6uovh.py", line 6
counta += 1
TabError: inconsistent use of tabs and spaces in indentation
| |
s512163030 | p04043 | u767432305 | 1570485718 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 216 | abc=[int(i) for i in input().split()]
num_five=0
num_seven=0
for i in range(3):
if abc[i]==5:
num_five+=1
elif abc[i]==7:
num_five+=1
if num_five==2 and num_seven==1:
print("YES")
else:
print("NO")
| File "/tmp/tmplk6f8knq/tmpod353bbm.py", line 12
else:
^
IndentationError: unindent does not match any outer indentation level
| |
s321149049 | p04043 | u606878291 | 1570372910 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 257 | def check_a(numbers):
if numbers.count(5) == 2 and numbers.count(7) == 1:
return 'YES'
else:
return 'NO'
def main():
numbers = list(map(int, input()))
print(check_a(numbers=numbers))
if __name__ == '__main__':
main()
| Traceback (most recent call last):
File "/tmp/tmpk7aoxbsp/tmplis0bebe.py", line 14, in <module>
main()
File "/tmp/tmpk7aoxbsp/tmplis0bebe.py", line 9, in main
numbers = list(map(int, input()))
^^^^^^^
EOFError: EOF when reading a line
| |
s624463873 | p04043 | u674064321 | 1570075836 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | List=[int(i) for i in input().split()]
if List.count(5) == 2 and List.cout(7) == 1:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmp31l0o_es/tmp1ddhq_x5.py", line 1, in <module>
List=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s503362687 | p04043 | u674064321 | 1570075725 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | List=[int(i) for i in input().split()]
if List.count(5) == 2 and List.cout(7) == 1:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmprw9ymdt2/tmp58hj2b7g.py", line 1, in <module>
List=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s063174189 | p04043 | u746419473 | 1569920756 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep="")
| Traceback (most recent call last):
File "/tmp/tmpgb2b5epf/tmpqp7ul077.py", line 1, in <module>
n,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s697918891 | p04043 | u672898046 | 1569912761 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | n, l = map(int, input().split())
s = []
for _ in range(n):
s.append(input())
s = sorted(s)
print(*s, sep="") | Traceback (most recent call last):
File "/tmp/tmp6ws7pvrj/tmp7lvc_9rl.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s135020914 | p04043 | u672898046 | 1569912656 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | n, l = map(int, input().split())
s = []
for _ in range(n):
s.append(input())
s = sorted(s)
r = ""
for i in s:
r += i
print(r) | Traceback (most recent call last):
File "/tmp/tmp4whqoxh_/tmp86_kb03l.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s726296767 | p04043 | u175590965 | 1569898534 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a,b,c = list(map(int,input().split()))
a.sort()
if a == [5,5,7]:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpbg15e005/tmpmsm3btgx.py", line 1, in <module>
a,b,c = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s080428523 | p04043 | u508934152 | 1569897876 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 193 | data = input()
flag1 = 0
flag2 = 0
for i in range(3):
if data[i] = '5':
flag1 += 1
elif data[i] = '7':
flag2 += 1
if flag1 == 1 and flag2 == 2:
print('YES')
else:
print('NO') | File "/tmp/tmpl0u0r5c7/tmpuhkthnkp.py", line 7
if data[i] = '5':
^^^^^^^
SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
| |
s918432502 | p04043 | u873059840 | 1569866261 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 181 | a = int(input())
b = int(input())
c = int(input())
list = [a,b,c]
if(7 in list):
if list.count(5)==2:
print("YES")
else:
print("NO")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpq_j1wvcq/tmp5e1ndtik.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s824754189 | p04043 | u856957183 | 1569682262 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 343 | input_a = input().split()
kazu = int(input_a[0]) + 1
suuji_kosuu = int(input_a[1])
input_b = input().split()
for i in range(kazu,10000):
t = 0
for j in range(suuji_kosuu):
if input_b[j] in str(i):
break
else:
t = t+1
continue
if t == suuji_kosuu:
print(i)
break | Traceback (most recent call last):
File "/tmp/tmpec_zncjf/tmpqkdy1kpk.py", line 1, in <module>
input_a = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s082251248 | p04043 | u920543723 | 1569439294 | Python | Python (3.4.3) | py | Runtime Error | 147 | 12424 | 585 | import numpy as np
n = list(map(int, input().split()))
d = np.array(list(map(int, input().split())))
a = len(str(n[0]))
x = np.zeros(a + 1)
for i in range(a + 1):
x[i] = (n[0] % np.power(10, a - i + 1)) // np.power(10, a - i)
i = 1
while 1:
while np.any(d == x[i]):
x[i] += 1
x[i + (i != a):] = 0
if x[i] == 10:
x[i - 1] += 1
x[i:] = 0
i = 0
i += 1
if np.any(d == x[0]) and x[0] != 0:
i = 0
if i == a:
break
ans = 0
for i in range(a + 1):
ans += x[i] * np.power(10, a - i)
print(int(ans)) | Traceback (most recent call last):
File "/tmp/tmpa0hklpix/tmpknhep550.py", line 3, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s076726769 | p04043 | u920543723 | 1569430883 | Python | Python (3.4.3) | py | Runtime Error | 280 | 19616 | 625 | import numpy as np
n = list(map(int, input().split()))
d = np.array(list(map(int, input().split())))
while 1:
a = (n[0] % 10000) // 1000
b = (n[0] % 1000) // 100
c = (n[0] % 100) // 10
e = n[0] % 10
f = n[0] // 10000
if f != 0 and np.any(d == f):
n[0] = (f + 1) * 10000
elif np.any(d == a):
n[0] = f * 10000 + (a + 1) * 1000
elif np.any(d == b):
n[0] = f * 10000 + a * 1000 + (b + 1) * 100
elif np.any(d == c):
n[0] = f * 10000 + a * 1000 + b * 100 + (c + 1) * 10
elif np.any(d == e):
n[0] += 1
else:
print(n[0])
break | Traceback (most recent call last):
File "/tmp/tmpwb58uzp8/tmppvphhzup.py", line 2, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s764050832 | p04043 | u920543723 | 1569430744 | Python | Python (3.4.3) | py | Runtime Error | 305 | 21164 | 584 | import numpy as np
n = list(map(int, input().split()))
d = np.array(list(map(int, input().split())))
while 1:
a = (n[0] % 10000) // 1000
b = (n[0] % 1000) // 100
c = (n[0] % 100) // 10
e = n[0] % 10
f = n[0] // 10000
if np.any(d == f):
n[0] = f * 10000
elif np.any(d == a):
n[0] = f * 10000 + (a + 1) * 1000
elif np.any(d == b):
n[0] = a * 1000 + (b + 1) * 100
elif np.any(d == c):
n[0] = a * 1000 + b * 100 + (c + 1) * 10
elif np.any(d == e):
n[0] += 1
else:
print(n[0])
break | Traceback (most recent call last):
File "/tmp/tmprzgo2rhh/tmpc5ij4zos.py", line 2, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s344630549 | p04043 | u920543723 | 1569427876 | Python | Python (3.4.3) | py | Runtime Error | 153 | 12420 | 432 | import numpy as np
n = list(map(int, input().split()))
d = np.array(list(map(int, input().split())))
while 1:
if np.any(d == (n[0] // 1000)):
n[0] += 1000 - (n[0] % 1000)
elif np.any(d == (n[0] % 1000) // 100):
n[0] += 100 - (n[0] % 100)
elif np.any(d == (n[0] % 100) // 10):
n[0] += 10 - (n[0] % 10)
elif np.any(d == n[0] % 10):
n[0] += 1
else:
print(n[0])
break | Traceback (most recent call last):
File "/tmp/tmpl4bpu_0g/tmp__ntbyf9.py", line 2, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s234876854 | p04043 | u470359972 | 1569355597 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 431 | input_line = input().split()
#print(input_line)
count5 = 0
count7 = 0
#print(input_line[0])
#print(len(input_line))
for i in range(len(input_line)):
# print(input_line[i])
if int(input_line[i]) == 5:
# print(input_line[i])
count5 += 1
# print(count5)
elif int(input_line[i]) == 7:
count7 += 1
# print(count7)
if count5 == 2 and count7 == 1:
print("YES")
# print(count5,count7)
else:
# print(count5,count7) | File "/tmp/tmpdk6h18hs/tmpan7rxukd.py", line 20
# print(count5,count7)
IndentationError: expected an indented block after 'else' statement on line 19
| |
s177549640 | p04043 | u740047492 | 1569338952 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 102 | a, b, c = map(int, input().split())
if a == 5 and b == 7 and c = 5:
print("YES")
else:
print("NO") | File "/tmp/tmpmhbwlhsy/tmpecugg1qb.py", line 2
if a == 5 and b == 7 and c = 5:
^
SyntaxError: invalid syntax
| |
s999611286 | p04043 | u740047492 | 1569338926 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a = int(input())
b = int(input())
c = int(input())
if a == 5 and b == 7 and c == 5:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmp_7fhciux/tmpph5w091k.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s141236731 | p04043 | u740047492 | 1569338699 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 102 | a, b, c = map(int, input().split())
if a == 5 and b == 7 and c = 5:
print("Yes")
else:
print("No") | File "/tmp/tmpdf5yz3j0/tmpgea2dwmt.py", line 2
if a == 5 and b == 7 and c = 5:
^
SyntaxError: invalid syntax
| |
s223497713 | p04043 | u474925961 | 1569265884 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | import sys
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
S=map(int,input().split())
s=sorted(S)
if s==5,5,7:
print("YES")
else:
print("NO")
| File "/tmp/tmpnidbilyr/tmpcmyxl1e4.py", line 10
if s==5,5,7:
^
SyntaxError: invalid syntax
| |
s491128273 | p04043 | u953753178 | 1569172899 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 222 | A = list(map(int, input().split()))
five_cnt = 0
seven_cnt = 0
for a in A:
if a == 5:
five_cnt++
if a == 7:
seven_cnt++
if five_cnt == 2 and seven_cnt == 1:
print("Yes")
else:
print("No")
| File "/tmp/tmpd94xcp1y/tmpr75p60ln.py", line 7
five_cnt++
^
SyntaxError: invalid syntax
| |
s562182310 | p04043 | u447166124 | 1568952365 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38256 | 98 | A, B, C = map(int, input().split())
if A+B+C is not 17:
print('NO')
exit(1)
print('YES') | /tmp/tmpaix7937f/tmpsqlig8lv.py:3: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if A+B+C is not 17:
Traceback (most recent call last):
File "/tmp/tmpaix7937f/tmpsqlig8lv.py", line 1, in <module>
A, B, C = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s015239002 | p04043 | u318508464 | 1568931949 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 219 | # coding:utf-8
x, y, z = [int(i) for i in input().split()]
if x = 5 and y = 7 and z = 5:
print("YES")
elif x = 7 and y = 5 and z = 5:
print("YES")
elif x = 5 and y = 5 and z = 7:
print("YES")
else:
print("NO") | File "/tmp/tmpyyq2msil/tmp0ej47f6b.py", line 4
if x = 5 and y = 7 and z = 5:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s775834297 | p04043 | u318508464 | 1568931847 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 216 | # coding:utf-8
x, y, z = list(map(int, input().split()))
if x = 5 and y = 7 and z = 5:
print("YES")
elif x = 7 and y = 5 and z = 5:
print("YES")
elif x = 5 and y = 5 and z = 7:
print("YES")
else:
print("NO") | File "/tmp/tmphjru7w_e/tmplakseqo7.py", line 4
if x = 5 and y = 7 and z = 5:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s723350851 | p04043 | u090267744 | 1568840218 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | n,l=map(int,input().split( ))
s=[]
for i in range(n):
s.append(input())
print(' '.join(sorted(s)))
| Traceback (most recent call last):
File "/tmp/tmpoypxhog1/tmpr1t2_m7l.py", line 1, in <module>
n,l=map(int,input().split( ))
^^^^^^^
EOFError: EOF when reading a line
| |
s546743027 | p04043 | u090267744 | 1568840115 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 169 | #文字列大好きいろはちゃんイージー
n,l=list(map(int,input().split( )))
s=[]
for i in range(n):
s.append(input())
print(' '.join(sorted(s)))
| Traceback (most recent call last):
File "/tmp/tmpsuqpvfvs/tmp5d8etsn3.py", line 2, in <module>
n,l=list(map(int,input().split( )))
^^^^^^^
EOFError: EOF when reading a line
| |
s336068594 | p04043 | u090267744 | 1568840016 | Python | Python (3.4.3) | py | Runtime Error | 149 | 12504 | 187 | #文字列大好きいろはちゃんイージー
import numpy as np
n,l=list(map(int,input().split( )))
s=[]
for i in range(n):
s.append(input())
print(''.join(sorted(s)))
| Traceback (most recent call last):
File "/tmp/tmpr32foefm/tmpyyr732fm.py", line 3, in <module>
n,l=list(map(int,input().split( )))
^^^^^^^
EOFError: EOF when reading a line
| |
s743365296 | p04043 | u090267744 | 1568839798 | Python | Python (3.4.3) | py | Runtime Error | 152 | 12420 | 322 | #文字列大好きいろはちゃんイージー
import numpy as np
n,l=list(map(int,input().split( )))
s=[]
for i in range(n):
s.append(input())
S=""
a=0
while len(s)>0:
for i in range(n-a):
if s[i]==min(s):
S+=s[i]
del s[i]
a+=1
break
print(S)
| Traceback (most recent call last):
File "/tmp/tmpj6_jkkeq/tmpw1jwb7aa.py", line 3, in <module>
n,l=list(map(int,input().split( )))
^^^^^^^
EOFError: EOF when reading a line
| |
s524559488 | p04043 | u156207148 | 1568827090 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 198 | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 18 13:12:09 2019
@author: reimu
"""
a = map(list, input().split())
if a.count('5') == 2 and a.count('7') == 1:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmp9irpmth9/tmpt8v2r1zt.py", line 8, in <module>
a = map(list, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s284877187 | p04043 | u156207148 | 1568827052 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 194 | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 18 13:12:09 2019
@author: reimu
"""
a = map(list, input().split())
if a.count(5) == 2 and a.count(7) == 1:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpe8e3m7q0/tmpvae64yca.py", line 8, in <module>
a = map(list, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s622556069 | p04043 | u156207148 | 1568827027 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 193 | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 18 13:12:09 2019
@author: reimu
"""
a = map(int, input().split())
if a.count(5) == 2 and a.count(7) == 1:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpctyjr0d7/tmpa7sm1sf9.py", line 8, in <module>
a = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s681936605 | p04043 | u156207148 | 1568826950 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 188 | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 18 13:12:09 2019
@author: reimu
"""
a = map(int, input().split())
if a.count(5) == 2 and a.count(7):
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpj0xclqh8/tmp_sjt3kbu.py", line 8, in <module>
a = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s502987077 | p04043 | u131264627 | 1568778076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | a = map(int, input().split())
if a.count(5) == 2 and a.count(7) == 1:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpbsqz_2fj/tmp8ytchb5i.py", line 1, in <module>
a = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s626841225 | p04043 | u482808969 | 1568504599 | Python | PyPy3 (2.4.0) | py | Runtime Error | 176 | 38256 | 97 | lst = map(int, input().split())
print("YES" if lst.count(5) == 2 and lst.count(7) == 1 else "NO") | Traceback (most recent call last):
File "/tmp/tmp671k4ax1/tmp07op822k.py", line 1, in <module>
lst = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s005099072 | p04043 | u575560095 | 1568485256 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | N,L = map(int,input().split())
S = []
ans = ""
for i in range(N):
S.append(input())
sorted(S)
for i in range(len(S)):
ans += S[i]
print(ans)
| Traceback (most recent call last):
File "/tmp/tmp0xfndemg/tmpf0x2dcr6.py", line 1, in <module>
N,L = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s657579751 | p04043 | u395187579 | 1568393540 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | A=input()
B=input()
C=input()
for A,B,C in range(1,10):
if A==5 B==5 C==7 || A==7 B==5 C==5 || A==5 B==7 C==5:
print('Yes')
else:
print('No')
| File "/tmp/tmp45j1hbr0/tmpeswmegxk.py", line 6
if A==5 B==5 C==7 || A==7 B==5 C==5 || A==5 B==7 C==5:
^
IndentationError: expected an indented block after 'for' statement on line 5
| |
s707194010 | p04043 | u788703383 | 1568129493 | Python | PyPy2 (5.6.0) | py | Runtime Error | 43 | 28268 | 257 | i = list(map(int, input().split()))
if i[0] == 7:
if i[1] == 5 and i[2] ==5:
print('YES')
else:
print('NO')
elif i[0] == 5:
if (i[1] == 7 and i[2] == 5) or (i[2] == 7 and i[1] == 5):
print('YES')
else:
print('NO')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpjaep0ugv/tmp29_8cskq.py", line 1, in <module>
i = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s671940754 | p04043 | u977349332 | 1568062055 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | abc = [int (x) in input().split()]
abc.sort()
print('YES' if abc == [5, 5, 7] else 'NO')
| Traceback (most recent call last):
File "/tmp/tmpz0g3zw07/tmpuwugl57e.py", line 1, in <module>
abc = [int (x) in input().split()]
^
NameError: name 'x' is not defined
| |
s587577110 | p04043 | u595716769 | 1568013262 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | N, L = map(int, input().split())
Li = [input() for i in range(N)]
s = ""
for i in range(N):
temp = min(Li)
Li.remove(temp)
s += temp
print(s) | Traceback (most recent call last):
File "/tmp/tmpxrlcis9z/tmptiaoqcsx.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s450024490 | p04043 | u595716769 | 1568013097 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 145 | N, L = map(int, input().split())
L = [input() for i in range(N)]
s = ""
for i in range(N):
temp = min(L)
L.remove(temp)
s += temp
print(s) | Traceback (most recent call last):
File "/tmp/tmpn53oqu64/tmpp_cmzebi.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s876574622 | p04043 | u194447264 | 1567872662 | Python | Python (2.7.6) | py | Runtime Error | 14 | 2816 | 366 | # -*- coding: utf-8 -*-
"""
Created on Fri Sep 6 16:59:47 2019
@author: ask07
"""
A=int(input("Aの文字数を入力:"))
B=int(input("Bの文字数を入力:"))
C=int(input("Cの文字数を入力:"))
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")
| Traceback (most recent call last):
File "/tmp/tmp61xfj4mb/tmpg46ob4er.py", line 8, in <module>
A=int(input("Aの文字数を入力:"))
^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| Aの文字数を入力: |
s224610599 | p04043 | u194447264 | 1567872051 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 204 | A=int(input())
B=int(input())
C=int(input())
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") | Traceback (most recent call last):
File "/tmp/tmpi5ljx2se/tmp7u9jdens.py", line 1, in <module>
A=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s430156063 | p04043 | u194447264 | 1567871532 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 280 |
A=int(input("Aの文字数を入力:"))
B=int(input("Bの文字数を入力:"))
C=int(input("Cの文字数を入力:"))
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")
| Traceback (most recent call last):
File "/tmp/tmpdhouw_f5/tmpc_l4fspl.py", line 2, in <module>
A=int(input("Aの文字数を入力:"))
^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| Aの文字数を入力: |
s572277750 | p04043 | u194447264 | 1567871195 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 364 | # -*- coding: utf-8 -*-
"""
Created on Fri Sep 6 16:59:47 2019
@author: ask07
"""
A=int(input("Aの文字数を入力:"))
B=int(input("Bの文字数を入力:"))
C=int(input("Cの文字数を入力:"))
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")
| Traceback (most recent call last):
File "/tmp/tmpwh75trla/tmp88ww7e1d.py", line 8, in <module>
A=int(input("Aの文字数を入力:"))
^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| Aの文字数を入力: |
s370856308 | p04043 | u872056745 | 1567534630 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | n, l = map(int, input().split())
str = []
for i in range(n):
str.append(input())
str.sort()
print(''.join(str)) | Traceback (most recent call last):
File "/tmp/tmpn6xfk973/tmpupkht043.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s073018369 | p04043 | u872056745 | 1567534181 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | n, l = map(int, input().split())
str = []
for i in range(n):
str.append(input())
str.sort()
print("".join(str)) | Traceback (most recent call last):
File "/tmp/tmp7ic8yxdp/tmp8o0w8mbr.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s413698338 | p04043 | u513900925 | 1567532241 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | A,B,C = int(input())
if A*B*C == 175:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpuyq1ek1x/tmp1rvtu0wd.py", line 1, in <module>
A,B,C = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s347938106 | p04043 | u164261323 | 1567279961 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | n = input().split()
print("YES") if n.count("5") ==2 and n.count("7") == 1 else "NO") | File "/tmp/tmp74ukjcrv/tmpazaqdh22.py", line 2
print("YES") if n.count("5") ==2 and n.count("7") == 1 else "NO")
^
SyntaxError: unmatched ')'
| |
s726834011 | p04043 | u288500098 | 1567229605 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 315 | N,K = map(int, input().split())
kirai = [int(i) for i in input().split()]
usable_num = [1,2,3,4,5,6,7,8,9]
for x in kirai:
usable_num.remove(x)
ketasu = len(str(N))
#print(ketasu)
s = 0
for d in range(ketasu):
s += min(usable_num) * 10 ** d
if s >= N:
print(s)
else:
print(N+min(usable_num)) | Traceback (most recent call last):
File "/tmp/tmp98_fnn_4/tmpxts696fl.py", line 1, in <module>
N,K = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s358375479 | p04043 | u824365684 | 1567198583 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 138 | a = input();
b = input();
c = input();
d = [a,b,c];
d.sort();
if d[0]==5 and d[1]==5 and d[2]==7:
print("YES");
else:
print("NO");
| Traceback (most recent call last):
File "/tmp/tmpzk2qzl69/tmpbsbjc5ta.py", line 1, in <module>
a = input();
^^^^^^^
EOFError: EOF when reading a line
| |
s002765774 | p04043 | u723612399 | 1567175244 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 204 | # -*- coding: utf-8 -*-
f_line = input().split()
N = int(f_line[0])
L = int(f_line[1])
S = []
s = ""
for i in range(N):
S.append(input())
S.sort()
for i in range(N):
s = s + S[i]
print("%s"%(s))
| Traceback (most recent call last):
File "/tmp/tmp6dd3re5r/tmp1sjbwqqe.py", line 3, in <module>
f_line = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s959272074 | p04043 | u723612399 | 1567174776 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 203 | # -*- coding: utf-8 -*-
f_line = input().split()
N = int(f_line[0])
L = int(f_line[1])
S = []
s = ""
for i in range(N):
S.append(input())
S.sort()
for i in range(N):
s = s + S[i]
print("%s"%(s)) | Traceback (most recent call last):
File "/tmp/tmpt0sc5j24/tmppk2l2q2r.py", line 3, in <module>
f_line = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s360264602 | p04043 | u471539833 | 1567135695 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 162 | a=int(input())
b=int(input())
c=int(input())
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")
| Traceback (most recent call last):
File "/tmp/tmpjyn3z1ud/tmpudjy19u0.py", line 1, in <module>
a=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s486254046 | p04043 | u471539833 | 1567135568 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 157 | a=int(input())
b=int(input())
c=int(input())
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):
return YES
else:
return NO | File "/tmp/tmp4w6oplkk/tmp1ye5cgqn.py", line 6
return YES
^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s814059261 | p04043 | u726979570 | 1567069745 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | w=str(input())
if w.count("5")=2 and w.count("7")=1:
print("YES")
else:
print("NO")
| File "/tmp/tmpmdsbcgpd/tmpcsso2ir3.py", line 2
if w.count("5")=2 and w.count("7")=1:
^^^^^^^^^^^^
SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
| |
s161017995 | p04043 | u920438243 | 1567022628 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 534 | x,y = map(int,input().split())
list = [input() for i in range(x)]
if list[0]<=list[1] and list[0]<=list[2]:
if list[1]<=list[2]:
print(list[0]+list[1]+list[2])
else:
print(list[0]+list[2]+list[1])
if list[1]<=list[0] and list[1]<=list[2]:
if list[0]<=list[2]:
print(list[1]+list[0]+list[2])
else:
print(list[1]+list[2]+list[0])
if list[2]<=list[0] and list[2]<=list[1]:
if list[0]<=list[1]:
print(list[2]+list[0]+list[1])
else:
print(list[2]+list[1]+list[0])
| Traceback (most recent call last):
File "/tmp/tmplu5ivrc7/tmp99n8ckyl.py", line 1, in <module>
x,y = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s660514351 | p04043 | u920438243 | 1567022462 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 525 | x,y = map(int,input().split())
list = [input() for i in range(x)]
if list[0]<list[1] and list[0]<list[2]:
if list[1]<list[2]:
print(list[0]+list[1]+list[2])
else:
print(list[0]+list[2]+list[1])
if list[1]<list[0] and list[1]<list[2]:
if list[0]<list[2]:
print(list[1]+list[0]+list[2])
else:
print(list[1]+list[2]+list[0])
if list[2]<list[0] and list[2]<list[1]:
if list[0]<list[1]:
print(list[2]+list[0]+list[1])
else:
print(list[2]+list[1]+list[0])
| Traceback (most recent call last):
File "/tmp/tmpszgakbxf/tmpgor8atsz.py", line 1, in <module>
x,y = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s898395654 | p04043 | u417958545 | 1566864536 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 245 | a = int(input())
b = int(input())
c = int(input())
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") | Traceback (most recent call last):
File "/tmp/tmpi_vyzy_7/tmpv7reet9k.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s653392590 | p04043 | u417958545 | 1566863212 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 155 | A=list(map(int,input().split()))
A.sort()
#A = str(len("a"))
#B = str(len("b"))
#C = str(len("c"))
if A == [5,5,7]:
print("YES"
else:
print("NO") | File "/tmp/tmps7xxmsod/tmpj8fog9uo.py", line 8
print("YES"
^
SyntaxError: '(' was never closed
| |
s561127283 | p04043 | u417958545 | 1566862923 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 239 | A = int(input())
B = int(input())
C = int(input())
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")
| Traceback (most recent call last):
File "/tmp/tmps8lcf3tj/tmpxxganhj5.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s054447760 | p04043 | u417958545 | 1566862838 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 346 | A = int(input())
B = int(input())
C = int(input())
#A = str(len("a"))
#B = str(len("b"))
#C = str(len("c"))
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 == 7:
print("YES")
elif A == 7 and B == 5 and C == 5:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpl1kgwen5/tmpl0bivud6.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s865250645 | p04043 | u417958545 | 1566862793 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 288 | A = int(input())
B = int(input())
C = int(input())
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 == 7:
print("YES")
elif A == 7 and B == 7 and C == 5:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpmagpbgfl/tmp9x8mlh0h.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s677351450 | p04043 | u417958545 | 1566862365 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38384 | 230 | A = int(input())
B = int(input())
C = int(input())
if A == 5 and B == 7 and C == 5:
print("YES")
elif A == 7 and B == 5 and C == 5:
print("YES")
elif A == 5 and B == 5 and C == 7:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpemf84crl/tmph00th2d3.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s595342940 | p04043 | u417958545 | 1566862314 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 235 | A = int(input())
B = int(input())
C = int(input())
if A == 5 and B == 7 and C == 5:
print("YES")
elif A == 7 and B == 5 and C == 5:
print("YES")
elif A == 5 and B == 5 and C == 7:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpaa8qzwe8/tmp3y3mhaz1.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s511498652 | p04043 | u417958545 | 1566862273 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 232 | A = int(input())
B = int(input())
C = int(input())
if A == 5 and B == 7 and C == 5:
print("YES")
elif A == 7 and B == 5 and C == 5:
print("YES")
elif A == 5 and B == 5 and C == 7:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpk1hmlei4/tmpvrtag3s4.py", line 1, in <module>
A = int(input())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.