Language: C++

#include"bits/stdc++.h" #include<boost/multi_array.hpp> #include<boost/optional.hpp> #include<boost/range/irange.hpp> #include<boost/range/algorithm.hpp> #include<boost/range/adaptors.hpp>

namespace adaptor = boost::adaptors;

void Main()
{
	int N;
    cin >> N;
    if (N%10 == 3){
    	cout << bon << endl;
    }else if (N%10 == 0){ 
    	cout << pon << endl;
    }else if (N%10 == 1){ 
    	cout << pon << endl;
    }else if (N%10 == 6){ 
    	cout << pon << endl;
    }else if (N%10 == 8){ 
    	cout << pon << endl;
    }else{
    	cout << hon << endl;
    }
}

int main()
{
	std::cin.tie(nullptr);
	std::ios_base::sync_with_stdio(false);
	std::cout << std::fixed << std::setprecision(15);
	Main();
}

Compiler output:
a.cc:1:25: warning: extra tokens at end of #include directive
    1 | #include"bits/stdc++.h" #include<boost/multi_array.hpp> #include<boost/optional.hpp> #include<boost/range/irange.hpp> #include<boost/range/algorithm.hpp> #include<boost/range/adaptors.hpp>
      |                         ^
a.cc:3:21: error: 'boost' has not been declared
    3 | namespace adaptor = boost::adaptors;
      |                     ^~~~~
a.cc:3:28: error: 'adaptors' is not a namespace-name
    3 | namespace adaptor = boost::adaptors;
      |                            ^~~~~~~~
a.cc: In function 'void Main()':
a.cc:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |     cin >> N;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << bon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:17: error: 'bon' was not declared in this scope
   10 |         cout << bon << endl;
      |                 ^~~
a.cc:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         cout << bon << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |         cout << pon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:17: error: 'pon' was not declared in this scope; did you mean 'pow'?
   12 |         cout << pon << endl;
      |                 ^~~
      |                 pow
a.cc:12:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |         cout << pon << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << pon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:17: error: 'pon' was not declared in this scope; did you mean 'pow'?
   14 |         cout << pon << endl;
      |                 ^~~
      |                 pow
a.cc:14:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |         cout << pon << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout << pon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:17: error: 'pon' was not declared in this scope; did you mean 'pow'?
   16 |         cout << pon << endl;
      |                 ^~~
      |                 pow
a.cc:16:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   16 |         cout << pon << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:18:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |         cout << pon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:18:17: error: 'pon' was not declared in this scope; did you mean 'pow'?
   18 |         cout << pon << endl;
      |                 ^~~
      |                 pow
a.cc:18:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |         cout << pon << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:20:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 |         cout << hon << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:17: error: 'hon' was not declared in this scope
   20 |         cout << hon << endl;
      |                 ^~~
a.cc:20:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   20 |         cout << hon << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~