| Problem | uniquenumbers |
|---|---|
| User | IanGohYifeng |
| Submission Time | 2026-11-08 11:35:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:10:23: error: expected ‘)’ before ‘;’ token
10 | for(int i=0; i<N; i++;){
| ~ ^
| )
uniquenumbers.cpp:10:24: error: expected primary-expression before ‘)’ token
10 | for(int i=0; i<N; i++;){
| ^
uniquenumbers.cpp:16:7: error: invalid use of non-static member function ‘std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::size() const [with _Key = std::__cxx11::basic_string<char>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::size_type = long unsigned int]’
16 | cout << s.size;
| ~~~~~^~~~~~~~~
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits