For this Question: Given an integer array <strong>arr[]</strong> of size <strong>N</strong> and an element <strong>X</strong>. The task is to find and print the indices of the given element if it is present in array if not then print “<strong>Not found</strong>” without quotes. 

<strong>Note</strong>: The elements may be present more than once.The first line of input contains T, denoting the number of test cases. 
The first line of each test case contains N and X, N is the size of array and X is an element. Second line contains elements of array space separated. If not present then print "Not found" without quotes

<strong>Constraints</strong>:
1 <= T <= 100
1 <= N, X <= 10000
1 <= arr[i] <= 100000For each test case in new line you need to print all the positions where you find the X separated by space.
Assume 0-indexingInput:
2
5 6
2 3 6 5 6
4 3
2 4 6 5

Output:
2 4
Not found, I have written this Solution Code: #include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
 
#define int long long int
#define ld long double
#define pi pair<int, int>
#define pb push_back
#define fi first
#define se second
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#ifndef LOCAL
#define endl '\n'
#endif
 
const int N = 2e5 + 5;
const int mod = 1e9 + 7;
const int inf = 1e9 + 9;

signed main() {
	IOS;
	int t;	cin >> t;
	while(t--){
		vector<int> v;
		int n, x;	cin >> n >> x;
		for(int i = 1; i <= n; i++){
			int p;	cin >> p;
			if(p == x)
				v.push_back(i-1);
		}
		if(v.size() == 0)
			cout << "Not found\n";
		else{
			for(auto i: v)
				cout << i << " ";
			cout << endl;
		}
	}	
	return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?