/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void delet(int)':
/in/foo.cc:48:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,s,v;
          ^
/in/foo.cc: In function 'long long int Kruskal()':
/in/foo.cc:130:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,u,v,fu,fv,cnt;
        ^
/in/foo.cc:130:10: warning: unused variable 'u' [-Wunused-variable]
  int i,j,u,v,fu,fv,cnt;
          ^
/in/foo.cc:130:12: warning: unused variable 'v' [-Wunused-variable]
  int i,j,u,v,fu,fv,cnt;
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:148:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,x,y,z;
          ^
/in/foo.cc:148:14: warning: unused variable 'y' [-Wunused-variable]
  int i,j,k,x,y,z;
              ^
/in/foo.cc:148:16: warning: unused variable 'z' [-Wunused-variable]
  int i,j,k,x,y,z;
                ^
/in/foo.cc: In function 'long long int Kruskal()':
/in/foo.cc:140:9: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
    cnt++;  s+=g[i].w;
         ^
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 4ms 2.25 MiB
#4 Accepted 4ms 2.355 MiB
#5 Accepted 5ms 636.0 KiB
#6 Accepted 4ms 2.25 MiB
#7 Accepted 13ms 2.5 MiB
#8 Accepted 46ms 4.859 MiB
#9 Accepted 57ms 6.832 MiB
#10 Accepted 7ms 2.355 MiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2018-08-13 19:41:38
评测时间
2018-08-13 19:41:38
评测机
分数
100
总耗时
150ms
峰值内存
6.832 MiB