In file included from iostream:39:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
inlined from 'int main()' at foo.cc:30:10:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ostream:202:25: warning: 'max_id' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:21:24: note: 'max_id' was declared here
21 | ll max_num = 0,max_id;
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务