title: Get the key equal (if key exists in the map) or strictly less than given input in a map
body: <p>I am taking <code>numberOfItems</code> number of keys as input and putting them in a map like this:</p>
  
  <pre><code>int numberOfItems;
  int query;
  scanf("%d",&amp;numberOfItems);
  int temp;
  map&lt;int,int&gt; iimap;
  for(int i=0;i&lt;numberOfItems;i++)
  {
      scanf("%d",&amp;temp);
      iimap.insert(make_pair(temp,1));
  }
  printf("Enter query: ");
  scanf("%d",&amp;query);
  int VstrictlyLessOrEqual = FstrictlyLessOrEqual(query);
  </code></pre>
  
  <p>I set the default key for each input = 1; So, the non-existent key has value =0 .</p>
  
  <blockquote>
    <p>6 100 5 4 3 2 1 50</p>
  </blockquote>
  
  <p>For this input (the first input 6 is <code>numberOfItems</code> &amp; the last input 50 is <code>query</code>) <code>FstrictlyLessOrEqual()</code> should return value 5</p>