记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:15:27: warning: format '%lf' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=]
  else printf("%.2lf\n,%.2lf\n",x1,0, x2,0);
                           ^
/in/foo.c:15:14: warning: too many arguments for format [-Wformat-extra-args]
  else printf("%.2lf\n,%.2lf\n",x1,0, x2,0);
              ^~~~~~~~~~~~~~~~~
/in/foo.c:15:7: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  else printf("%.2lf\n,%.2lf\n",x1,0, x2,0);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:15:7: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB
#2 Wrong Answer 1ms 276.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2024-11-05 17:08:39
评测时间
2024-11-05 17:08:39
评测机
分数
10
总耗时
2ms
峰值内存
276.0 KiB