/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:73:35: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lf%lf",&s1[i].x,&s1[i].y);
                                   ^
/in/foo.cc:73:35: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:77:35: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lf%lf",&s2[i].x,&s2[i].y);
                                   ^
/in/foo.cc:77:35: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:71:8: warning: unused variable 'x' [-Wunused-variable]
  int i,x,y,j;
        ^
/in/foo.cc:71:10: warning: unused variable 'y' [-Wunused-variable]
  int i,x,y,j;
          ^
# 状态 耗时 内存占用
#1 Accepted 3ms 376.0 KiB
#2 Wrong Answer 3ms 372.0 KiB
#3 Wrong Answer 2ms 372.0 KiB
#4 Wrong Answer 5ms 384.0 KiB
#5 Wrong Answer 1ms 348.0 KiB
#6 Wrong Answer 1ms 380.0 KiB
#7 Wrong Answer 2ms 384.0 KiB
#8 Wrong Answer 1ms 384.0 KiB
#9 Wrong Answer 3ms 364.0 KiB
#10 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1228 拯救世界-星际大战
语言
C++
递交时间
2018-05-11 11:26:00
评测时间
2018-05-11 11:26:00
评测机
分数
10
总耗时
29ms
峰值内存
384.0 KiB