/ XMU_ACM /

记录详情

Memory Exceeded

/in/foo.cc:25:17: warning: overflow in implicit constant conversion [-Woverflow]
 const int inf = 0x3f3f3f3f3f;
                 ^~~~~~~~~~~~
/in/foo.cc: In function 'int haveBlock(int, int, int, int)':
/in/foo.cc:76:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (x1 > x2) swap(x1, x2); if (y1 > y2) swap(y1, y2);
  ^~
/in/foo.cc:76:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (x1 > x2) swap(x1, x2); if (y1 > y2) swap(y1, y2);
                             ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:101:18: warning: unused variable 'ans' [-Wunused-variable]
  for (int i = 1, ans, x1, x2, y1, y2;i <= q;i++) {
                  ^~~
# 状态 耗时 内存占用
#1 Accepted 5ms 1.34 MiB
#2 Memory Exceeded ≥3616ms ≥1.0 GiB
#3 Wrong Answer 26ms 1.34 MiB
#4 Time Exceeded ≥5005ms ≥348.43 MiB

信息

递交者
类型
递交
题目
P1071 最短路模板题
语言
C++
递交时间
2021-01-13 16:42:48
评测时间
2021-01-13 16:42:48
评测机
分数
25
总耗时
≥8654ms
峰值内存
≥1.0 GiB