记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:11:17: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Wformat=]
   11 |         scanf("%f",&x);
      |                ~^  ~~
      |                 |  |
      |                 |  double *
      |                 float *
      |                %lf
/in/foo.c:23:9: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
   23 |         printf("%.3f",y);
      |         ^~~~~~~~~~~~~~~~
/in/foo.c:10:13: note: 'y' was declared here
   10 |     float x,y;
      |             ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-12-29 09:38:44
评测时间
2025-12-29 09:38:44
评测机
分数
0
总耗时
1ms
峰值内存
284.0 KiB