/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define f(a,b,c) for(int a=(b);a<=(c);a++)
                  ^
/in/foo.cc:84:1: note: in expansion of macro 'f'
 f(i,1,n) cout<<ans.s[i][1]<<" "; cout<<endl;
 ^
/in/foo.cc:84:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 f(i,1,n) cout<<ans.s[i][1]<<" "; cout<<endl;
                                  ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 4ms 1.0 MiB
#2 Runtime Error 2ms 1.07 MiB
#3 Runtime Error 3ms 896.0 KiB
#4 Runtime Error 3ms 896.0 KiB
#5 Runtime Error 2ms 1016.0 KiB
#6 Runtime Error 3ms 896.0 KiB
#7 Runtime Error 4ms 960.0 KiB
#8 Runtime Error 3ms 896.0 KiB
#9 Runtime Error 4ms 1.0 MiB
#10 Runtime Error 3ms 964.0 KiB

信息

递交者
类型
递交
题目
P1049 送给圣诞夜的礼品
语言
C++
递交时间
2017-07-02 19:35:16
评测时间
2017-07-02 19:35:16
评测机
分数
0
总耗时
37ms
峰值内存
1.07 MiB