Problem | uniquenumbers |
---|---|
User | Stefan |
Submission Time | 2025-02-22 11:19:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:8:10: error: two or more data types in declaration of ‘numbers’
8 | set int numbers;
| ^~~~~~~
uniquenumbers.cpp:10:17: error: no match for ‘operator>>’ (operand types are ‘<unresolved overloaded function type>’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
10 | string x; sin >> x;
| ~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from uniquenumbers.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(std::byte, _IntegerType)’
140 | operator>>(byte __b, _IntegerType __shift) noexcept
| ^~~~~~~~
/usr/include/c++/9/cstddef:140:5: note: template argument deduction/substitution failed:
uniquenumbers.cpp:10:20: note: cannot