/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int read()':
/in/foo.cc:6:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
  ^~~~~
/in/foo.cc:6:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
                                                     ^~~~~~
/in/foo.cc: In function 'int spfa(int, int)':
/in/foo.cc:21:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=ed;i++)dis[i]=inf,vis[i]=0; dis[st]=0,vis[st]=1; 
     ^~~
/in/foo.cc:21:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=1;i<=ed;i++)dis[i]=inf,vis[i]=0; dis[st]=0,vis[st]=1; 
                                                ^~~
/in/foo.cc:22:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!q.empty())q.pop(); q.push(st); int x,y;
     ^~~~~
/in/foo.cc:22:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(!q.empty())q.pop(); q.push(st); int x,y;
                               ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.293 MiB
#2 Accepted 648ms 4.25 MiB
#3 Accepted 211ms 2.25 MiB
#4 Accepted 10ms 2.453 MiB
#5 Accepted 6ms 2.5 MiB
#6 Accepted 34ms 2.504 MiB
#7 Accepted 146ms 4.5 MiB
#8 Accepted 554ms 5.25 MiB
#9 Accepted 991ms 6.957 MiB
#10 Accepted 1016ms 6.234 MiB

信息

递交者
类型
递交
题目
P1726 美食节
语言
C++
递交时间
2017-08-01 16:29:03
评测时间
2017-08-01 16:29:03
评测机
分数
100
总耗时
3625ms
峰值内存
6.957 MiB