/ XMU_ACM /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:15: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:27: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:61:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 468.0 KiB
#2 Runtime Error Segmentation fault 2ms 384.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["8","-1"] 47ms 576.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["7","9"] 81ms 892.0 KiB

信息

递交者
类型
递交
题目
P1071 最短路模板题
语言
C++
递交时间
2021-01-11 20:58:41
评测时间
2021-01-11 20:58:41
评测机
分数
25
总耗时
133ms
峰值内存
892.0 KiB