/ fz_zsl /

记录详情

Time Exceeded

/in/foo.cc: In function 'int gi()':
/in/foo.cc:8:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 inline int gi(void) {int num=0,mk=0;for(;*S<48||*S>57;((*S=='-')&&(mk=1)),++S);
                                     ^~~
/in/foo.cc:9:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;*S>47&&*S<58;num=(num<<3)+(num<<1)+(*S^48),++S);return mk?-num:num;
  ^~~
/in/foo.cc:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
/in/foo.cc:9:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;*S>47&&*S<58;num=(num<<3)+(num<<1)+(*S^48),++S);return mk?-num:num;
                                                       ^~~~~~
/in/foo.cc: In function 'long long int dij()':
/in/foo.cc:13:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while (!q.empty()) q.pop();q.push(make_pair(dis[0]=0,0)),inq[0]=true;
  ^~~~~
/in/foo.cc:13:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while (!q.empty()) q.pop();q.push(make_pair(dis[0]=0,0)),inq[0]=true;
                             ^
/in/foo.cc:16:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if (dis[cur]+e[i].val>=dis[ot]) continue;dis[ot]=dis[cur]+e[i].val;
    ^~
/in/foo.cc:16:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if (dis[cur]+e[i].val>=dis[ot]) continue;dis[ot]=dis[cur]+e[i].val;
                                             ^~~
/in/foo.cc: In function 'void sol()':
/in/foo.cc:25:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!typ) return puts("1"),void();return printf("%lld\n",1-ans>>1),void();
  ^~
/in/foo.cc:25:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (!typ) return puts("1"),void();return printf("%lld\n",1-ans>>1),void();
                                    ^~~~~~
/in/foo.cc:25:60: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
  if (!typ) return puts("1"),void();return printf("%lld\n",1-ans>>1),void();
                                                           ~^~~~
# 状态 耗时 内存占用
#1 Accepted 18ms 17.48 MiB
#2 Wrong Answer 18ms 17.367 MiB
#3 Wrong Answer 18ms 17.277 MiB
#4 Wrong Answer 18ms 15.758 MiB
#5 Wrong Answer 18ms 16.355 MiB
#6 Wrong Answer 16ms 16.035 MiB
#7 Wrong Answer 17ms 16.035 MiB
#8 Wrong Answer 17ms 16.602 MiB
#9 Wrong Answer 19ms 17.137 MiB
#10 Wrong Answer 18ms 16.398 MiB
#11 Wrong Answer 19ms 16.402 MiB
#12 Wrong Answer 17ms 16.238 MiB
#13 Wrong Answer 16ms 20.434 MiB
#14 Time Exceeded ≥3000ms ≥174.371 MiB
#15 Time Exceeded ≥3001ms ≥174.371 MiB
#16 Time Exceeded ≥3000ms ≥174.363 MiB
#17 Time Exceeded ≥3001ms ≥182.152 MiB
#18 Time Exceeded ≥3002ms ≥182.156 MiB
#19 Time Exceeded ≥3001ms ≥182.156 MiB
#20 Time Exceeded ≥3005ms ≥182.133 MiB

信息

递交者
类型
递交
题目
P1001 「2020-02-14 省选模拟赛」传送 (teleport)
语言
C++
递交时间
2020-02-15 15:05:12
评测时间
2020-02-15 17:06:36
评测机
分数
5
总耗时
≥21247ms
峰值内存
≥182.156 MiB