/ 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,ks=0;
          ^
/in/foo.cc:184:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to,ks=0;
            ^
/in/foo.cc:184:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to,ks=0;
              ^
/in/foo.cc:184:28: warning: unused variable 'from' [-Wunused-variable]
  int i,j,s,p,q,dx,dy,id,ip,from,to,ks=0;
                            ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:407:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(s=0;s<n;s++) 
   ^~~
/in/foo.cc:413: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:370:6: warning: unused variable 'a' [-Wunused-variable]
  int a,b;
      ^
/in/foo.cc:370:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b;
        ^
/in/foo.cc:372:12: warning: unused variable 'p' [-Wunused-variable]
  int i,j,s,p,q;
            ^
/in/foo.cc:372:14: warning: unused variable 'q' [-Wunused-variable]
  int i,j,s,p,q;
              ^
# 状态 耗时 内存占用
#1 Accepted 5ms 372.0 KiB
#2 Accepted 294ms 384.0 KiB
#3 Accepted 232ms 372.0 KiB
#4 Accepted 301ms 384.0 KiB
#5 Accepted 197ms 364.0 KiB
#6 Accepted 220ms 368.0 KiB
#7 Accepted 203ms 380.0 KiB
#8 Accepted 270ms 348.0 KiB
#9 Accepted 199ms 360.0 KiB
#10 Accepted 167ms 372.0 KiB
#11 Accepted 13ms 384.0 KiB
#12 Accepted 29ms 256.0 KiB
#13 Accepted 13ms 380.0 KiB
#14 Accepted 11ms 268.0 KiB
#15 Accepted 270ms 256.0 KiB
#16 Accepted 227ms 384.0 KiB
#17 Accepted 180ms 384.0 KiB
#18 Accepted 179ms 256.0 KiB
#19 Accepted 277ms 384.0 KiB
#20 Accepted 176ms 368.0 KiB

信息

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