/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:22: warning: too many arguments for format [-Wformat-extra-args]
    {scanf("%d",&x,y,k);}
                      ^
/in/foo.cc:22:13: warning: left operand of comma operator has no effect [-Wunused-value]
      if (i-d<x,i+d<y)
          ~~~^~
/in/foo.cc:13:10: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
    {scanf("%d",&x,y,k);}
     ~~~~~^~~~~~~~~~~~~
/in/foo.cc:13:10: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:23:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
      ans++;
      ~~~^~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 320.0 KiB
#2 Wrong Answer 4ms 436.0 KiB
#3 Wrong Answer 2ms 316.0 KiB
#4 Wrong Answer 6ms 308.0 KiB
#5 Runtime Error 1ms 308.0 KiB
#6 Runtime Error 2ms 304.0 KiB
#7 Runtime Error 2ms 324.0 KiB
#8 Runtime Error 2ms 316.0 KiB
#9 Runtime Error 1ms 312.0 KiB
#10 Runtime Error 1ms 312.0 KiB

信息

递交者
类型
递交
题目
P1908 无线网络发射器选址
语言
C++
递交时间
2017-10-04 20:02:02
评测时间
2017-10-04 20:02:02
评测机
分数
0
总耗时
27ms
峰值内存
436.0 KiB