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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s210428489 | p00006 | u520870854 | 1431705792 | Python | Python | py | Runtime Error | 0 | 0 | 41 |
line = raw_input()
print line.reverse() | File "/tmp/tmpc6cxg3uk/tmpiznhu4y0.py", line 4
print line.reverse()
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s526007596 | p00006 | u492083164 | 1434901921 | Python | Python3 | py | Runtime Error | 0 | 0 | 39 | date=str(input()).reverse()
print(date) | Traceback (most recent call last):
File "/tmp/tmp_ycyveow/tmphyzi7bu8.py", line 1, in <module>
date=str(input()).reverse()
^^^^^^^
EOFError: EOF when reading a line
| |
s157666293 | p00006 | u071010747 | 1445178474 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | def main():
IN=input()
if IN=='':
break
print(IN[::-1]) | File "/tmp/tmp1u66p3tm/tmp60z3y78x.py", line 4
break
^^^^^
SyntaxError: 'break' outside loop
| |
s487645918 | p00006 | u609881501 | 1450272577 | Python | Python3 | py | Runtime Error | 0 | 0 | 16 | print(str[::-1]) | Traceback (most recent call last):
File "/tmp/tmpor2m8a51/tmp1xbizaor.py", line 1, in <module>
print(str[::-1])
~~~^^^^^^
TypeError: type 'str' is not subscriptable
| |
s797217151 | p00006 | u994049982 | 1458670030 | Python | Python | py | Runtime Error | 0 | 0 | 20 | print(input()[::-1]) | Traceback (most recent call last):
File "/tmp/tmpco8howhl/tmpqqhz0jts.py", line 1, in <module>
print(input()[::-1])
^^^^^^^
EOFError: EOF when reading a line
| |
s542104111 | p00006 | u994049982 | 1458670047 | Python | Python | py | Runtime Error | 0 | 0 | 25 | print(str(input())[::-1]) | Traceback (most recent call last):
File "/tmp/tmpenhyheoo/tmpuuc3sbos.py", line 1, in <module>
print(str(input())[::-1])
^^^^^^^
EOFError: EOF when reading a line
| |
s427555706 | p00006 | u403901064 | 1464620981 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
???return input()[::-1]
if __name__ == '__main__':
main() | File "/tmp/tmp83mfa33x/tmpkc39v86l.py", line 4
???return input()[::-1]
^
IndentationError: expected an indented block after function definition on line 3
| |
s865028366 | p00006 | u582608581 | 1470285519 | Python | Python3 | py | Runtime Error | 0 | 0 | 24 | print(input().reverse()) | Traceback (most recent call last):
File "/tmp/tmptcjjo896/tmpk7ek0km6.py", line 1, in <module>
print(input().reverse())
^^^^^^^
EOFError: EOF when reading a line
| |
s462978151 | p00006 | u166871988 | 1478524100 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | while True:
st=list(input())
if len(st)==0:break
print("".join(reversed(st))) | Traceback (most recent call last):
File "/tmp/tmpg0nisel_/tmpiwtvnj4x.py", line 2, in <module>
st=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s586575619 | p00006 | u175111751 | 1478702462 | Python | Python3 | py | Runtime Error | 0 | 0 | 21 | print(input()[::-1]) | File "/tmp/tmpgsamfy_j/tmpll76cs3e.py", line 1
print(input()[::-1])
IndentationError: unexpected indent
| |
s248878966 | p00006 | u542645301 | 1479479828 | Python | Python3 | py | Runtime Error | 0 | 0 | 21 | print(input()[::-3])) | File "/tmp/tmpm8b70q4r/tmp6ehg_v10.py", line 1
print(input()[::-3]))
^
SyntaxError: unmatched ')'
| |
s466365506 | p00006 | u745277023 | 1484376383 | Python | Python | py | Runtime Error | 0 | 0 | 35 | import sys
print(sys.stdin[::-1]) | Traceback (most recent call last):
File "/tmp/tmpjnqx2nu2/tmpv_gcz2t6.py", line 4, in <module>
print(sys.stdin[::-1])
~~~~~~~~~^^^^^^
TypeError: '_io.TextIOWrapper' object is not subscriptable
| |
s873616100 | p00006 | u745277023 | 1484376449 | Python | Python3 | py | Runtime Error | 0 | 0 | 33 | import sys
print(sys.stdin[::-1]) | Traceback (most recent call last):
File "/tmp/tmpeofes7jr/tmpwswllkh4.py", line 2, in <module>
print(sys.stdin[::-1])
~~~~~~~~~^^^^^^
TypeError: '_io.TextIOWrapper' object is not subscriptable
| |
s666101508 | p00006 | u745277023 | 1484376456 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | import sys
print(sys.stdin()[::-1]) | Traceback (most recent call last):
File "/tmp/tmp9_q6mukk/tmpnxi_xbzv.py", line 2, in <module>
print(sys.stdin()[::-1])
^^^^^^^^^^^
TypeError: '_io.TextIOWrapper' object is not callable
| |
s241244556 | p00006 | u745277023 | 1484376603 | Python | Python3 | py | Runtime Error | 0 | 0 | 43 | for i in range(1):
print(input()[::-1]) | File "/tmp/tmpg_w0s0u7/tmpvimqtmif.py", line 1
for i in range(1):
IndentationError: unexpected indent
| |
s036753976 | p00006 | u745277023 | 1484376610 | Python | Python3 | py | Runtime Error | 0 | 0 | 48 | for i in range(1):
print(input()[::-1]) | File "/tmp/tmpoyupc43l/tmpuf8hktfq.py", line 1
for i in range(1):
IndentationError: unexpected indent
| |
s512387945 | p00006 | u745277023 | 1484376615 | Python | Python3 | py | Runtime Error | 0 | 0 | 40 | for i in range(1):
print(input()[::-1]) | File "/tmp/tmprt3priwz/tmpmaqt2sda.py", line 1
for i in range(1):
IndentationError: unexpected indent
| |
s830076296 | p00006 | u745277023 | 1484376631 | Python | Python3 | py | Runtime Error | 0 | 0 | 44 | for i in range(1):
print(input()[::-1]) | File "/tmp/tmp1hnh0mb_/tmphqhy25n2.py", line 1
for i in range(1):
IndentationError: unexpected indent
| |
s389468376 | p00006 | u303360483 | 1488201930 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | <?php
fscanf(STDIN, "%s", $data);
for($i = strlen($data); 0 <= $i; $i--){
$data2 .= $data[$i];
}
echo $data2."\n"; | File "/tmp/tmpdelf07mw/tmpobc4txr1.py", line 1
<?php
^
SyntaxError: invalid syntax
| |
s867911562 | p00006 | u897625141 | 1489400712 | Python | Python3 | py | Runtime Error | 0 | 0 | 42 | line = input()
print(line[len(line),0,-1]) | Traceback (most recent call last):
File "/tmp/tmpciz5y9t6/tmpi1kkyk5h.py", line 1, in <module>
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s961538650 | p00006 | u508732591 | 1503818343 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | import math
import itertools
x = 100
for _ in itertools.repeat(None,int(input())):
x = math.ceil(x*1.05)
print(x*1000) | Traceback (most recent call last):
File "/tmp/tmpgrhvr_f6/tmprqaakrak.py", line 4, in <module>
for _ in itertools.repeat(None,int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s814780641 | p00006 | u933096856 | 1505799717 | Python | Python | py | Runtime Error | 0 | 0 | 19 | print input()[::-1] | File "/tmp/tmpun9318u8/tmpd88k4t1c.py", line 1
print input()[::-1]
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s767305471 | p00006 | u742505495 | 1507705130 | Python | Python3 | py | Runtime Error | 0 | 0 | 62 | import math
import sys
lines = input()
print(lines.reverse()) | Traceback (most recent call last):
File "/tmp/tmp_jcx40c5/tmp5bzdqcwa.py", line 4, in <module>
lines = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s057501452 | p00006 | u488038316 | 1510919450 | Python | Python | py | Runtime Error | 0 | 0 | 142 | # -*-coding:utf-8
#????????????????????§??¨???
def main():
line = input()
print(line[::-1])
if __name__ == '__main__':
main() | Traceback (most recent call last):
File "/tmp/tmphj1bz4ny/tmp4gtg978x.py", line 10, in <module>
main()
File "/tmp/tmphj1bz4ny/tmp4gtg978x.py", line 6, in main
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s986747825 | p00006 | u548155360 | 1512381554 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | # coding=utf-8
sentence = input()
sentence.__reversed__()
print(sentence) | Traceback (most recent call last):
File "/tmp/tmpuf5lzx9r/tmpsppzkol6.py", line 3, in <module>
sentence = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s199250397 | p00006 | u298999032 | 1514588993 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | print(input().reversed) | Traceback (most recent call last):
File "/tmp/tmpe0ugvm4x/tmpq69z1m5m.py", line 1, in <module>
print(input().reversed)
^^^^^^^
EOFError: EOF when reading a line
| |
s349527712 | p00006 | u706217959 | 1515825771 | Python | Python3 | py | Runtime Error | 0 | 0 | 363 | import argparse
def main():
l = []
parser = argparse.ArgumentParser()
parser.add_argument("filename", help="The filename to be processed")
args = parser.parse_args()
if args.filename:
with open(args.filename) as f:
str = f.read()
str = str[::-1]
print(str)
if __name__ == "__main__":
main()
| usage: tmpom5odhvd.py [-h] filename
tmpom5odhvd.py: error: the following arguments are required: filename
| |
s441661847 | p00006 | u803045841 | 1516554860 | Python | Python3 | py | Runtime Error | 0 | 0 | 19 | print(input[::-1])
| Traceback (most recent call last):
File "/tmp/tmpatpw5uey/tmpraa5rvd9.py", line 1, in <module>
print(input[::-1])
~~~~~^^^^^^
TypeError: 'builtin_function_or_method' object is not subscriptable
| |
s924228896 | p00006 | u553148578 | 1519819841 | Python | Python | py | Runtime Error | 0 | 0 | 21 | print(input()[::-1])
| Traceback (most recent call last):
File "/tmp/tmpog894ywk/tmpfh8dy2dk.py", line 1, in <module>
print(input()[::-1])
^^^^^^^
EOFError: EOF when reading a line
| |
s884658197 | p00006 | u619400176 | 1523377984 | Python | Python | py | Runtime Error | 0 | 0 | 106 | string = input()
size = len(string)
st = []
for i in range(size):
st.append(string(size-i))
print(st)
| Traceback (most recent call last):
File "/tmp/tmp50ae9fpt/tmpl2xb6byb.py", line 1, in <module>
string = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s957480496 | p00006 | u619400176 | 1523378064 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | string = input("input data")
size = len(string)
st = []
for i in range(size):
st.append(string(size-i))
print(st)
| Traceback (most recent call last):
File "/tmp/tmpf022af9a/tmpbiynwy1q.py", line 1, in <module>
string = input("input data")
^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| input data |
s389545778 | p00006 | u894941280 | 1344838850 | Python | Python | py | Runtime Error | 0 | 1272 | 48 | str1 = raw_input() print "".join(reversed(str1)) | File "/tmp/tmpcxt7bh02/tmpn05m7bn4.py", line 1
str1 = raw_input() print "".join(reversed(str1))
^^^^^
SyntaxError: invalid syntax
| |
s376148235 | p00006 | u743065194 | 1363004617 | Python | Python | py | Runtime Error | 0 | 0 | 23 | s=input()
print s[::-1] | File "/tmp/tmpqt4nbuxr/tmpki6r9u54.py", line 2
print s[::-1]
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s161602999 | p00006 | u318424563 | 1366620142 | Python | Python | py | Runtime Error | 0 | 0 | 155 | text = raw_input("半角英数20文字まで入力: ")
n = len(text)
rev = []
for i in range(n):
rev.append(text[(n-1)-i])
ans = ''.join(rev)
print ans | File "/tmp/tmpymgtl4g_/tmp5_akji9z.py", line 7
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s428031146 | p00006 | u350508326 | 1367944372 | Python | Python | py | Runtime Error | 0 | 0 | 30 | a = raw_input()
[::-1]
print a | File "/tmp/tmp2bwnncf0/tmpncsk8v2b.py", line 2
[::-1]
^
SyntaxError: invalid syntax
| |
s314889029 | p00006 | u912573907 | 1375168810 | Python | Python | py | Runtime Error | 0 | 0 | 40 | line = input()
reversed(line)
print line | File "/tmp/tmp1eoftt6r/tmpte__49yx.py", line 3
print line
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s518580840 | p00006 | u511257811 | 1381942193 | Python | Python | py | Runtime Error | 0 | 0 | 72 | import sys
for line in sys.stdin:
print sorted(line, reversed=True) | File "/tmp/tmp44uetmr9/tmp8xlh8h1v.py", line 4
print sorted(line, reversed=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s058339038 | p00006 | u511257811 | 1381943561 | Python | Python | py | Runtime Error | 0 | 0 | 107 | import sys
for line in sys.stdin:
l = line.rstrip('\n').split('')
l.reverse()
print ''.join(l) | File "/tmp/tmpiae5_8im/tmpnn7te0nv.py", line 6
print ''.join(l)
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s386201449 | p00006 | u747479790 | 1386764682 | Python | Python | py | Runtime Error | 0 | 0 | 23 | print raw input()[::-1] | File "/tmp/tmpw24fo7ij/tmphsj4sjfi.py", line 1
print raw input()[::-1]
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s224063162 | p00006 | u230836528 | 1392096965 | Python | Python | py | Runtime Error | 0 | 0 | 169 | # -*- coding: utf-8 -*-
import sys
for line in sys.stdin.readlines():
#List = map(int, line.strip().split())
seq = raw_input().strip()
print seq[::-1] | File "/tmp/tmp3utbbt7h/tmp74wtiy2i.py", line 9
print seq[::-1]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s419857100 | p00006 | u633068244 | 1393351159 | Python | Python | py | Runtime Error | 0 | 0 | 35 | s = raw_input()
s.reverse()
print s | File "/tmp/tmpjhscf9ds/tmpo1gk8d19.py", line 3
print s
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s334281918 | p00006 | u633068244 | 1393351184 | Python | Python | py | Runtime Error | 0 | 0 | 41 | s = raw_input()
s.reverse()
print s[::-1] | File "/tmp/tmpw24mlxm1/tmp9x22cor5.py", line 3
print s[::-1]
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s429887150 | p00007 | u525366883 | 1535421749 | Python | Python | py | Runtime Error | 0 | 0 | 116 | import math
price = 100000.0
n = int(raw_input())
for i in range(n):
price = ceil((price * 1.05) / 1000) * 1000
| Traceback (most recent call last):
File "/tmp/tmp5recnnp7/tmpa9prb871.py", line 3, in <module>
n = int(raw_input())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s561527283 | p00007 | u063179562 | 1406814548 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | import math
for i in range(int(input(n))):
n = math.ceil((n*1.05)/1000)*1000 | Traceback (most recent call last):
File "/tmp/tmpz066hily/tmp0t0srfup.py", line 2, in <module>
for i in range(int(input(n))):
^
NameError: name 'n' is not defined
| |
s666300073 | p00007 | u308369184 | 1431591686 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | import math
s=int(imput())
m=100000
for i in range(1:s):
m=m.ceil((m*1.05)/1000)*1000
print(m)
| File "/tmp/tmpg1bqjwp6/tmp48au450y.py", line 4
for i in range(1:s):
^
SyntaxError: invalid syntax
| |
s013800981 | p00007 | u148101999 | 1458270088 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | #encoding=utf-8
inp = input()
x = 100000
for i in xrange(inp):
x = x * 1.05
if int(x % 1000) != 0:
x += 1000 - int(x % 1000)
print int(x) | File "/tmp/tmpop_311py/tmpk8m9zzo_.py", line 10
print int(x)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s532723299 | p00007 | u894114233 | 1461762328 | Python | Python | py | Runtime Error | 0 | 0 | 175 | n=input()
loan=10**5
for i in xrange(n):
loan+=loan*0.05
if loan%1000!=0:
loan-=loan%1000
loan+=10**3
else:
loan-=loan%1000
print(int(loan) | File "/tmp/tmpzeh_ziu3/tmpv4iq_q94.py", line 10
print(int(loan)
^
SyntaxError: '(' was never closed
| |
s090982013 | p00007 | u776559258 | 1477535847 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | debt=10**5
interest=5/100
n=int(input())
for week in range(n):
debt=debt(1+interest)-
if debt%1000>0:
debt=debt+1000-(debt%1000)
print(debt) | File "/tmp/tmpi060bo9i/tmp8aop948d.py", line 6
debt=debt(1+interest)-
^
SyntaxError: invalid syntax
| |
s625889382 | p00007 | u776559258 | 1477535893 | Python | Python3 | py | Runtime Error | 0 | 0 | 145 | debt=10**5
interest=5/100
n=int(input())
for week in range(n):
debt=debt(1+interest)
if debt%1000>0:
debt=debt+1000-(debt%1000)
print(debt) | Traceback (most recent call last):
File "/tmp/tmpcxul9nqa/tmpjw2ctphz.py", line 3, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s102114356 | p00007 | u745277023 | 1484377741 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | x = input()
n = 100000
while x > 0:
n *= 1.05
mod = n % 1000
if mod != 0:
n = n + 1000 - mod
x -= 1
print(int(n)) | Traceback (most recent call last):
File "/tmp/tmp8ihgk4ze/tmpe63y86w3.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s538690624 | p00007 | u745277023 | 1484377773 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | x = raw_input()
n = 100000
while x > 0:
n *= 1.05
mod = n % 1000
if mod != 0:
n = n + 1000 - mod
x -= 1
print(int(n)) | Traceback (most recent call last):
File "/tmp/tmpkg8p_tic/tmpwf2pwtz_.py", line 1, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s235141673 | p00007 | u519227872 | 1486468939 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | from math import ceil
n=int(input())
print((int(ceil(10*(1.05)**n))*10000) | File "/tmp/tmptt1go44i/tmpp6rifqvu.py", line 3
print((int(ceil(10*(1.05)**n))*10000)
^
SyntaxError: '(' was never closed
| |
s901044840 | p00007 | u123596571 | 1494762720 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | n = int(input())
DEBT = 100000
for interest in range(n):
DEBT = DEBT * 1.05
ROUND = DEBT % 1000
if ROUND != 0:
DEBT = (DEBT // 1000 + 1) * 1000
print(int(DEBT) | File "/tmp/tmp2n9oidvw/tmplcyci11h.py", line 9
print(int(DEBT)
^
SyntaxError: '(' was never closed
| |
s557645404 | p00007 | u123596571 | 1494762790 | Python | Python3 | py | Runtime Error | 0 | 0 | 158 | n = int(input())
debt = 100000
for i in range(n):
debt = debt * 1.05
round = debt % 1000
if round != 0:
debt = (debt // 1000 + 1) * 1000
print(int(debt) | File "/tmp/tmpx_6d8rsb/tmprt8xiezc.py", line 9
print(int(debt)
^
SyntaxError: '(' was never closed
| |
s323750497 | p00007 | u350064373 | 1501483145 | Python | Python3 | py | Runtime Error | 0 | 0 | 219 | n = int(input())
result = 100000
for i in range(0,n):
result = result * 1.05
if result % 1000 == 0:
pass
else:
result = result-(result % 1000)+ 1000
result = result(int)
print(result) | Traceback (most recent call last):
File "/tmp/tmp_mewx5xg/tmpanoxk_kl.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s959959395 | p00007 | u267909338 | 1502860897 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | import math
debt = 100000
for x in range (0, int(input())):
debt = math.ceil(debt * 1.05, -3)
print(int(debt)) | Traceback (most recent call last):
File "/tmp/tmphgif34hw/tmpdh6chdzj.py", line 3, in <module>
for x in range (0, int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s506402109 | p00007 | u234052535 | 1504505065 | Python | Python3 | py | Runtime Error | 0 | 0 | 269 | ef Round(ip, dg): # ip???dg?????§?????¨?????\????????¢??°
ip = ip / 10**dg
if(ip-int(ip) != 0):
return (int(ip) + 1)*10**dg
else:
return int(ip)*10**dg
n=int(input())
sum=100000
for i in range(0, n):
sum=Round(sum*1.05)
print(sum) | File "/tmp/tmprkedik25/tmpheo0aa0p.py", line 1
ef Round(ip, dg): # ip???dg?????§?????¨?????\????????¢??°
^^^^^
SyntaxError: invalid syntax
| |
s092972717 | p00007 | u502329480 | 1516505310 | Python | Python | py | Runtime Error | 0 | 0 | 352 | import math
def int_ceil(src, range):
return int(math.ceil(src/float(range)) * range)
def main():
week = int(input())
debt = 100000
for _ in range(week):
risi = debt * 0.05
debt = int_ceil(debt + risi, 1000)
print(debt)
if __name__ == "__main__":
main()
| File "/tmp/tmp0jqn80yr/tmpc70_9gmg.py", line 1
import math
IndentationError: unexpected indent
| |
s183798433 | p00007 | u217408867 | 1526665609 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | import math
r = 100
n = input()
for i in range(n):
r = math.ceil(r * 1.05)
print(r * 1000)
| Traceback (most recent call last):
File "/tmp/tmpiy6o887r/tmpbo8nti75.py", line 4, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s722482387 | p00007 | u282635979 | 1363407746 | Python | Python | py | Runtime Error | 0 | 0 | 68 | n = input()
a = 100000
while x <= n:
a * 1.05
a/1000*1000
print a | File "/tmp/tmpkeij4i08/tmp6uhxer15.py", line 6
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s554084584 | p00007 | u282635979 | 1363407794 | Python | Python | py | Runtime Error | 0 | 0 | 80 | n = input()
a = 100000
while x in xrange(1,n+1):
a * 1.05
a/1000*1000
print a | File "/tmp/tmpxroi0atg/tmpcf79lzfd.py", line 6
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s609483291 | p00007 | u633068244 | 1393351507 | Python | Python | py | Runtime Error | 0 | 0 | 109 | import math
debt = 100000
n = int(raw_inpu())
for i in range(n):
debt = math.ceil(debt*1.05,3)
print debt | File "/tmp/tmpccsion84/tmpt_lrtxoz.py", line 6
print debt
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s161170066 | p00007 | u858885710 | 1393834643 | Python | Python | py | Runtime Error | 0 | 0 | 100 | import math
debt = 100000
for i in range(n):
debt = math.ceil(debt*1.05/1000)*1000
print int(debt) | File "/tmp/tmpiu_p14aw/tmphcpdpydy.py", line 5
print int(debt)
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s426076137 | p00007 | u446235837 | 1398822139 | Python | Python | py | Runtime Error | 0 | 0 | 84 | n = input()
ans = 100000
for i in range(n):
ans *= 1.05
if(ans % 1000) != 0: | File "/tmp/tmpxk6vrx30/tmpw1rirl9x.py", line 5
if(ans % 1000) != 0:
IndentationError: expected an indented block after 'if' statement on line 5
| |
s864371902 | p00008 | u396642573 | 1429402368 | Python | Python | py | Runtime Error | 0 | 0 | 281 | import itertools
l = [1,2,3,4,5,6,7,8,9]
while True:
try:
N = int(raw_input())
res = 0
for element in itertools.combinations_with_replacement(l,5):
if sum(element) == N:
res += 1
print res
except EOFError:
break | File "/tmp/tmpowbxvidx/tmpjluh17lc.py", line 11
res += 1
^
IndentationError: expected an indented block after 'if' statement on line 10
| |
s302037688 | p00008 | u885889402 | 1431591271 | Python | Python3 | py | Runtime Error | 0 | 0 | 757 | while(True):
a = 0
n = int(input())
if n > 36:
print(0)
continue
elif n==36:
print(1)
continue
b = n
for i in range(10):
if n-i==0:
a=a+1
#print("(%d,0,0,0)"%(i))
break
for j in range(10):
if n-i-j==0:
a=a+1
#print("(%d,%d,0,0)"%(i,j))
break
for k in range(10):
b = n-i-j-k
if b>=0 and b<=9:
a=a+1
#print("(%d,%d,%d,%d)"%(i,j,k,b))
continue
elif b > 9:
continue
else:
break
print(a) | Traceback (most recent call last):
File "/tmp/tmp2itw69sv/tmpgntmqh26.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s598229111 | p00008 | u885889402 | 1431591390 | Python | Python | py | Runtime Error | 0 | 0 | 766 | while(True):
a = 0
n = int(input())
if n > 36:
print(0)
continue
elif n==36:
print(1)
continue
b = n
for i in range(10):
if n-i==0:
a=a+1
#print("(%d,0,0,0)"%(i))
break
for j in range(10):
if n-i-j==0:
a=a+1
#print("(%d,%d,0,0)"%(i,j))
break
for k in range(10):
b = n-i-j-k
if b>=0 and b<=9:
a=a+1
#print("(%d,%d,%d,%d)"%(i,j,k,b))
continue
elif b > 9:
continue
else:
break
print(a)
return 0 | File "/tmp/tmp_inbvg9y/tmp_o1uevmu.py", line 35
return 0
^^^^^^^^
SyntaxError: 'return' outside function
| |
s452630748 | p00008 | u358879127 | 1432034251 | Python | Python | py | Runtime Error | 0 | 0 | 304 | def get_input():
while True:
try:
yield ''.join(raw_input())
except EOFError:
break
ar = [0] * 50
for i in range(10):
for j in range(10):
for k in range(10):
for l in range(10):
ar[i + j + k + l] += 1
for a in list(get_input()):
print ar[int(a)] | File "/tmp/tmpidiyirgm/tmpksoksjh0.py", line 18
print ar[int(a)]
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s393968672 | p00008 | u067299340 | 1432709562 | Python | Python | py | Runtime Error | 0 | 0 | 158 | import sys
s=[0]*51
for a in range(10):
for b in range(10):
for c in range(10):
for d in range(10):
s[a+b+c+d]+=1
for l in sys.stdin:print x[int(l)] | File "/tmp/tmp1uzrw7n5/tmpioe6x4vg.py", line 8
for l in sys.stdin:print x[int(l)]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s009128651 | p00008 | u140201022 | 1435065122 | Python | Python | py | Runtime Error | 0 | 0 | 188 | while 1:
try:
n=int(raw_input())
except EOFError:
break
print len(=[1 for i in range(10) for j in range(10) for k in range(10) for l in range(10) if i+j+k+l==n] | File "/tmp/tmp9jm9x9lo/tmpuakgba9k.py", line 6
print len(=[1 for i in range(10) for j in range(10) for k in range(10) for l in range(10) if i+j+k+l==n]
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s476011156 | p00008 | u773043701 | 1447910700 | Python | Python | py | Runtime Error | 0 | 0 | 218 | #! /usr/bin/env python
n = int(raw_input())
x = 0
i = rge(10)
for a in i:
for b in i:
for c in i:
for d in i:
if a + b + c + d == n:
x = x + 1
print x | File "/tmp/tmp3xzf5918/tmp77cc5xpv.py", line 15
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s310744340 | p00008 | u300946041 | 1448113708 | Python | Python | py | Runtime Error | 0 | 0 | 188 | import itertools
c = list(itertools.product(range(10), repeat=4))
if __name__ == '__main__':
for line in sys.stdin.readlines():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmpgntehwd6/tmpptsotjhw.py", line 8
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s879542444 | p00008 | u300946041 | 1448113791 | Python | Python | py | Runtime Error | 0 | 0 | 199 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
if __name__ == '__main__':
for line in sys.stdin.readlines():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmp1ceuuhtr/tmp5vaebysf.py", line 9
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s544675012 | p00008 | u300946041 | 1448113852 | Python | Python | py | Runtime Error | 0 | 0 | 164 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
for line in sys.stdin.readlines():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmpp8xvr2mu/tmp2w8f3ef7.py", line 8
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s254413614 | p00008 | u300946041 | 1448113900 | Python | Python | py | Runtime Error | 0 | 0 | 196 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
if __name__ == '__main__':
for n in sys.stdin.readlines():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmp83ln3jam/tmpmb9h2rsl.py", line 9
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s958163709 | p00008 | u300946041 | 1448114104 | Python | Python | py | Runtime Error | 0 | 0 | 161 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
for n in sys.stdin.readlines():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmpr1c9d87l/tmp8xmjjwom.py", line 8
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s859519603 | p00008 | u300946041 | 1448114354 | Python | Python | py | Runtime Error | 0 | 0 | 169 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
for n in sys.stdin.readlines():
print sum([l for l in c if int(n.strip()) == sum(l)]) | File "/tmp/tmpwrsmuzto/tmpaocpf8av.py", line 8
print sum([l for l in c if int(n.strip()) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s098292050 | p00008 | u300946041 | 1448114561 | Python | Python | py | Runtime Error | 0 | 0 | 160 | import itertools
import sys
c = list(itertools.product(range(10), repeat=4))
for n in sys.stdin.readline():
print sum([l for l in c if int(n) == sum(l)]) | File "/tmp/tmpmpb27kzk/tmpv9u_q4el.py", line 8
print sum([l for l in c if int(n) == sum(l)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s251813370 | p00008 | u300946041 | 1448114860 | Python | Python | py | Runtime Error | 0 | 0 | 268 | import sys
for n in sys.stdin.readline():
ret = 0
for a in xrange(10):
for b in xrange(10):
for c in xrange(10):
for d in xrange(10):
if a+b+c+d == int(n):
ret += 1
print ret | File "/tmp/tmpao4muzg6/tmpm8yk42dh.py", line 12
print ret
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s165813827 | p00008 | u372789658 | 1453612003 | Python | Python3 | py | Runtime Error | 0 | 0 | 302 | def count(num):
l1=[]
for a in range (10):
for b in range(10):
for c in range (10):
for d in range (10):
l1.append([a,b,c,d])
l1=list(filter(lambda x: sum(x)==num,l1))
return(len(l1))
while 1==1:
print(count(int(input()))) | Traceback (most recent call last):
File "/tmp/tmpzwivxz_t/tmpo1v0hr1h.py", line 11, in <module>
print(count(int(input())))
^^^^^^^
EOFError: EOF when reading a line
| |
s046982758 | p00008 | u372789658 | 1453612430 | Python | Python3 | py | Runtime Error | 0 | 0 | 360 | def count(num):
l1=[]
for a in range (10):
for b in range(10):
for c in range (10):
for d in range (10):
l1.append([a,b,c,d])
l1=list(filter(lambda x: sum(x)==num,l1))
return(len(l1))
import sys
length=len(sys.stdin.readlines())
for i in range (length):
print(count(int(input()))) | ||
s112392142 | p00008 | u106298487 | 1457317399 | Python | Python | py | Runtime Error | 0 | 0 | 368 | import sys
for line in sys.stdin.readline():
line.strip()
a=int(line)
if a<37:
cnt=0
for i in xrange(0,10):
for j in xrange(0,10):
for k in xrange(0,10):
for l in xrange(0,10):
if i+j+k+l==a:
cnt+=1
print cnt
else:
print 0 | File "/tmp/tmp060ari9b/tmp8regdodf.py", line 14
print cnt
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s044394695 | p00008 | u130979865 | 1459857128 | Python | Python | py | Runtime Error | 0 | 0 | 235 | # -*- coding: utf-8 -*-
import sys
sum = [0]*37
for a in range(10):
for b in range(10):
for c in range(10):
for d in range(10):
sum[a+b+c+d] += 1
for line in sys.stdin:
print sum[int(line)] | File "/tmp/tmpbf26f8v5/tmpevtul36i.py", line 12
print sum[int(line)]
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s316396301 | p00008 | u403901064 | 1464787582 | Python | Python3 | py | Runtime Error | 0 | 0 | 458 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(num):
if num >= 19:
num = 19 - num + 17
res = 1
gro1 = 3
for i in range(8):
if i == num:
return res
if i == 0:
gro2 = 3
else:
gro2 += 1
res += gro1
gro1 += gro2
for i in range(8,19):
if i == num:
return res
gro2 -= 3
res += gro1
gro1 += gro2
if __name__ == '__main__':
while True:
try:
num = int(input())
except:
return
else:
print(main()) | File "/tmp/tmpbld3kri_/tmp9wutmkho.py", line 31
return
^^^^^^
SyntaxError: 'return' outside function
| |
s148718399 | p00008 | u927516039 | 1474213986 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | while 1:
n=int(input())
cnt=0
for i in range(10):
for j in range(10):
for k in range(10):
for l in range(10):
if i+j+k+l==n:
cnt=cnt+1
print(cnt) | Traceback (most recent call last):
File "/tmp/tmpag2iy8dj/tmpwxpkcww5.py", line 2, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s249037198 | p00008 | u500396695 | 1477889102 | Python | Python3 | py | Runtime Error | 0 | 0 | 195 | while True:
n = int(input())
counter = 0
for a in range(10):
for b in range(10):
for c in range(10):
for d in range(10):
if a + b + c + d == n:
counter += 1
print(counter) | Traceback (most recent call last):
File "/tmp/tmpgnzkkayh/tmpu2qlf6_c.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s526833714 | p00008 | u175111751 | 1478790837 | Python | Python3 | py | Runtime Error | 0 | 0 | 296 | while True:
try:
n = int(input())
c = 0
for i in range(1,10):
for j in range(1,10):
for k in range(1,10):
for l in range(1,10):
if i+j+k+l == n : c+=1
print(c)
exception:
break | File "/tmp/tmp_l7za68h/tmpn6qcogz7.py", line 11
exception:
^^^^^^^^^
SyntaxError: expected 'except' or 'finally' block
| |
s830560034 | p00008 | u922871577 | 1479279301 | Python | Python | py | Runtime Error | 0 | 0 | 278 | import sys
for line in sys.stdin:
N = int(raw_input())
ans = 0
for a in xrange(10):
for b in xrange(10):
for c in xrange(10):
for d in xrange(10):
if a+b+c+d == D:
ans += 1
print ans | File "/tmp/tmpot236df5/tmpbj3n4a75.py", line 11
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s167024940 | p00008 | u922871577 | 1479279318 | Python | Python | py | Runtime Error | 0 | 0 | 278 | import sys
for line in sys.stdin:
N = int(raw_input())
ans = 0
for a in xrange(10):
for b in xrange(10):
for c in xrange(10):
for d in xrange(10):
if a+b+c+d == N:
ans += 1
print ans | File "/tmp/tmp5jbo9kol/tmpstv5dgqe.py", line 11
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s136150405 | p00008 | u919202930 | 1479365488 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | againstN = [0]*50
for a in range(0,10):
for b in range(0,10):
for c in range(0,10):
for d in range(0,10):
againstN[a+b+c+d] += 1
inputs=[]
while True:
try:
inputs.append(int(input()))
except EOFError:
break
for i in inputs:
print(againstN[i]) | ||
s752482986 | p00008 | u435300817 | 1481432657 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | import sys
values = []
for line in sys.stdin:
values.append(int(line))
ans = [1 for i in range(10) for j in range(10) for k in range(10) for l in range(10) if n == i + j + k + l]
print(ans.count(1)) | Traceback (most recent call last):
File "/tmp/tmpp4399ust/tmp9eeygvkg.py", line 5, in <module>
ans = [1 for i in range(10) for j in range(10) for k in range(10) for l in range(10) if n == i + j + k + l]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpp4399ust/tmp9eeygvkg.py", line 5, in <listcomp>
ans = [1 for i in range(10) for j in range(10) for k in range(10) for l in range(10) if n == i + j + k + l]
^
NameError: name 'n' is not defined
| |
s350166040 | p00008 | u393305246 | 1488300146 | Python | Python | py | Runtime Error | 0 | 0 | 511 | import sys
a=[]
for num in sys.stdin:
a.append(num)
for i in a:
time=0
if n<=18:
for i in range(n+1):
if i<=9:
if n-i<=9:
time+=(i+1)*(n-i+1)
else:
time+=(i+1)*(19-n+i)
else:
time+=(19-i)*(n-i+1)
elif n>18 and n<=36:
for i in range(37-n):
pre=i+n-18
if pre<=9
time+=(pre+1)*(19-n+pre)
else:
if n-pre<=9:
time+=(19-pre)*(n-pre+1)
else:
time+=(19-pre)*(19-n+pre)
print time | File "/tmp/tmp2g2b1649/tmph0kk4xpc.py", line 23
if pre<=9
^
SyntaxError: expected ':'
| |
s804029198 | p00008 | u393305246 | 1488300166 | Python | Python | py | Runtime Error | 0 | 0 | 512 | import sys
a=[]
for num in sys.stdin:
a.append(num)
for i in a:
time=0
if n<=18:
for i in range(n+1):
if i<=9:
if n-i<=9:
time+=(i+1)*(n-i+1)
else:
time+=(i+1)*(19-n+i)
else:
time+=(19-i)*(n-i+1)
elif n>18 and n<=36:
for i in range(37-n):
pre=i+n-18
if pre<=9:
time+=(pre+1)*(19-n+pre)
else:
if n-pre<=9:
time+=(19-pre)*(n-pre+1)
else:
time+=(19-pre)*(19-n+pre)
print time | File "/tmp/tmpfgn2c9s1/tmpmk36bapc.py", line 30
print time
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s502516570 | p00008 | u518711553 | 1491491907 | Python | Python3 | py | Runtime Error | 0 | 0 | 178 | import sys
from itertools import product
num = 4
l = [0] * (9*num + 1)
for x in map(sum, product(range(10), repeat=num)):
l[x] += 1
for s in sys.stdin:
print(l[int(s)]) | ||
s305697002 | p00008 | u900298597 | 1494395757 | Python | Python | py | Runtime Error | 0 | 0 | 267 | import sys
a=[]
for i in sys.stdin
ini=input()
a.append(ini)
for i in a:
count=0
for j in range(10):
if j<=i and i-j<=27:
for k in range(10):
if k<=i-j and i-j-k<=18:
if i-j-k<=9:
count+=i-j-k+1
else:
count+=19-i+j+k
print count | File "/tmp/tmp7lvh5lq0/tmpc5m2zt3l.py", line 5
for i in sys.stdin
^
SyntaxError: expected ':'
| |
s937506015 | p00008 | u900298597 | 1494395838 | Python | Python | py | Runtime Error | 0 | 0 | 272 | import sys
a=[]
for i in sys.stdin:
ini=input()
a.append(ini)
for i in a:
count=0
for j in range(10):
if j<=i and i-j<=27:
for k in range(10):
if k<=i-j and i-j-k<=18:
if i-j-k<=9:
count+=i-j-k+1
else:
count+=19-i+j+k
print count
??? | File "/tmp/tmpzqigonvx/tmpsttkb2z2.py", line 19
print count
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s484690035 | p00008 | u900298597 | 1494395966 | Python | Python | py | Runtime Error | 0 | 0 | 274 | import sys
a=[]
for i in sys.stdin:
ini=input()
a.append(ini)
for i in a:
count=0
for j in range(10):
if j<=i and i-j<=27:
for k in range(10):
if k<=i-j and i-j-k<=18:
if i-j-k<=9:
count+=i-j-k+1
else:
count+=19-i+j+k
print count
| File "/tmp/tmp66rg73w5/tmpjizj2pek.py", line 19
print count
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s798438242 | p00008 | u900298597 | 1494474658 | Python | Python | py | Runtime Error | 0 | 0 | 253 | import sys
a=[]
for i in sys.stdin:
a.append(i)
for i in a:
count=0
for j in range(10):
if j<=i and i-j<=27:
for k in range(10):
if k<=i-j and i-j-k<=18:
if i-j-k<=9:
count+=i-j-k+1
else:
count+=19-i+j+k
print count | File "/tmp/tmp099p0r59/tmp8we2z290.py", line 18
print count
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s877490465 | p00008 | u900298597 | 1494474907 | Python | Python | py | Runtime Error | 0 | 0 | 263 | import sys
a = []
for line in sys.stdin:
a.append(line)
for i in a:
count=0
for j in range(10):
if j<=i and i-j<=27:
for k in range(10):
if k<=i-j and i-j-k<=18:
if i-j-k<=9:
count+=i-j-k+1
else:
count+=19-i+j+k
print count | File "/tmp/tmpu167a_c1/tmp7t7yfneg.py", line 17
print count
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s815271683 | p00008 | u440180827 | 1496893023 | Python | Python3 | py | Runtime Error | 0 | 0 | 220 | import sys
c = [0 for i in range(37)]
for i in range(10):
for j in range(10):
for k in range(10):
for l in range(10):
c[i+j+k+l] += 1
for line in sys.stdin:
print(c[int(line)]) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.