/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!D[i]) q.push(i);tmp=n;
  ^~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (!D[i]) q.push(i);tmp=n;
                       ^~~
/in/foo.cc:18:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (int i=1;i<=n;i++)
  ^~~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  if (!D[i]) q.push(i);tmp=n;
                       ^~~
/in/foo.cc:23:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j=0;j<G[now].size();j++){
                ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 3.094 MiB
#2 Accepted 2ms 2.531 MiB
#3 Accepted 2ms 2.594 MiB
#4 Accepted 3ms 3.348 MiB
#5 Accepted 2ms 3.297 MiB
#6 Accepted 3ms 2.594 MiB
#7 Accepted 3ms 2.582 MiB
#8 Accepted 38ms 4.352 MiB
#9 Accepted 49ms 4.84 MiB
#10 Accepted 36ms 4.586 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2019-07-23 18:12:21
评测时间
2019-07-23 18:12:21
评测机
分数
100
总耗时
145ms
峰值内存
4.84 MiB