/in/foo.cc: In function 'int main()':
/in/foo.cc:11:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",x);
               ^
/in/foo.cc:15:13: error: could not convert 'q.std::set<_Key, _Compare, _Alloc>::find<int, std::less<int>, std::allocator<int> >((m - i))' from 'std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}' to 'bool'
   if (q.find(m-i)){
       ~~~~~~^~~~~
/in/foo.cc:19:70: error: 'prinf' was not declared in this scope
  prinf("Goodbye, sunshine. The light that you give me will everglow.");
                                                                      ^