foo.cc:153:12: error: ISO C++ forbids in-class initialization of non-const static member 'Solution::fast_io'
153 | static int fast_io = [](){
| ^~~~~~~
foo.cc:158:2: error: call to non-'constexpr' function 'Solution::<lambda()>'
153 | static int fast_io = [](){
| ~~~~~
154 | std::ios::sync_with_stdio(false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | cin.tie(nullptr);
| ~~~~~~~~~~~~~~~~~
156 | cout.tie(nullptr);
| ~~~~~~~~~~~~~~~~~~
157 | return 0;
| ~~~~~~~~~
158 | }();
| ~^~
foo.cc:153:22: note: 'Solution::<lambda()>' is not usable as a 'constexpr' function because:
153 | static int fast_io = [](){
| ^
foo.cc:153:22: note: lambdas are implicitly 'constexpr' only in C++17 and later
foo.cc:165:2: error: expected '}' at end of input
165 | }
| ^
foo.cc:4:16: note: to match this '{'
4 | class Solution {
| ^
foo.cc:165:2: error: expected unqualified-id at end of input
165 | }
| ^
[Hydro](https://hydro.ac)提供评测服务