/ Vijos /

记录详情

Wrong Answer

foo.cc:6: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
    6 | #pragma comment(linker, "/STACK:36777216")
      | 
foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::array<_Tp, _Nm>&)':
foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 | #define REP(i, n) for (int i=0;i<n;++i)
      |                   ^~~
foo.cc:224:5: note: in expansion of macro 'REP'
  224 |     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
      |     ^~~
foo.cc:224:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  224 |     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
      |                                     ^~
foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::vector<_Tp>&)':
foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 | #define REP(i, n) for (int i=0;i<n;++i)
      |                   ^~~
foo.cc:228:5: note: in expansion of macro 'REP'
  228 |     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
      |     ^~~
foo.cc:228:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  228 |     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
      |                                         ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 4. 5ms 412.0 KiB
#2 Wrong Answer Read 300, expect 1019. 5ms 412.0 KiB
#3 Wrong Answer Read 0, expect 2. 3ms 412.0 KiB
#4 Wrong Answer Read 0, expect 1499. 4ms 412.0 KiB
#5 Wrong Answer Read 0, expect 860. 5ms 488.0 KiB
#6 Wrong Answer Read 0, expect 748584. 4ms 364.0 KiB
#7 Wrong Answer Read 0, expect 9. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2023-06-06 20:11:42
评测时间
2023-06-06 20:11:42
评测机
分数
0
总耗时
32ms
峰值内存
488.0 KiB