记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'double *' [-Wformat=]
  scanf("%d %d",&a,&b);
          ^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'double *' [-Wformat=]
  scanf("%d %d",&a,&b);
             ^
/in/foo.c:13:3: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
   print("%.6f",b);
   ^~~~~
/tmp/ccRpAnuN.o: In function `main':
foo.c:(.text.startup+0x3c): undefined reference to `print'
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
语言
C
递交时间
2024-11-22 17:07:55
评测时间
2024-11-22 17:07:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes