/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'long long int calc(long long int, long long int)':
/in/foo.cc:16:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
    else if (num==ans && ansx>tx) ansx=nx=tx,ansy=ny=ty;
         ^~
/in/foo.cc:45:5: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  ans=calc(nx,ny);
  ~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 384.0 KiB
#2 Wrong Answer 6ms 344.0 KiB
#3 Wrong Answer 9ms 344.0 KiB
#4 Wrong Answer 23ms 344.0 KiB
#5 Wrong Answer 42ms 512.0 KiB
#6 Wrong Answer 126ms 804.0 KiB
#7 Wrong Answer 276ms 1.188 MiB
#8 Wrong Answer 329ms 1.625 MiB
#9 Wrong Answer 417ms 2.332 MiB
#10 Wrong Answer 521ms 2.617 MiB

信息

递交者
类型
递交
题目
P1036 安装服务器
语言
C++
递交时间
2018-08-28 23:21:39
评测时间
2018-08-28 23:21:39
评测机
分数
0
总耗时
1759ms
峰值内存
2.617 MiB