记录详情

Compile Error

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

信息

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