/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void Dij(int, Edge*)':
/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:61:3: note: in expansion of macro 'FORR'
   FORR(i,1,n) d[i]=INF; d[s]=0;
   ^~~~
/in/foo.cc:61:25: 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 192.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 2ms 456.0 KiB
#6 Accepted 3ms 592.0 KiB
#7 Accepted 3ms 588.0 KiB
#8 Accepted 2ms 340.0 KiB
#9 Accepted 2ms 324.0 KiB
#10 Accepted 3ms 584.0 KiB

信息

递交者
类型
递交
题目
P1155 集合位置
语言
C++
递交时间
2019-11-08 10:12:54
评测时间
2019-11-08 10:12:54
评测机
分数
100
总耗时
22ms
峰值内存
592.0 KiB