记录详情

Compile Error

/in/foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){
 ^~~~
/in/foo.c: In function 'main':
/in/foo.c:6:8: error: incompatible type for argument 1 of 'scanf'
  scanf(x,n)
        ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/stdio.h:27,
                 from /in/foo.c:1:
/usr/include/stdio.h:448:12: note: expected 'const char * restrict' but argument is of type 'double'
 extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
            ^
/in/foo.c:7:1: error: expected ';' before 'result'
 result=pow(x,n);
 ^~~~~~

信息

递交者
类型
自测
题目
A11-1 高精度整数与常规整数的乘法
语言
C
递交时间
2019-03-17 19:55:52
评测时间
2019-03-17 19:55:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes