/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool bfs(int)':
/in/foo.cc:21:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
            ^
/in/foo.cc:21:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
              ^
/in/foo.cc: In function 'bool bfs1(int)':
/in/foo.cc:80:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip;
          ^
/in/foo.cc:80:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip;
            ^
/in/foo.cc:80:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip;
              ^
/in/foo.cc: In function 'bool bfs2(int)':
/in/foo.cc:120:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
          ^
/in/foo.cc:120:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
            ^
/in/foo.cc:120:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,ip,ie;
              ^
/in/foo.cc: In function 'bool solve(int)':
/in/foo.cc:347:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
              for(j=0;j<nc[to-n-1];j++)
              ^~~
/in/foo.cc:349:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
        to=ip;
        ^~
/in/foo.cc:184:10: warning: unused variable 's' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to;
          ^
/in/foo.cc:184:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to;
            ^
/in/foo.cc:184:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to;
              ^
/in/foo.cc:184:28: warning: unused variable 'from' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to;
                            ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:401:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(s=0;s<n;s++) 
   ^~~
/in/foo.cc:407:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     printf("%d\n",i);
     ^~~~~~
/in/foo.cc:364:6: warning: unused variable 'a' [-Wunused-variable]
  int a,b;
      ^
/in/foo.cc:364:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b;
        ^
/in/foo.cc:366:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q;
            ^
/in/foo.cc:366:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q;
              ^
# 状态 耗时 内存占用
#1 Accepted 7ms 384.0 KiB
#2 Accepted 250ms 352.0 KiB
#3 Accepted 177ms 360.0 KiB
#4 Accepted 253ms 368.0 KiB
#5 Accepted 199ms 256.0 KiB
#6 Accepted 199ms 472.0 KiB
#7 Accepted 198ms 256.0 KiB
#8 Accepted 215ms 364.0 KiB
#9 Accepted 204ms 384.0 KiB
#10 Accepted 135ms 352.0 KiB
#11 Accepted 13ms 460.0 KiB
#12 Accepted 12ms 256.0 KiB
#13 Accepted 13ms 384.0 KiB
#14 Accepted 14ms 368.0 KiB
#15 Accepted 254ms 364.0 KiB
#16 Accepted 173ms 360.0 KiB
#17 Accepted 203ms 340.0 KiB
#18 Accepted 174ms 256.0 KiB
#19 Accepted 226ms 384.0 KiB
#20 Accepted 216ms 376.0 KiB

信息

递交者
类型
递交
题目
P1961 模拟电路
语言
C++
递交时间
2018-07-05 01:57:03
评测时间
2018-07-05 01:57:03
评测机
分数
100
总耗时
3143ms
峰值内存
472.0 KiB