/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:75: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
  for(int i=1;i<=m;i++) scanf("%d%d%d",&edge[i].from,&edge[i].to,&edge[i].w);
                                                                           ^
/in/foo.cc:31:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   if(find(edge[i].from)==find(edge[i].to)) {printf("%d",edge[i].w);return 0;}
                                                                  ^
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 2ms 336.0 KiB
#5 Accepted 1ms 200.0 KiB
#6 Accepted 4ms 460.0 KiB
#7 Accepted 19ms 1.062 MiB
#8 Accepted 19ms 1.074 MiB
#9 Accepted 39ms 1.855 MiB
#10 Accepted 40ms 1.895 MiB

信息

递交者
类型
递交
题目
P1776 关押罪犯
语言
C++
递交时间
2019-10-24 12:45:19
评测时间
2019-10-24 12:45:19
评测机
分数
100
总耗时
132ms
峰值内存
1.895 MiB