/ Vijos /

记录详情

Accepted

foo.cc: In constructor ‘Maxclique::ColorClass::ColorClass()’:
foo.cc:44:13: warning: ‘Maxclique::ColorClass::sz’ will be initialized after [-Wreorder]
   44 |         int sz;
      |             ^~
foo.cc:43:14: warning:   ‘int* Maxclique::ColorClass::i’ [-Wreorder]
   43 |         int *i;
      |              ^
foo.cc:47:9: warning:   when initialized here [-Wreorder]
   47 |         ColorClass() : sz(0), i(0) {}
      |         ^~~~~~~~~~
foo.cc: In constructor ‘Maxclique::ColorClass::ColorClass(int)’:
foo.cc:44:13: warning: ‘Maxclique::ColorClass::sz’ will be initialized after [-Wreorder]
   44 |         int sz;
      |             ^~
foo.cc:43:14: warning:   ‘int* Maxclique::ColorClass::i’ [-Wreorder]
   43 |         int *i;
      |              ^
foo.cc:48:9: warning:   when initialized here [-Wreorder]
   48 |         ColorClass(const int sz) : sz(sz), i(0) { init(sz); }
      |         ^~~~~~~~~~
foo.cc: In constructor ‘Maxclique::Maxclique(const bool* const*, int, float)’:
foo.cc:74:26: warning: ‘Maxclique::Q’ will be initialized after [-Wreorder]
   74 |     ColorClass *C, QMAX, Q;
      |                          ^
foo.cc:74:20: warning:   ‘Maxclique::ColorClass Maxclique::QMAX’ [-Wreorder]
   74 |     ColorClass *C, QMAX, Q;
      |                    ^~~~
foo.cc:114:1: warning:   when initialized here [-Wreorder]
  114 | Maxclique::Maxclique(const bool *const *conn, const int sz, const float tt) : pk(0), level(1), Tlimit(tt), V(sz), Q(sz), QMAX(sz)
      | ^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 5ms 740.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 6ms 536.0 KiB
#5 Accepted 9ms 536.0 KiB
#6 Accepted 8ms 536.0 KiB
#7 Accepted 9ms 536.0 KiB
#8 Accepted 9ms 536.0 KiB
#9 Accepted 10ms 764.0 KiB
#10 Accepted 12ms 636.0 KiB

信息

递交者
类型
递交
题目
P1593 部落卫队
语言
C++
递交时间
2024-05-10 06:11:24
评测时间
2024-05-10 06:11:24
评测机
分数
100
总耗时
77ms
峰值内存
764.0 KiB