Wrong anti-spam code

Formulation

The user input consists of positive integers. A negative number or 0 is the sign that the input is over. Create the program that prints the total number of different integers that the user has entered. Your code should replace the text // ??? // below.
#include<iostream>
#include "simple_set_and_map.cpp"
int main(){
   ssm::set<long> allNumbers;
   long x;
   std::cin>>x;
   while(x>0){
      allNumbers.insert(x);
      std::cin>>x;
   }
   // ??? //
   return 0;
}

Your submission


Picture
Prove that you are not a robot.