Problem uniquenumbers_easy
User MCSG
Submission Time 2025-06-18 15:18:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers_easy.cpp: In function ‘int main()’:
uniquenumbers_easy.cpp:15:9: error: cannot convert ‘std::set<long long int>::size’ from type ‘std::set<long long int>::size_type (std::set<long long int>::)() const noexcept’ {aka ‘long unsigned int (std::set<long long int>::)() const noexcept’} to type ‘long long int’
15 | len=a.size;
| ^~~~
uniquenumbers_easy.cpp:17:11: error: expected ‘;’ before ‘}’ token
17 | cout<<len
| ^
| ;
18 | }
| ~