/ XMU_ACM /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&n,&m,&k,&q);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:22:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&bx[i],&by[i]),block[bx[i]][by[i]]=1;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:54:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d%d",&x1,&x2,&y1,&y2);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Runtime Error Segmentation fault 1ms 384.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["6","-1"] 55ms 560.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["3","1"] 90ms 884.0 KiB

信息

递交者
类型
递交
题目
P1071 最短路模板题
语言
C++
递交时间
2021-01-11 19:37:49
评测时间
2021-01-11 19:37:49
评测机
分数
25
总耗时
149ms
峰值内存
884.0 KiB