/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:85:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:75:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
        ^
/in/foo.cc:75:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
          ^
/in/foo.cc:75:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ch=-1; 
            ^
/in/foo.cc:75: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:127:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:123:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
        ^
/in/foo.cc:123:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
          ^
/in/foo.cc:123:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
            ^
/in/foo.cc:123:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
              ^
/in/foo.cc:123:19: warning: unused variable 'ie' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
                   ^~
/in/foo.cc:124: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:139:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<ve[id].size();i++)
          ~^~~~~~~~~~~~~~
/in/foo.cc:153:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<adj[id].size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc:137:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,dc;
          ^
/in/foo.cc:137:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,dc;
            ^
/in/foo.cc:137: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:183:6: warning: unused variable 'ix' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
      ^~
/in/foo.cc:183:9: warning: unused variable 'i' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
         ^
/in/foo.cc:183:11: warning: unused variable 'j' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
           ^
/in/foo.cc:183:13: warning: unused variable 's' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
             ^
/in/foo.cc:183:15: warning: unused variable 'p' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
               ^
/in/foo.cc:183:17: warning: unused variable 'q' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                 ^
/in/foo.cc:183:19: warning: unused variable 'la' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                   ^~
/in/foo.cc:183:22: warning: unused variable 'dc' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                      ^~
/in/foo.cc:183:25: warning: unused variable 'ip' [-Wunused-variable]
  int ix,i,j,s,p,q,la,dc,ip;
                         ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:247:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(j=0;j<vec[i].size();j++)
                ~^~~~~~~~~~~~~~
/in/foo.cc:249:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(s=j+1;s<vec[i].size();s++)
                   ~^~~~~~~~~~~~~~
/in/foo.cc:253:15: warning: unused variable 'ok' [-Wunused-variable]
          bool ok=false;
               ^~
/in/foo.cc:358:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(p=0;p<vz[0][i].size();p++)
             ~^~~~~~~~~~~~~~~~
/in/foo.cc:384:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          for(p=0;p<vmw[s][i].size();p++)
                  ~^~~~~~~~~~~~~~~~~
/in/foo.cc:427:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(j=0;j<vec_en[i].size();j++)
               ~^~~~~~~~~~~~~~~~~
/in/foo.cc:456:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(p=0;p<vz[1][i].size();p++)
               ~^~~~~~~~~~~~~~~~
/in/foo.cc:200: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:200: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:200: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 Accepted 2419ms 108.781 MiB
#2 Runtime Error 184ms 105.371 MiB
#3 Accepted 4057ms 115.25 MiB

信息

递交者
类型
递交
题目
P2048 原题识别
语言
C++
递交时间
2018-09-06 10:40:57
评测时间
2018-09-06 10:40:57
评测机
分数
70
总耗时
6661ms
峰值内存
115.25 MiB