/ Vijos /

记录详情

Wrong Answer

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

信息

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