/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool zergling(int, int, int)':
/in/foo.cc:26:18: warning: unused variable 'j' [-Wunused-variable]
  int nx,ny,x,y,i,j; 
                  ^
/in/foo.cc: In function 'void bf(int, int)':
/in/foo.cc:176:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=temp1;i<=temp2;i++)
   ^~~
/in/foo.cc:192:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     temp1=temp2+1;
     ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:229:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
       else
       ^~~~
/in/foo.cc:231:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  return 0;
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 496.0 KiB
#2 Accepted 3ms 492.0 KiB
#3 Accepted 14ms 860.0 KiB
#4 Accepted 73ms 2.352 MiB
#5 Accepted 3ms 360.0 KiB

信息

递交者
类型
递交
题目
P1766 1 marine VS 2 zergling
语言
C++
递交时间
2018-08-29 21:44:40
评测时间
2018-08-29 21:44:40
评测机
分数
100
总耗时
100ms
峰值内存
2.352 MiB