Language: C++

#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
#define fori(n) for(int i=0;i<n;i++)
#define pb push_back


ll power(ll base,ll e)
{
    ll answer=1;
    //ll e=1000000005;
    while(e)
    {
        if(e%2==1)
        {
            answer*=base;
        }
        base*=base;
       // base%=mod;
        e/=2;
       // answer%=mod;
    }
    return answer;
}


void sieveprimes(ll n)
{
    bool prime[n+1];
    memset(prime,true,sizeof(prime));

    for(ll i=2;i*i<=n;i++)
    {
        if(prime[i]==true)
        {
            for(ll j=i*i;j<=n;j+=i)
            {
                prime[j]=false;
            }

        }

    }

    /*for (int p=2; p<=n; p++)
       if (prime[p])
          cout << p << " ";*/
    /*for(ll i=2;i<=n;i++)
    {
        if(prime[i])    ans.insert(i*i);
    }*/
}


int main()
{

   string s;
   cin>>s;
   int flag=0;
   for(int i=0;i<s.length();i++)
   {
       if(s[i]=='7')
       {
           flag  = 1;
           break;
       }#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
#define fori(n) for(int i=0;i<n;i++)
#define pb push_back


ll power(ll base,ll e)
{
    ll answer=1;
    //ll e=1000000005;
    while(e)
    {
        if(e%2==1)
        {
            answer*=base;
        }
        base*=base;
       // base%=mod;
        e/=2;
       // answer%=mod;
    }
    return answer;
}

set<ll> ans;

void sieveprimes(ll n)
{
    bool prime[n+1];
    memset(prime,true,sizeof(prime));

    for(ll i=2;i*i<=n;i++)
    {
        if(prime[i]==true)
        {
            for(ll j=i*i;j<=n;j+=i)
            {
                prime[j]=false;
            }

        }

    }

    /*for (int p=2; p<=n; p++)
       if (prime[p])
          cout << p << " ";*/
    for(ll i=2;i<=n;i++)
    {
        if(prime[i])    ans.insert(i*i);
    }
}


int main()
{

    ll n;
    cin>>n;
    int sum=0;
    for(int i=1;i<=n;i++)
    {
        if(i%3!=0 || i%5!=0)    sum+=i;
    }
    cout<<sum<<endl;
    return 0;
}


   }
   if(flag==1) cout<<"Yes"<<endl;
   else cout<<"No"<<endl;

}


Compiler output:
a.cc:68:9: error: stray '#' in program
   68 |        }#include <bits/stdc++.h>
      |         ^
a.cc: In function 'int main()':
a.cc:68:10: error: 'include' was not declared in this scope
   68 |        }#include <bits/stdc++.h>
      |          ^~~~~~~
a.cc:68:19: error: 'bits' was not declared in this scope
   68 |        }#include <bits/stdc++.h>
      |                   ^~~~
a.cc:68:24: error: 'stdc' was not declared in this scope; did you mean 'std'?
   68 |        }#include <bits/stdc++.h>
      |                        ^~~~
      |                        std
a.cc:69:1: error: expected primary-expression before 'using'
   69 | using namespace std;
      | ^~~~~
a.cc:77:1: error: a function-definition is not allowed here before '{' token
   77 | {
      | ^
a.cc:97:1: error: a function-definition is not allowed here before '{' token
   97 | {
      | ^
a.cc:124:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
  124 | int main()
      |         ^~
a.cc:124:9: note: remove parentheses to default-initialize a variable
  124 | int main()
      |         ^~
      |         --
a.cc:124:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:125:1: error: a function-definition is not allowed here before '{' token
  125 | {
      | ^