Problem | learning |
---|---|
User | KingKav199 |
Submission Time | 2023-12-27 09:13:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
learning.cpp: In function ‘int32_t main()’:
learning.cpp:22:9: error: reference to ‘ws’ is ambiguous
22 | ws.pb(w);
| ^~
In file included from /usr/include/c++/9/istream:991,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from learning.cpp:1:
/usr/include/c++/9/bits/istream.tcc:1024:5: note: candidates are: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)’
1024 | ws(basic_istream<_CharT, _Traits>& __in)
| ^~
learning.cpp:7:13: note: ‘std::vector<long long int> ws’
7 | vector<int> ws;
| ^~
learning.cpp:25:18: error: reference to ‘ws’ is ambiguous
2