Language: C++

#include<iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main(){

??????vector<int> data;

    for(int i=0;i<10;i++)
    {
       int input;
       cin>>input;
       data.push_back(input);
    }
    
    sort(data.begin,data.end,grater<int>());
    
    for(int i=0,i<3;i++)
    {
       cout<<data[i]<<endl;
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      | ^
a.cc:8:2: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      |  ^
a.cc:8:3: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      |   ^
a.cc:8:4: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      |    ^
a.cc:8:5: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      |     ^
a.cc:8:6: error: expected primary-expression before '?' token
    8 | ??????vector<int> data;
      |      ^
a.cc:8:19: error: expected primary-expression before 'data'
    8 | ??????vector<int> data;
      |                   ^~~~
a.cc:8:18: error: expected ':' before 'data'
    8 | ??????vector<int> data;
      |                  ^~~~~
      |                  :
a.cc:8:23: error: expected ':' before ';' token
    8 | ??????vector<int> data;
      |                       ^
      |                       :
a.cc:8:23: error: expected primary-expression before ';' token
a.cc:8:23: error: expected ':' before ';' token
    8 | ??????vector<int> data;
      |                       ^
      |                       :
a.cc:8:23: error: expected primary-expression before ';' token
a.cc:8:23: error: expected ':' before ';' token
    8 | ??????vector<int> data;
      |                       ^
      |                       :
a.cc:8:23: error: expected primary-expression before ';' token
a.cc:8:23: error: expected ':' before ';' token
    8 | ??????vector<int> data;
      |                       ^
      |                       :
a.cc:8:23: error: expected primary-expression before ';' token
a.cc:8:23: error: expected ':' before ';' token
    8 | ??????vector<int> data;
      |                       ^
      |                       :
a.cc:8:23: error: expected primary-expression before ';' token
a.cc:14:13: error: overloaded function with no contextual type information
   14 |        data.push_back(input);
      |             ^~~~~~~~~
a.cc:17:15: error: overloaded function with no contextual type information
   17 |     sort(data.begin,data.end,grater<int>());
      |               ^~~~~
a.cc:17:26: error: overloaded function with no contextual type information
   17 |     sort(data.begin,data.end,grater<int>());
      |                          ^~~
a.cc:17:30: error: 'grater' was not declared in this scope
   17 |     sort(data.begin,data.end,grater<int>());
      |                              ^~~~~~
a.cc:17:37: error: expected primary-expression before 'int'
   17 |     sort(data.begin,data.end,grater<int>());
      |                                     ^~~
a.cc:19:18: error: expected ';' before '<' token
   19 |     for(int i=0,i<3;i++)
      |                  ^
      |                  ;
a.cc:19:18: error: expected primary-expression before '<' token
a.cc:21:18: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
   21 |        cout<<data[i]<<endl;
      |                  ^