/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:24:12: warning: format '%lf' expects argument of type 'double *', but argument 2 has type 'int *' [-Wformat=]
   scanf("%lf%lf", &(start_point[0]), &(start_point[1]));
            ^
/in/foo.c:24:15: warning: format '%lf' expects argument of type 'double *', but argument 3 has type 'int *' [-Wformat=]
   scanf("%lf%lf", &(start_point[0]), &(start_point[1]));
               ^
/in/foo.c:12:9: warning: 'yl' may be used uninitialized in this function [-Wmaybe-uninitialized]
  double diff_y = y1 - y2;
         ^~~~~~
/in/foo.c:18:19: note: 'yl' was declared here
  double x, y, xl, yl;
                   ^~
/in/foo.c:11:9: warning: 'xl' may be used uninitialized in this function [-Wmaybe-uninitialized]
  double diff_x = x1 - x2;
         ^~~~~~
/in/foo.c:18:15: note: 'xl' was declared here
  double x, y, xl, yl;
               ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Wrong Answer 2ms 256.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Wrong Answer 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1007 绕钉子的长绳子
语言
C
递交时间
2018-07-15 10:28:41
评测时间
2018-07-15 10:28:41
评测机
分数
30
总耗时
14ms
峰值内存
256.0 KiB