Language: C++

#define INF 2147483647//int max
const int MOD = 1000000007;
using namespace std;
using ll = long long;
using P = pair<int,int>;


int main() {
  string S;
  cin >> S;
  if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
    cout<<"Yes";
  }
  else{
    cout<<"No";
  }
  return 0;
}

Compiler output:
a.cc:5:11: error: 'pair' does not name a type
    5 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'string' was not declared in this scope
    9 |   string S;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #define INF 2147483647//int max
a.cc:10:3: error: 'cin' was not declared in this scope
   10 |   cin >> S;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #define INF 2147483647//int max
a.cc:10:10: error: 'S' was not declared in this scope
   10 |   cin >> S;
      |          ^
a.cc:11:9: error: 'hi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |         ^~
a.cc:11:17: error: 'hihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                 ^~~~
a.cc:11:27: error: 'hihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                           ^~~~~~
a.cc:11:39: error: 'hihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                       ^~~~~~~~
a.cc:11:53: error: 'hihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                     ^~~~~~~~~~
a.cc:11:69: error: 'hihihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                                     ^~~~~~~~~~~~
a.cc:11:87: error: 'hihihihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                                                       ^~~~~~~~~~~~~~
a.cc:11:107: error: 'hihihihihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                                                                           ^~~~~~~~~~~~~~~~
a.cc:11:129: error: 'hihihihihihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                                                                                                 ^~~~~~~~~~~~~~~~~~
a.cc:11:153: error: 'hihihihihihihihihihi' was not declared in this scope
   11 |   if (S=hi || S=hihi || S=hihihi || S=hihihihi || S=hihihihihi || S=hihihihihihi || S=hihihihihihihi || S=hihihihihihihihi || S=hihihihihihihihihi || S=hihihihihihihihihihi){
      |                                                                                                                                                         ^~~~~~~~~~~~~~~~~~~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout<<"Yes";
      |     ^~~~
a.cc:12:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout<<"No";
      |     ^~~~
a.cc:15:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'