/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:87:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:77:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
        ^
/in/foo.cc:77:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
          ^
/in/foo.cc:77:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
            ^
/in/foo.cc:77:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
              ^
/in/foo.cc: In function 'void here(int)':
/in/foo.cc:129:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:125:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
        ^
/in/foo.cc:125:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
          ^
/in/foo.cc:125:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
            ^
/in/foo.cc:125:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
              ^
/in/foo.cc:125:19: warning: unused variable 'ie' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
                   ^~
/in/foo.cc:126:12: warning: unused variable 'nv' [-Wunused-variable]
  long long nv[3];
            ^~
/in/foo.cc: In function 'void gpr(int, int, long long int*)':
/in/foo.cc:141:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<ve[id].size();i++)
          ~^~~~~~~~~~~~~~
/in/foo.cc:155:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:139:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,dc;
          ^
/in/foo.cc:139:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,dc;
            ^
/in/foo.cc:139:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,dc;
              ^
/in/foo.cc: In function 'void ins(int, int)':
/in/foo.cc:185:6: warning: unused variable 'ix' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
      ^~
/in/foo.cc:185:9: warning: unused variable 'i' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
         ^
/in/foo.cc:185:11: warning: unused variable 'j' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
           ^
/in/foo.cc:185:13: warning: unused variable 's' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
             ^
/in/foo.cc:185:15: warning: unused variable 'p' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
               ^
/in/foo.cc:185:17: warning: unused variable 'q' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                 ^
/in/foo.cc:185:19: warning: unused variable 'la' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                   ^~
/in/foo.cc:185:22: warning: unused variable 'dc' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                      ^~
/in/foo.cc:185:25: warning: unused variable 'ip' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                         ^~
/in/foo.cc: In function 'void MAIN()':
/in/foo.cc:249:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(j=0;j<vec[i].size();j++)
                ~^~~~~~~~~~~~~~
/in/foo.cc:251:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(s=j+1;s<vec[i].size();s++)
                   ~^~~~~~~~~~~~~~
/in/foo.cc:255:15: warning: unused variable 'ok' [-Wunused-variable]
          bool ok=false;
               ^~
/in/foo.cc:360:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(p=0;p<vz[0][i].size();p++)
             ~^~~~~~~~~~~~~~~~
/in/foo.cc:386:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          for(p=0;p<vmw[s][i].size();p++)
                  ~^~~~~~~~~~~~~~~~~
/in/foo.cc:429:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(j=0;j<vec_en[i].size();j++)
               ~^~~~~~~~~~~~~~~~~
/in/foo.cc:458:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(p=0;p<vz[1][i].size();p++)
               ~^~~~~~~~~~~~~~~~
/in/foo.cc:202:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ix,id,t,u,v,ll,rr,lx,rx,dc,la,flag;
              ^
/in/foo.cc:202:16: warning: unused variable 'ix' [-Wunused-variable]
  int i,j,s,p,q,ix,id,t,u,v,ll,rr,lx,rx,dc,la,flag;
                ^~
/in/foo.cc:202:46: warning: unused variable 'flag' [-Wunused-variable]
  int i,j,s,p,q,ix,id,t,u,v,ll,rr,lx,rx,dc,la,flag;
                                              ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 102ms 56.234 MiB
#2 Runtime Error 93ms 51.484 MiB
#3 Runtime Error 75ms 56.473 MiB

信息

递交者
类型
递交
题目
P2048 原题识别
语言
C++
递交时间
2018-09-06 10:38:33
评测时间
2018-09-06 10:38:33
评测机
分数
0
总耗时
270ms
峰值内存
56.473 MiB