criyle/codenet-compile-errors huggingface dataset:
Language: C

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

#define int long long
#define ff first
#define ss second
#define endl "\n"
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x.size())
int powmod(int a,int l, int md){a%=md; int res=1;while(l){if(l&1)res=res*a%md;l/=2;a=a*a%md;}return res;}
int binpow(int a,int l){int res=1;while(l){if(l&1)res=res*a;l/=2;a=a*a;}return res;}
int invmod(int a, int md){return powmod(a,md-2,md);}
typedef long long ll; typedef unsigned long long ull; typedef long double ld;
typedef vector<int> vi; typedef pair<int, int> ii; typedef vector< ii > vii;
#define pb push_back
int __set(int b, int i) {return b|(1LL<<i);} //set ith bit
int __unset(int b, int i) {return b&(~(1UL<<i));}
int __check(int b, int i) {return b&(1LL<<i);} //returns 0 if ith bit is 0
int mulmod(int a, int b, int md) {return (((a%md)*(b%md))%md+md)%md;}
int addmod(int a, int b, int md) {return ((a%md+b%md)%md+md)%md;}
int submod(int a, int b, int md) {return (((a%md-b%md)%md)+md)%md;}
int divmod(int a, int b, int md) {return mulmod(a, powmod(b, md-2, md), md);} //if md is prime;
const ll inf = 0xFFFFFFFFFFFFFFFL; //very large number
priority_queue<int, vector<int>, greater<int> > pq; //for min priority_queue
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);


signed main(void)
{
	IOS;
	string s; cin>>s;
	int no=1;
	if(s[0]=='7' || s[1]=='7' || s[2]=='7')
		no=0;
	if(no) cout<<"No"<<endl;
	else cout<<"Yes"<<endl;
	return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.Scanner;

public class Main {
	Scanner in = new Scanner(System.in);
  
	int n = in.nextInt();
  	while (n != 0) {
    	if (n%10 == 7) {
        	System.out.println("Yes");
          	break;
        }
        n /= 10;
    }
  
    System.out.println("No");
}

Compiler output:
Main.java:7: error: illegal start of type
  	while (n != 0) {
  	^
Main.java:7: error: <identifier> expected
  	while (n != 0) {
  	        ^
Main.java:15: error: <identifier> expected
    System.out.println("No");
                      ^
Main.java:15: error: illegal start of type
    System.out.println("No");
                       ^
4 errors
Language: C

#include <iostream>
#include <string>
#include <algorithm>
#include <cmath>
#include <vector>

using namespace std;

int main(){
	int N;
	cin >> N;
	bool flag = false;
	while(N > 0){
		 if(N % 10 == 7){
			 flag = true;
			 break;
		 }
		 N /= 10;
	}
	if(flag){
		cout << "Yes" << endl;
	}else{
		cout << "No" << endl;
	}
	
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

 	 #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define pb push_back
#define ll long long
int main()
{
	std::ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
	// ll tt;	cin>>tt;	while(tt--)
	{
		ll n,i;
		cin>>n;
		
		bool flag=false;
		while(n)
		{
			if(n%10==7)	flag=true;
			n/=10;
		}

		cout<<(flag ? "Yes" : "No")<<endl;
 	
 	}
	cerr<<" Execution : "<<(1.0*clock())/CLOCKS_PER_SEC<<"s \n";
		
		
return 0;
}	

Compiler output:
main.c:1:19: fatal error: bits/stdc++.h: No such file or directory
    1 |          #include <bits/stdc++.h>
      |                   ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

int main(){
    int N;
    cin>>N;
    for(int i=0; i<3; i++){
        if(N%10==7){
        cout<<"Yes"<<endl;
        return 0;
        }
        N/=10;
    }

    cout<<"No"<<endl;


    return 0;
}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main () {
  int a;
  cin >> a;
  int c=0;
  for (int i = 0; i < a; i++)
  {
    if (i%3!==0 && i%5==0)
    {
      c+=i;
    }
  }
  printf(c);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected primary-expression before '=' token
    9 |     if (i%3!==0 && i%5==0)
      |              ^
a.cc:14:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   14 |   printf(c);
      |          ^
      |          |
      |          int
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main () {
  string s;
  cin >> s;
  for (int i = 0; i < 3; i++) {
    if (s[i]==7) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  printf("No")
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected ';' before '}' token
   12 |   printf("No")
      |               ^
      |               ;
   13 | }
      | ~
Language: C

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iomanip>
#include <random>
#include <cstdio>
#include <cmath>
#include <climits>
#include <map>
#include <queue>
using namespace std;
typedef long long ll;
#define rep(i, n) for(int i = 0; i < (int) n; i++)

int main() {
    int n;
    cin >> n;
    while (n > 0) {
        if (n % 10 == 7) {
            cout << "Yes\n";
            return 0;
        }
        n /= 10;
    }
    cout << "No\n";
    return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

int N ;

int main() {
    cin>>N ;
    int h=N/100 ;
    int d=(N-100*h)/10 ;
    int s=N%10 ;
    if (h==7 or d==7 or s==7){
        cout<<"Yes";
    }
    else {
        cout<<"No";
    }

	return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
using namespace std;

int N ;

int main() {
    cin>>N ;
    int h=N/100 ;
    int d=(N-100*h)/10 ;
    int s=N%10 ;
    if (h==7 or d==7 or s==7){
        cout<<"Yes";
    }
    else {
        cout<<"No";
    }

	return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
using namespace std;
int main() {ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);

int n; cin>>n;
  if(n%10==7 || n/10%10==7 || n/100==7 || n/1000) 
  cout<<"Yes"; else cout<<"No";}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<bits/stdc++.h>
using namespace std;
int main() {ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);

int n; cin>>n;
  if(n%10==7 || n/10%10==7 || n/100==7 || n/1000) 
  cout<<"Yes"; else cout<<"No";}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);

    int N;
    cin >> N;

    printf("%s\n",to_string(N).find('7') != string::npos ? "Yes" : "No");
    return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

N=int(input())
A=N//100
M=N%100

B=M//10
C=M%10

if 7 in [A,B,C]:
    print(Yes)
else:
    print(No)


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N=int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:3: error: expected expression before 'int'
    1 | N=int(input())
      |   ^~~
Language: C

#include<iostream>
using namespace std;
int main()
{
  int n, a, b, c;
  cin >> n;
  a = n / 100;
  b = (n / 10) % 10;
  c = n % 10;
  if((a == 7) || (b == 7) || (c == 7))
  cout << "Yes";
  else
  cout << "No";
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main()
{
  int n, a, b, c;
  cin >> n;
  a = n / 100;
  b = (n / 10) % 10;
  c = n % 10;
  if(a == 7 || b == 7 || c == 7)
  cout << "Yes";
  else
    cout << "No";
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll        long long
#define  sci(x)   scanf("%d", &x)
#define  scl(x)   scanf("%lld", &x)
#define  scd(x)   scanf("%lf", &x)
#define l0(i,n)   for(ll i=0; i<n; i++)

int main ()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	//CODE TONOY
	int n;
	cin>>n;
	while (n){
		if (n%10==7)
		{
		cout<<"YES\n";
		return 0;
		}
		n/=10;
	
	}
	cout<<"NO\n";	
	return 0;
}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <string>
#include <iterator>
#include <unordered_set>
#include <unordered_map>
#include <algorithm>
#include <sstream> 
#include <vector>
#include <cmath>
#include <map>
#include <set>
#include <queue>
#include <iomanip>
#include <functional>
#pragma GCC optimize("O3")
using namespace std;
#define fast ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define ll long long
#define sp system("pause");
#define MOD 998244353 
#define mxN 2005
#define MXINT 1e9+5


void solve()
{
	ll n;
	cin >> n;
	while (n)
	{
		if (n % 10 == 7)
		{
			cout << "Yes";
			return;
		}
		n /= 10;
	}
	cout << "No";
}

int main()
{
	fast;
	solve();
	
	return 0;
}



Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
using namespace std;

int main(){
  int a;
  cin >> a;
  for(int i=0; i < 3; i++){
    if(a%10 == 7){
      cout << "YES\n";
      return 0;
    }
    a = a/10;
  }
  cout << "NO\n";
  return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

int main(){
  int a;
  cin >> a;
  for(int i=0; i < 3; i++){
    if(a%10 == 7){
      cout << "YES\n";
      return 0;
    }
    a = a/10;
  }
  cout << "NO\n";
  return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <debug.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const ll mod=1000000007;
void debug_out() { cerr << endl; } 
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << to_string(H);
  debug_out(T...);
} 
#ifdef LOCAL
#define bug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define bug(...) 42
#endif
double startTime;
double time(){
    return ((double)clock() - startTime) / CLOCKS_PER_SEC;
} 
 
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    //startTime = (double)clock();
     string n;
     cin>>n;
     startTime = (double)clock();
     if(n[0]=='7'||n[1]=='7'||n[2]=='7'){
     	cout<<"Yes"<<endl;
     }   
     else {
     	cout<<"No"<<endl;
     }
    //cout<<"Time : "<<time()<<endl;
}

Compiler output:
a.cc:2:10: fatal error: debug.h: No such file or directory
    2 | #include <debug.h>
      |          ^~~~~~~~~
compilation terminated.
Language: C

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

int main(){
  int a;
  cin >> a;
  for(int i=0; i < 3; i++){
    if(a%10 == 7){
      cout << "YES\n";
      return;
    }
    a = a/10;
  }
  cout << "NO\n" << endl;
  return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <debug.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const ll mod=1000000007;
void debug_out() { cerr << endl; } 
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << to_string(H);
  debug_out(T...);
} 
#ifdef LOCAL
#define bug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define bug(...) 42
#endif
double startTime;
double time(){
    return ((double)clock() - startTime) / CLOCKS_PER_SEC;
} 
 
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    //startTime = (double)clock();
     string n;
     cin>>n;
     startTime = (double)clock();
     if(n[0]=='7'||n[1]=='7'||n[2]=='7'){
     	cout<<"Yes"<<endl;
     }   
     else {
     	cout<<"No"<<endl;
     }
    cout<<"Time : "<<time()<<endl;
}

Compiler output:
a.cc:2:10: fatal error: debug.h: No such file or directory
    2 | #include <debug.h>
      |          ^~~~~~~~~
compilation terminated.
Language: C

/*

            ░   ▒▓█  𝕿𝖆𝖑𝖐 𝖎𝖘 𝖈𝖍𝖊𝖆𝖕. 𝕾𝖍𝖔𝖜 𝖒𝖊 𝖙𝖍𝖊 𝖈𝖔𝖉𝖊 █▓▒░
   */
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define si(x) (ll)((x).size())
#define pb push_back
#define F first
#define S second
#define rep(i,n) for(ll i=0;i<n;i++)
#define per(i,n) for(ll i=n-1;i>=0;i--)
#define rep1(i,n) for(ll i=1;i<=n;i++)
#define per1(i,n) for(ll i=n;i>=1;i--)
#define all(x) (x).begin(), (x).end()
#define make_unique(x) (x).resize(unique(all(x))-(x).begin())
const int  N = 2e5 + 10;
ll m = 1e9 + 7;
void solve()
{
    string s;
    cin>>s;
    for(auto i:s)if(i=='7')
    {
        cout<<"Yes";
            return;
    }

    cout<<"No";
}
int main()
{


    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);



    int t = 1, n, x, ans;
    // cin >> t;

    while(t--)
    {
        solve();

    }


}


Compiler output:
main.c:5:9: fatal error: bits/stdc++.h: No such file or directory
    5 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

/*

            ░   ▒▓█  𝕿𝖆𝖑𝖐 𝖎𝖘 𝖈𝖍𝖊𝖆𝖕. 𝕾𝖍𝖔𝖜 𝖒𝖊 𝖙𝖍𝖊 𝖈𝖔𝖉𝖊 █▓▒░
   */
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define si(x) (ll)((x).size())
#define pb push_back
#define F first
#define S second
#define rep(i,n) for(ll i=0;i<n;i++)
#define per(i,n) for(ll i=n-1;i>=0;i--)
#define rep1(i,n) for(ll i=1;i<=n;i++)
#define per1(i,n) for(ll i=n;i>=1;i--)
#define all(x) (x).begin(), (x).end()
#define make_unique(x) (x).resize(unique(all(x))-(x).begin())
const int  N = 2e5 + 10, m = 200;
ll m = 1e9 + 7;
void solve()
{
    string s;
    cin>>s;
    for(auto i:s)if(i=='7')
    {
        cout<<"Yes";
            return;
    }

    cout<<"No";
}
int main()
{


    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);



    int t = 1, n, x, ans;
    // cin >> t;

    while(t--)
    {
        solve();

    }


}


Compiler output:
main.c:5:9: fatal error: bits/stdc++.h: No such file or directory
    5 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

N = input()

if "7" in N:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if "7" in N:
      | ^~
Language: C++

#include <iostream>

using namespace std;

int main() {
  int n;
  
  cin >> n;
  
  if (n / 100 == 7) cout << "Yes";
  else {
    int nn = n % 100;

    if (nn / 10 == 7) cout << "Yes";
    else {
    	int nnn = nn % 10;

    	if (nnn == 7) cout << "Yes";
    	else cout << "No";
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:2: error: expected '}' at end of input
   22 | }
      |  ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main() {
  int n;
  
  cin >> n;
  
  if (n / 100 == 7) cout << "Yes";
  else {
    int nn = n % 100;

    if (nn / 10 == 7) cout << "Yes";
    else {
    	int nnn = nn % 10;

    	if (nnn == 7) cout << "Yes";
    	else cout << "No";
  }
  return;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   21 |   return;
      |   ^~~~~~
a.cc:22:2: error: expected '}' at end of input
   22 | }
      |  ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main() {
  int n;
  
  cin >> n;
  
  if (n / 100 == 7) cout << 'Yes';
  else {
    int nn = n % 100;

    if (nn / 10 == 7) cout << 'Yes';
    else {
    	int nnn = nn % 10;

    	if (nnn == 7) cout << 'Yes';
    	else cout << 'No';
  }
  return;
}

Compiler output:
a.cc:10:29: warning: multi-character character constant [-Wmultichar]
   10 |   if (n / 100 == 7) cout << 'Yes';
      |                             ^~~~~
a.cc:14:31: warning: multi-character character constant [-Wmultichar]
   14 |     if (nn / 10 == 7) cout << 'Yes';
      |                               ^~~~~
a.cc:18:31: warning: multi-character character constant [-Wmultichar]
   18 |         if (nnn == 7) cout << 'Yes';
      |                               ^~~~~
a.cc:19:22: warning: multi-character character constant [-Wmultichar]
   19 |         else cout << 'No';
      |                      ^~~~
a.cc: In function 'int main()':
a.cc:21:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   21 |   return;
      |   ^~~~~~
a.cc:22:2: error: expected '}' at end of input
   22 | }
      |  ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,count=0,r;
    cin>>n;
    if(n>=100&&n<=999)
    {
    	stat:
    	if(n>0)
        {
        	r=n%10;
        	{
    	    	if(r==7)
    		    cout<<"Yes";
    		    else
    		    {
    	         n=n/10;
     		     goto stat;
	    	    }
	    	}
    	}
    	else
    	cout<<"No";
    }
}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.Scanner;

public class Solution
{
    public static void main(String [] args)
    {
        Scanner key = new Scanner(System.in);
        String s = key.nextLine();
        boolean flag = false;
        for(int i = 0; i<s.length(); i++)
        {
            
            if(s.charAt(i)== '7')
                flag = true;
        }
        if(flag == true)
        {
            System.out.println("Yes");
        }
        else
            System.out.println("No");
    }
}

Compiler output:
Main.java:3: error: class Solution is public, should be declared in a file named Solution.java
public class Solution
       ^
1 error
Language: C

#include <stdio.h>

void main()
{
  	int i;
  	char moji[3];
  
  	scanf("%s",moji);
  	for(i=0; moji[i]!='7'; i++)
    {
      	if(moji[i]==7)
        printf("Yes");
      end
        else
        printf("No");

    }
  
}


Compiler output:
main.c: In function 'main':
main.c:13:7: error: 'end' undeclared (first use in this function)
   13 |       end
      |       ^~~
main.c:13:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:10: error: expected ';' before 'else'
   13 |       end
      |          ^
      |          ;
   14 |         else
      |         ~~~~
Language: C

#include <stdio.h>

void main()
{
  	int i;
  	char moji[3];
  
  	scanf("%s",moji);
  	for(i=0; moji[i]!='7'; i++)
    {
      	if(moji[i]==7)
        printf("Yes");
      end
        else
        printf("No")

    }
  
}


Compiler output:
main.c: In function 'main':
main.c:13:7: error: 'end' undeclared (first use in this function)
   13 |       end
      |       ^~~
main.c:13:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:10: error: expected ';' before 'else'
   13 |       end
      |          ^
      |          ;
   14 |         else
      |         ~~~~
Language: C


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

  int main() {

    string<int> N;
    cin >> N;
    int count=0;
    for(int i=0; i<2; i++){
      if(N.at(i)==7){
        cout << 'Yes';
        break;
      }
      else
        count++;
    }
    if(count==3)
      cout << 'No';
  }
      


Compiler output:
main.c:2:12: fatal error: bits/stdc++.h: No such file or directory
    2 |   #include <bits/stdc++.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>

void main()
{
  	char moji[3],o;
  	int i;
  
  	scanf("%s",moji);
  	for(i=0; moji[i]!='7'; i++)
    {
      	if(moji[i]==7)
        printf("Yes");
        

    }
  printf("No")
}


Compiler output:
main.c: In function 'main':
main.c:16:15: error: expected ';' before '}' token
   16 |   printf("No")
      |               ^
      |               ;
   17 | }
      | ~
Language: C

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

  int main() {
    string<int> N;
    cin >> N;
    int count=0;
    for(int i=0; i<2; i++){
      if(N.at(i)==7){
        cout << 'Yes';
        break;
      }
      else
        count++;
    }
    if(count==3)
      cout << 'No';
  }

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

typedef long long ll;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    string s;
    cin >> s;

    for (auto c: s) {
        if (c == '7') {
            cout << "Yes" << "\n";
            return 0;
        }
    }

    cout << "No" << "\n";
}



Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a,b,c;
  cin >> a >> b >> c;
  if (a == "7" || b == "7" || c == "7") {
    cout << "Yes" << endl;
  } else {
    cout << " No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (a == "7" || b == "7" || c == "7") {
      |       ~~^~~~~~
a.cc:7:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (a == "7" || b == "7" || c == "7") {
      |                   ~~^~~~~~
a.cc:7:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (a == "7" || b == "7" || c == "7") {
      |                               ~~^~~~~~
Language: C

#include <iostream>
using namespace std;

int main() {
  int a,b,c;
  cin >> a >> b >> c;
  if (a == "7" || b == "7" || c == "7") {
    cout << "Yes" << endl;
  } else {
    cout << " No" << endl;
  }
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

int main(){
  string N; 
  cin >> N;

  bool c = false;
  for(int i=0;i<N.length();i++){
    if(N.at(i) == '7'){
      c = true;
      break;
    } 
  }

  if(c){  
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }


  return 0;
}





Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
using ll = long long;
using namespace std;

int main(){
  string N; 
  cin >> N;

  bool c = false;
  for(int i=0;i<N.length();i++){
    if(N.at(i) == '7'){
      c = true;
      break;
    } 
  }

  if(c){  
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }


  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{string s;int i=0;
cin>>s;
for(i=0;i<s.size();i++)
{ if(s[i]==7)
break;
    else continue;
}
if(i<s.size())
cout<<"YES";
else cout<<"NO";
}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

int main {
  int a,b,c;
  cin >> a >> b >> c;
  if (a == "7" || b == "7" || c == "7") {
    cout << "Yes" << endl;
  } else {
    cout << " No" << endl;
  }
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
using namespace std;

int main {
  int a,b,c;
  cin >> a >> b >> c;
  if (a == "7" || b == "7" || c == "7") {
    cout << "Yes" << endl;
  } else {
    cout << " No" << endl;
  }
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

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

int main()
{
    string n;
    int a = 0;
    cin >> n;
    if (n[0] == '7')
    {
        a++;
    }
    if (n[1] == '7')
    {
        a++;
    }
    if (a[2] == '7')
    {
        a++;
    }

    if (a == 0)
    {
        cout << "No" << endl;
    }
    else
    {
        cout << "Yes" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:10: error: invalid types 'int[int]' for array subscript
   17 |     if (a[2] == '7')
      |          ^
Language: C

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

int main(){
  int n;
  cin >> n;
  int d1 = n % 10;
  int d2 = n / 10 % 10;
  int d3 = n / 100;
  if(d1==7 || d2==7 || d3==7){
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<string>
using namespace std;

int main(){
  string n;
  cin>>n;
 
  
  if(n[0]=='7'||n[1]=='7'||n[2]=='7')cout<<"Yes";
  else
    cout<<"No"
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected ';' before 'return'
   12 |     cout<<"No"
      |               ^
      |               ;
   13 | 
   14 |     return 0;
      |     ~~~~~~
Language: C++

#include<iostream>
##include<string>
using namespace std;

int main(){
  string n;
  cin>>n;
 
  
  if(n[0]=='7'||n[1]=='7'||n[2]=='7')cout<<"Yes";
  else
    cout<<"No"
    
    return 0;
}


Compiler output:
a.cc:2:1: error: stray '##' in program
    2 | ##include<string>
      | ^~
a.cc:2:3: error: 'include' does not name a type
    2 | ##include<string>
      |   ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string n;
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>n;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:8: error: 'n' was not declared in this scope
    7 |   cin>>n;
      |        ^
a.cc:10:38: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |   if(n[0]=='7'||n[1]=='7'||n[2]=='7')cout<<"Yes";
      |                                      ^~~~
      |                                      std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout<<"No"
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(ll i=0;i<n;i++)
#define cY cout << "Yes" << endl;
#define cN cout << "No" << endl;

int main() {
  string n;
  cin >> n;
  bool a = false;
  rep(i,3){
    if(n.at(i)=='7')
    a = true;
  }
  if(a) {
    cY;
  }
  else{
    cN;
  }
  return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(ll i=0;i<n;i++)
#define cY cout << "Yes" << endl;
#define cN cout << "No" << endl;

int main() {
  string n;
  cin >> n;
  bool a = false;
  rep(i,3){
    if(n.at(i)=='7')
    a = true;
  }
  if(a) {
    cY;
  }
  else{
    cN;
  }
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
#define LL long int
#define ULL unsigned long int
#define MOD (long int)10e9 + 7


int main(){
    string s;
    cin >> s;
    bool ans = false;
    for(int i = 0; i < 3; ++i){
        if(s[i] == '7'){
            ans = true;
        }
    }

    cout << (ans ? "Yes" : "No") << endl;


    return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>

#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rep2(i, a, b) for (ll i = (a); i < (b); i++)
#define chmax(x, v) do { x = max(x, v); } while (0)
#define chmin(x, v) do { x = min(x, v); } while (0)
typedef uint64_t ull;
typedef int64_t ll;
typedef std::pair<ll, ll> PLL;

using namespace std;


signed main() {
  string s;
  cin >> s;
  bool ok = false;
  rep(i,3)
    if (s[i]=='7')
      ok = true;
  cout << (ok ? "Yes" : "No" ) << endl;

  return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>

using namespace std;

int main(int argc, char* argv[])
{
    
    int N(0);
    cin >> N;
    
    do
    {
        if(N % 10 == 7)
        {
            cout << "Yes" << endl;
            return 0;
        }else
            N /= 10;
    }while(N > 0);
    
    cout << "No" << endl;
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>


using namespace std;

int main(){

    int N; cin>>N;

    string s = to_string(N);
    auto p = find (s.begin(), s.end(), '7');
    if (p == s.end()) cout<<"No"<<endl;
    else cout<<"Yes"<<endl;

    return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>

using namespace std;

int main() {
  int n;
  cin >> n;
  bool flag = false;
  for (; n; n /= 10)
    if (n % 10 == 7)
      flag = true;
  cout << (flag ? "Yes" : "No") << endl;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>

using namespace std;

#define int long long

signed main()
{
	string t;
	cin >> t;
	int fl = 0;
	for (int i = 0; i < t.size(); i++)
	{
		if (t[i] == '7')
			fl = 1;
	}
	if (fl)
	{
		cout << "Yes" << endl;
	}
	else 
	{
		cout << "No" << endl;
	}
	return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C


#include <iostream>
#include <string>
using namespace std;

int main()
{
  string N;
  cin >> N;
  cout << ((('7' == N[0]) || ('7' == N[1]) || ('7' == N[2])) ? "Yes" : "No");
  return 0;
}


Compiler output:
main.c:2:10: fatal error: iostream: No such file or directory
    2 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>

int main(){
	int x;
	std::cin >> x;
	bool lucky = false;
	while(x > 0){
		if((x % 10)==7){
			std::cout << "Yes" << std::endl;
			lucky = true;
		}

		x /= 10;
	}
	if(!lucky){
		std::cout << "No" << std::endl;
	}
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
	string N;
	cin>>N;
	for(int i=0;i<N.length();i++){
		if(N[i]=="7"){
			cout<<"Yes"<<endl;
			return 0;
		}
	} 
	cout<<"NO";
	return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |                 if(N[i]=="7"){
Language: Java

import java.util.Scanner;
 
public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s1 = sc.next();
		String s2 = sc.next();
  		String s3 = sc.next();
  		String s4 = sc.next();
 
        if(s1=="7"||s2=="7"||s3=="7"||s4=="7"){
          System.out.println("YES");
        }else{
          System.out.println("NO");
        } 
            
 }

Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

#include <bits/stdc++.h> 
using namespace std; 
  
typedef long long int ll;
typedef set <int> se;

int main()
{
	ll n,rem,flag=0;
	cin>>n;
	while(n)
	{
		rem=n%10;
		n=n/10;
		if(rem==7)
		{
			flag=1;
			break;
		}
	}
	if(flag==1)
		cout<<"Yes";
	else
		cout<<"No";
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;

const ll LINF = 1e18;
const int INF = 1e9;
const ll MOD = 1000000007;

template<class T> inline bool chmin(T& a, T b){
    if(a > b){
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b){
    if(a < b){
        a = b;
        return true;
    }
    return false;
}
vector<bool> seen;
void dfs(const Graph &G, int v){
    seen[v] = true; // vを訪問済みにする
    
    for(auto next_v: G[v]){
        if(seen[next_v]) continue; // next_vが探索済みならスルー
        dfs(G, next_v); // 再帰的に探索
    }
}

int main(){

    int n;
    cin >> n;

    bool flg = false;
    if(n/100 == 7) flg = true;
    n %= 100;
    if(n/10 == 7) flg = true;
    n %= 10;
    if(n == 7) flg = true;

    if(flg) cout << "Yes" << endl;
    else cout << "No" << endl;

}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

int main() {
  string S;
  cin >> S;
  for(int i=0; i<S.size(); i++) {
    if(S.at(i)=='7') {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string s;
  cin>>s;
  int n=s.length();
  for(int i=0;i<n;i++)
    if(s[i]=='7')
    {
      cout<<"Yes";
      return;
    }
  cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: return-statement with no value, in function returning 'int' [-fpermissive]
   12 |       return;
      |       ^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string s;
  cin>>s;
  for(int i=0;i<s.size();i++)
    if(s[i]=='7')
    {
      cout<<"Yes";
      return;
    }
  cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:7: error: return-statement with no value, in function returning 'int' [-fpermissive]
   11 |       return;
      |       ^~~~~~
Language: C

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

typedef long long ll;
typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<vi> vvi;
typedef pair<int,int> pi;
typedef vector<pi> vp;

#define pb push_back
#define mp make_pair
#define PI 3.1415926535897932384626433832795
#define INF 1e9
#define modulo 1000000007
#define forn(i, n) for(int i = 0; i < (n); i++)
#define FAST ios::sync_with_stdio(false); cin.tie(NULL);
#define end1 "\n" 
#define print(x) cout << x << end1



int main(){ 
FAST;
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif

int n; cin >> n;
int ans =  0;
while(n > 0){
    if(n%10 == 7) {
        ans++;
        break;
    }
    n /= 10;
}
if(ans > 0) cout << "Yes";
else cout << "No" ;

}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

/*..................................
Everytime your Rating goes down, the probability of getting better and improve
your rating Increases;
....................................*/

#include<bits/stdc++.h>
using namespace std;
using namespace __gnu_pbds;
#define ll long long int
#define fl(i,a,b) for(ll i=a;i<b;i++)
#define flr(i,a,b) for(int i=a;i>b;i--)
#define mod 1000000007
#define ff first
#define ss second
#define fast ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
#define endl '\n'
#define pb push_back
#define in insert
#define mx 200005
#define print(x) fl(i,0,x.size())cout<<x[i]<<" ";
typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update>ordered_set;
//void sieve(){memset(prime, true, sizeof(prime));for(int p=2;p*p<=5000000;p++){if (prime[p]==true){for (int i=p*p; i<=5000000; i+=p){prime[i]=false;if(spf[i]==0)spf[i]=p;}}}for (int p=2; p<=5000000;p++)if (prime[p])primes.push_back(p);}
ll mod_exp(ll x, ll y,ll p){ll res = 1;x = x % p;while(y>0){if(y&1)res = (res*x) % p;y = y>>1;x=(x*x)%p;}return res;}
int pre_sum[mx];
vector<int> adj[mx];
int vis[mx],dp[mx];

void solve()
{
	string s;
	cin>>s;
	fl(i,0,s.size())
		if(s[i]=='7')
		{
			cout<<"Yes";
			return;
		}
	cout<<"No";
}  
 
int main()
{
    fast;
    int t=1;
   //	cin>>t;
    while(t--)
    {
        solve();
       	cout<<endl;
    }
}

Compiler output:
a.cc:8:17: error: '__gnu_pbds' is not a namespace-name
    8 | using namespace __gnu_pbds;
      |                 ^~~~~~~~~~
a.cc:21:9: error: 'tree' does not name a type
   21 | typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update>ordered_set;
      |         ^~~~
Language: C

#include<iostream.h>
using namespace std;
int main(){
  long a;
  int answer;
  cin>>a;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a=a/10;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a=a/10;
  if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  cout<<"No"<<endl;
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream.h: No such file or directory
    1 | #include<iostream.h>
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main(){
  long a;
  int answer;
  cin>>a;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a=a/10;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a=a/10;
  if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  cout<<"No"<<endl;
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main(){
  long a;
  int answer;
  cin>>a;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a/10;
if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  a/10;
  if(a%10==7)
{cout<<"Yes"<<endl;
 return 0;}
  cout<<"No"<<endl;
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include <cstdio>
#include <numeric>
#include <cmath>
#include <deque>
#include <iostream>
#include <set>
#include <algorithm>
#include <vector>
#include <array>
using i64 = long long;
using namespace std;


int main() {
  int n;
  cin >> n;
  while (n > 0) {
    if (n % 10 == 7) {
      cout << "Yes\n";
      return 0;
    }
    n/=10;
  }
  cout << "No\n";
}

Compiler output:
main.c:1:10: fatal error: cstdio: No such file or directory
    1 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.
Language: C

#if __has_include("noamoa_atcoder_lib.h")
#include "noamoa_atcoder_lib.h"
#else
#include <bits/stdc++.h>
#define endl '\n'
#define all(x) (x).begin(),(x).end()
namespace atcoder {
	using namespace std;
	using ll = long long;
	using intv = vector<int>;
	using charv = vector<char>;
	using boolv = vector<bool>;
	using floatv = vector<float>;
	using doublev = vector<double>;
	using stringv = vector<string>;

	constexpr ll MOD  = 1000000007;
    constexpr ll MOD9 = 1000000009;

	template<typename T>
	void sort(vector<T>& v){
		sort(all(v));
	}
	template<typename T>
	void sortInv(vector<T>& v){
		sort(all(v), greater<T>());
	}

	template<typename T>
	T sum(const vector<T>& v){
		T ret = 0;
		for(const auto& e : v) ret += e;
		return ret;
	}

	template<typename T>
	inline vector<T>& operator+=(vector<T>& v, const T& e){
		v.push_back(e);
		return v;
	}

	template<typename T>
	void in(vector<T>& v){
		for(auto& e : v) cin >> e;
	}

	template<typename T>
	istream& operator>>(istream &stream, vector<T>& v){
		for(auto& e : v) stream >> e;
		return stream;
	}

	template<typename T>
	void out(const vector<T>& v){
		for(const auto& e : v) cout << e << ' ';
		cout << endl;
	}

	template<typename T>
	void outln(const vector<T>& v){
		for(const auto& e : v) cout << e << endl;
	}

	void init(){
		cin.tie(nullptr);
		ios::sync_with_stdio(false);
		cout << fixed << setprecision(15);
	}
}
using namespace atcoder;
#endif

int main(){
	init();
	string s;
	cin>>s;
	cout <<((s[0]=='7'|s[1]=='7'||s[2]=='7')?"Yes":"No");
}

Compiler output:
main.c:4:10: fatal error: bits/stdc++.h: No such file or directory
    4 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

//的場梨沙★担当
//結城晴★副担当
//日野茜★副担当
#include <vector>
#include <list>
#include <map>
#include <climits>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string.h>
#include <string>
#include <cstring>
#include <ctime>
#include <queue>
#include <random>
#include <cctype>
#include <complex>
#include <regex>
#include <unordered_map>
#include <string>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <stdio.h>


using namespace std;

int main(void) {
    string N;
    cin>>N;

    if(N[0]!='7'&&N[1]!='7'&&N[2]!='7'){
        cout<<"No"<<endl;
    }else{
        cout<<"Yes"<<endl;
    }


}


Compiler output:
main.c:4:10: fatal error: vector: No such file or directory
    4 | #include <vector>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include <vector>
#include <list>
#include <map>
#include <unordered_map>
#include <climits>
#include <set>
#include <unordered_set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>
#include <queue>
#include <random>
#include <chrono>
#include <complex>
#include <regex>
#include <locale>
#include <random>
#include <cassert>
#include <type_traits>

using namespace std;

int main(void) {
    string N;
    cin>>N;

    if(N[0]!='7'&&N[1]!='7'&&N[2]!='7'){
        cout<<"No"<<endl;
    }else{
        cout<<"Yes"<<endl;
    }


}


Compiler output:
main.c:1:10: fatal error: vector: No such file or directory
    1 | #include <vector>
      |          ^~~~~~~~
compilation terminated.
Language: C

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

int main(){
  string N;
  cin >> N;
  int cnt_7=0;
  for(int i=0; i<3; i++){
    if(N[i]=='7'){
      cnt_7++;
    }
  }
  if(cnt_7>0){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
  return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.