Language: C++

#include<stdio.h>
#include<iostream>
#include<string>
#include<vector>
#include<map>
#include<algorithm>
#include<cmath>
#include<bitset>
 
#define Vsort(a) sort(a.begin(), a.end())
#define Vreverse(a) reverse(a.begin(), a.end())
#define Srep(n) for(int i = 0; i < (n); i++)
#define Lrep(i,a,n) for(int i = (a); i < (n); i++)
#define Brep(n) for(int bit = 0; bit < (1<<n); bit++)
#define rep2nd(n,m) Srep(n) Lrep(j,0,m)
#define vi vector<int>
#define vi64 vector<int64_t>
#define vvi vector<vector<int>>
#define vvi64 vector<vector<int64_t>>
#define P pair<int,int>
#define F first
#define S second

int main(){
  vi input(3);
  Srep(3) cin >> input[i];
  Vsort(input);
  if((input[0] == 5)&&(input[1] == 5)&&(input[2] == 7)) cout << "YES" << endl;
  else cout << "NO" << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: 'vector' was not declared in this scope
   16 | #define vi vector<int>
      |            ^~~~~~
a.cc:25:3: note: in expansion of macro 'vi'
   25 |   vi input(3);
      |   ^~
a.cc:16:12: note: suggested alternatives:
   16 | #define vi vector<int>
      |            ^~~~~~
a.cc:25:3: note: in expansion of macro 'vi'
   25 |   vi input(3);
      |   ^~
In file included from /usr/include/c++/14/vector:66,
                 from a.cc:4:
/usr/include/c++/14/bits/stl_vector.h:428:11: note:   'std::vector'
  428 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
/usr/include/c++/14/vector:93:13: note:   'std::pmr::vector'
   93 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
a.cc:16:19: error: expected primary-expression before 'int'
   16 | #define vi vector<int>
      |                   ^~~
a.cc:25:3: note: in expansion of macro 'vi'
   25 |   vi input(3);
      |   ^~
a.cc:26:11: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   26 |   Srep(3) cin >> input[i];
      |           ^~~
      |           std::cin
In file included from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:26:18: error: 'input' was not declared in this scope; did you mean 'int'?
   26 |   Srep(3) cin >> input[i];
      |                  ^~~~~
      |                  int
a.cc:27:9: error: 'input' was not declared in this scope; did you mean 'int'?
   27 |   Vsort(input);
      |         ^~~~~
a.cc:10:23: note: in definition of macro 'Vsort'
   10 | #define Vsort(a) sort(a.begin(), a.end())
      |                       ^
a.cc:10:18: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
   10 | #define Vsort(a) sort(a.begin(), a.end())
      |                  ^~~~
a.cc:27:3: note: in expansion of macro 'Vsort'
   27 |   Vsort(input);
      |   ^~~~~
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:6:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
a.cc:28:57: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   28 |   if((input[0] == 5)&&(input[1] == 5)&&(input[2] == 7)) cout << "YES" << 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:28:74: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   28 |   if((input[0] == 5)&&(input[1] == 5)&&(input[2] == 7)) cout << "YES" << endl;
      |                                                                          ^~~~
      |                                                                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:29:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   29 |   else cout << "NO" << 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:29:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   29 |   else cout << "NO" << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~