/in/foo.c:1:1: error: unknown type name 'from'
from decimal import Decimal as D
^~~~
/in/foo.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
from decimal import Decimal as D
^~~~~~
/in/foo.c:1:14: error: unknown type name 'import'
/in/foo.c:3:12: warning: data definition has no type or storage class
da=int(a);db=int(b)
^~
/in/foo.c:3:12: warning: type defaults to 'int' in declaration of 'db' [-Wimplicit-int]
/in/foo.c:3:15: error: expected expression before 'int'
da=int(a);db=int(b)
^~~
/in/foo.c:5:9: warning: data definition has no type or storage class
a=a-da;b=b-db
^
/in/foo.c:5:9: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
/in/foo.c:5:11: error: initializer element is not constant
a=a-da;b=b-db
^
/in/foo.c:6:2: error: expected ',' or ';' before 'y'
y,x=solve(1/b,1/a)
^