/ Vijos /

记录详情

Accepted

/in/foo.cc:6:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(linker, "/STACK:36777216")
 
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::array<_Tp, _Nm>&)':
/in/foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define REP(i, n) for (int i=0;i<n;++i)
                   ^
/in/foo.cc:224:5: note: in expansion of macro 'REP'
     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
     ^~~
/in/foo.cc:224:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
                                     ^~
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::vector<_Tp>&)':
/in/foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define REP(i, n) for (int i=0;i<n;++i)
                   ^
/in/foo.cc:228:5: note: in expansion of macro 'REP'
     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
     ^~~
/in/foo.cc:228:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
                                         ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 1ms 360.0 KiB
#4 Accepted 2ms 592.0 KiB
#5 Accepted 2ms 460.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2023-06-06 20:12:10
评测时间
2023-06-06 20:12:10
评测机
分数
98
总耗时
13ms
峰值内存
592.0 KiB