/ SUOI /

记录详情

Time Exceeded

/in/foo.cc: In function 'int ask1(int, int)':
/in/foo.cc:17:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int j=y;j;j-=j&-j) res+=c[i][j];return res;
   ^~~
/in/foo.cc:17:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int j=y;j;j-=j&-j) res+=c[i][j];return res;
                                       ^~~~~~
/in/foo.cc:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=x;i;i-=i&-i)
  ^~~
/in/foo.cc:17:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int j=y;j;j-=j&-j) res+=c[i][j];return res;
                                       ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 128ms 46.297 MiB
#2 Accepted 136ms 48.25 MiB
#3 Accepted 103ms 30.375 MiB
#4 Accepted 136ms 54.25 MiB
#5 Accepted 976ms 380.441 MiB
#6 Accepted 991ms 378.375 MiB
#7 Accepted 986ms 382.375 MiB
#8 Accepted 986ms 380.262 MiB
#9 Accepted 993ms 382.0 MiB
#10 Time Exceeded ≥1003ms ≥382.016 MiB

信息

递交者
类型
递交
题目
#19 显示屏
语言
C++
递交时间
2017-11-30 13:41:13
评测时间
2017-11-30 13:41:13
评测机
分数
90
总耗时
≥6441ms
峰值内存
≥382.375 MiB