Problem uniquenumbers
User itchydeez
Submission Time 2023-11-20 14:11:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:10:5: error: ‘class std::set<int>’ has no member named ‘push’
10 | s.push(x);
| ^~~~
uniquenumbers.cpp:12:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | while (s.empty()=="False"){
| ^~~~~~~
uniquenumbers.cpp:14:5: error: ‘class std::set<int>’ has no member named ‘pop’
14 | s.pop();
| ^~~