/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'bool init()':
/in/foo.cc:59:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<n;i++)
               ~^~
/in/foo.cc:61:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<n;i++)
               ~^~
/in/foo.cc:62:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int j=0;j<n;j++)
               ~^~
/in/foo.cc:66:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<n;i++)
               ~^~
/in/foo.cc:80:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<n;i++)
               ~^~
/in/foo.cc:81:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int j=i+1;j<n;j++)
                 ~^~
/in/foo.cc:86:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   graph[i][j] = graph[j][i] = dx * dx + dy * dy + dz * dz <= r * r * 4;
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'bool bfs()':
/in/foo.cc:96:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0;i<n;i++)
                ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 232.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Runtime Error 5ms 1.188 MiB
#5 Accepted 14ms 1.172 MiB
#6 Accepted 34ms 1.223 MiB
#7 Accepted 56ms 1.211 MiB
#8 Accepted 52ms 1.215 MiB
#9 Wrong Answer 41ms 1.203 MiB
#10 Wrong Answer 41ms 1.215 MiB

信息

递交者
类型
递交
题目
P2031 奶酪
语言
C++
递交时间
2020-10-28 19:43:07
评测时间
2020-10-28 19:43:07
评测机
分数
70
总耗时
249ms
峰值内存
1.223 MiB