/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:19:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<G[x].size();i++)
              ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:50:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:51:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(i=1;i<=m;i++)scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 896.0 KiB
#2 Accepted 2ms 896.0 KiB
#3 Accepted 2ms 896.0 KiB
#4 Accepted 3ms 1.0 MiB
#5 Accepted 2ms 896.0 KiB
#6 Accepted 7ms 1.18 MiB
#7 Accepted 23ms 1.859 MiB
#8 Accepted 26ms 2.168 MiB
#9 Accepted 54ms 3.289 MiB
#10 Accepted 72ms 3.648 MiB

信息

递交者
类型
递交
题目
P1776 关押罪犯
语言
C++
递交时间
2020-11-29 22:16:13
评测时间
2020-11-29 22:16:13
评测机
分数
100
总耗时
198ms
峰值内存
3.648 MiB