/ Vijos /

记录详情

Compile Error

/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)
  ^

信息

递交者
类型
递交
题目
P1504 强大的区间
语言
C
递交时间
2021-02-20 20:15:55
评测时间
2021-02-20 20:15:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes