Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define mod 1000000007
#define vlli vector<ll>
#define vi vector<int>
#define vs vector<string>
#define vplli vector< pair< ll,ll> >
#define plli pair< ll,ll >
#define vps vector< pair< string, string> >
#define vpi vector< pair< int, int> >
#define all(x) x.begin(), x.end()
#define fast ios::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define forn(i,n) for(ll i=0;i<n;i++)
#define print(arr,a,n) for(ll i=(a);i<(n);i++)cout<<(arr)[i]<<" ";

ll mx = 1002;

int main(){
    fast;
    #ifndef ONLINE_JUDGE
    freopen("input1.txt","r",stdin);
    freopen("output1.txt","w",stdout);
    #endif
    ll n;
    cin>>n;
    ll a[n],i,b[mx]={};

    forn(i,n){
        cin>>a[i];
        if(b[a[i]] == 0){
            for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define mod 1000000007
#define vlli vector<ll>
#define vi vector<int>
#define vs vector<string>
#define vplli vector< pair< ll,ll> >
#define plli pair< ll,ll >
#define vps vector< pair< string, string> >
#define vpi vector< pair< int, int> >
#define all(x) x.begin(), x.end()
#define fast ios::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define forn(i,n) for(ll i=0;i<n;i++)
#define print(arr,a,n) for(ll i=(a);i<(n);i++)cout<<(arr)[i]<<" ";

ll mx = 1000002;

int main(){
    fast;
    #ifndef ONLINE_JUDGE
    freopen("input1.txt","r",stdin);
    freopen("output1.txt","w",stdout);
    #endif
    ll n;
    cin>>n;
    ll a[n],i,b[mx]={};

    forn(i,n){
        cin>>a[i];
        if(b[a[i]] == 0){
            b[a[i]]=-1;
            for(ll j=2*a[i];j<mx;j+=a[i]){
                b[j]=1;
            }
        }
        else if(b[a[i]]==-1)b[a[i]]=1;
    }
    ll ans=0;
    forn(i,n){
        if(b[a[i]]==-1)ans++;
    }
    cout<<ans<<endl;

}=a[i]){
                b[j]=1;
            }
        }
    }
    ll ans=0;
    forn(i,n){
        if(b[a[i]]==0)ans++;
    }
    cout<<ans<<endl;

}

Compiler output:
a.cc:36:36: error: stray '#' in program
   36 |             for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
      |                                    ^
a.cc: In function 'int main()':
a.cc:36:37: error: 'include' was not declared in this scope
   36 |             for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
      |                                     ^~~~~~~
a.cc:36:45: error: 'bits' was not declared in this scope
   36 |             for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
      |                                             ^~~~
a.cc:36:50: error: 'stdc' was not declared in this scope; did you mean 'std'?
   36 |             for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
      |                                                  ^~~~
      |                                                  std
a.cc:37:1: error: expected primary-expression before 'using'
   37 | using namespace std;
      | ^~~~~
a.cc:36:59: error: expected ')' before 'using'
   36 |             for(ll j=2*a[i];j<mx;j+#include<bits/stdc++.h>
      |                ~                                          ^
      |                                                           )
   37 | using namespace std;
      | ~~~~~                                                      
a.cc:58:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   58 | int main(){
      |         ^~
a.cc:58:9: note: remove parentheses to default-initialize a variable
   58 | int main(){
      |         ^~
      |         --
a.cc:58:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:58:11: error: a function-definition is not allowed here before '{' token
   58 | int main(){
      |           ^
a.cc:84:2: error: expected primary-expression before '=' token
   84 | }=a[i]){
      |  ^