For this Question: Given an integer, print whether that integer is a prime number or not.First line of input contains an integer T, showing the number of test cases. Every test case is a single integer A. 

Constraints
1 <= T <= 100
1 <= A <= 10^8If the given integer is prime, print 'Yes', else print 'No'.Sample Input
3
5
9 
13

Output
Yes
No
Yes, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
int main(){

int t;
cin>>t;
while(t--){
    long long n,k;
    cin>>n;
    long x=sqrt(n);
    int cnt=0;
    vector<int> v;
    for(long long i=2;i<=x;i++){
        if(n%i==0){
        cout<<"No"<<endl;
goto f;
    }}
    cout<<"Yes"<<endl;
    f:;
}
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?