Language: C++

#include <iostream>
#include <queue>
#include <vector>
#define INF 1000000001
using namespace std;
struct E{
	int rel,cost;
};
vector <E> grh[100000];
int v,e,r;

void dijkstra(){

	priority_queue < pair <int,int> > Q;
	int sum = 0;
	int d[100000];
	for(int i=0;i<v;i++) d[i] = INF;
	d[r] = 0;
	Q.push(make_pair(0,r));
	int s,f;
	while(!Q.empty()) {
		f = Q.top().first;
		s = Q.top().second;
		Q.pop();	??????????
		for(int i=0;i<grh[s].size();i++) {
			E e = grh[s][i];
			if(d[e.rel] > e.cost - f) {
				d[e.rel] = e.cost - f;
				Q.push(make_pair(-d[e.rel],e.rel));
			}
		}
	}
	for(int i=0;i<v;i++) {
		if(d[i] == INF ) cout << "INF"<<endl;
		else cout << d[i] << endl;
	}
}

int main() {
	cin >> v >> e >> r; 
	int a,b,c;
	for(int i=0;i<e;i++) {
		cin >> a >> b>> c;
		grh[a].push_back((E){b,c});
	}
	dijkstra();

	return 0;
}

Compiler output:
a.cc: In function 'void dijkstra()':
a.cc:24:33: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                 ^
a.cc:24:34: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                  ^
a.cc:24:35: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                   ^
a.cc:24:36: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                    ^
a.cc:24:37: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                     ^
a.cc:24:38: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                      ^
a.cc:24:39: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                       ^
a.cc:24:40: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                        ^
a.cc:24:41: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                         ^
a.cc:24:42: error: expected primary-expression before '?' token
   24 |                 Q.pop();        ??????????
      |                                          ^
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:24:43: error: expected ':' before 'for'
   24 |                 Q.pop();        ??????????
      |                                           ^
      |                                           :
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ~~~                        
a.cc:25:17: error: expected primary-expression before 'for'
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                 ^~~
a.cc:25:29: error: 'i' was not declared in this scope
   25 |                 for(int i=0;i<grh[s].size();i++) {
      |                             ^