/ Vijos /

记录详情

Wrong Answer

/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:149:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,x,y,z;
        ^
/in/foo.cc:149:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,x,y,z;
          ^
/in/foo.cc:149:14: warning: unused variable 'y' [-Wunused-variable]
  int i,j,k,x,y,z;
              ^
/in/foo.cc:149: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:141:9: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
    cnt++;  s+=g[i].w;
         ^
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 4ms 2.348 MiB
#4 Accepted 4ms 348.0 KiB
#5 Accepted 4ms 2.348 MiB
#6 Wrong Answer 3ms 384.0 KiB
#7 Accepted 12ms 2.703 MiB
#8 Accepted 28ms 6.25 MiB
#9 Accepted 50ms 6.5 MiB
#10 Accepted 6ms 2.477 MiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2018-08-13 19:45:15
评测时间
2018-08-13 19:45:15
评测机
分数
90
总耗时
121ms
峰值内存
6.5 MiB