/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void sssp::Dij(int)':
/in/foo.cc:18:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define FORR(i,a,b) for(register int i=(a);i<=(b);++i)
                     ^
/in/foo.cc:64:5: note: in expansion of macro 'FORR'
     FORR(i,1,n) d[i]=INF; d[s]=0;
     ^~~~
/in/foo.cc:64:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     FORR(i,1,n) d[i]=INF; d[s]=0;
                           ^
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 456.0 KiB

信息

递交者
类型
递交
题目
P1119 Car的旅行路线
语言
C++
递交时间
2019-10-22 21:48:40
评测时间
2019-10-22 21:48:40
评测机
分数
100
总耗时
7ms
峰值内存
456.0 KiB