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

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

int main(){
    string n;
    cin>>n;
    for(int i=0;i<n.size();i++){
    	if(n[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;
typedef long long ll;
typedef vector<bool> vb;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef map<int,int> mii;
typedef map<ll,ll> mll;
#define pi 3.141592653589793
#define mod 998244353
#define pb push_back
#define all(v) v.begin(),v.end()
#define tc int t;cin>>t;while(t--)
#define pqmax priority_queue<int>
#define pqmin priority_queue<int,vi,greater<int>>
#define fast_io ios_base::sync_with_stdio(0), cin.tie(NULL)
#define tc_g int tt;cin>>tt;for(int ti=1;ti<=tt;ti++)
#define case_g "Case #"<<ti<<": "
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
typedef tree<int, null_type, greater_equal<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_multiset;
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_set;
typedef tree<int, int, less<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_map;
using namespace std;
int main()
{
    ll N;
    cin >> N;
    bool ans = false;
    while(N)
    {
        ll dig = N%10;
        if(dig == 7)
        {
            ans = true;
            break;
        }
        N/=10;
    }
    if(ans)
        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>
#define REP(i, n) for(int i = 0; i < (n); i++)
#define ALL(v) (v).begin(), (v).end()
using namespace std;
typedef long long ll;
typedef vector<string> vs;
typedef vector<int> vi;
typedef vector<vi> vivi;
typedef vector<ll> vll;
typedef vector<vll> vllvll;
typedef pair<int, int> Pi;
typedef queue<Pi> QPi;
typedef pair<ll, ll> Pll;
typedef queue<Pll> QPll;
using Graph = vector<vector<int>>;
const int mod = 1000000007;
// 小数点　<< fixed << setprecision(0) <<
// sort降順　sort(ALL(),greater<int>());
// 文字判定　isupper islower
// 順列　do {} while(next_permutation(ALL(X)));
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
struct edge {
    int from; //出発点
    int to;   //到達点
    int cost; //移動コスト
};
typedef struct edge se;
typedef vector<edge> ve;

int main() {
  char n[3];
  cin >> n;
  string ans="No";
  REP(i,3) {
    if(n[i]=='7') ans="Yes";
  }
  cout << ans << 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

#pragma GCC optimize("O3")
#pragma GCC target("sse4")

#include <bits/stdc++.h>

#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <typeinfo>

using namespace std;
using namespace __gnu_pbds;

typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef pair<ld, ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

template <class T>
using Tree =
    tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;

#define FOR(i, a, b) for (int i = a; i < (b); i++)
#define F0R(i, a) for (int i = 0; i < (a); i++)
#define FORd(i, a, b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i, a) for (int i = (a)-1; i >= 0; i--)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()
#define shandom_ruffle random_shuffle

const int MOD = 1000000007;
const ll INF = 1e18;
const int MX = 100001;  // check the limits, dummy

typedef long long ll;
const int inf = INT_MAX / 2;
const ll infl = 1LL << 60;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}

template <class T>
void print(const vector<T> v) {
  cout << "[ ";
  F0R(i, v.size()) { cout << v[i] << ' '; }
  cout << "]" << '\n';
}

int mod(int i, int j) {
  return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);
}

// --------------------------------------------------------
// This is tool
// --------------------------------------------------------
void Main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);

  int N, a, b, bb, c;
  cin >> N;
  a = N / 100;
  b = N % 100;
  bb = b / 10;
  c = b % 10;

  if (a == 7 || bb == 7 || c == 7)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}

int main() {
  std::cin.tie(nullptr);
  std::ios_base::sync_with_stdio(false);
  std::cout << std::fixed << std::setprecision(15);
  Main();
}

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

import java.io.*;
import java.util.Scanner;

public class Main{

	static int n;
	public static void main(String args[])throws Exception{
		Scanner sc=new Scanner(System.in);
			 n= sc.nextInt();
			 int rem;
			 int flag=0;
			 while(n>0){
			 	rem=n%10;
			 	if(rem==7)
			 		flag=1;
			 	n=n/10;
			 }
			if(flag==1)
				System.out.print("Yes");
			else
				System.out.print("No");
		}
	}



Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.io.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.*;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.util.Scanner;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.util.Scanner;
      |            ^
main.c:4:1: error: unknown type name 'public'
    4 | public class Main{
      | ^~~~~~
main.c:4:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    4 | public class Main{
      |              ^~~~
Language: Java

import java.io.*;
import java.util.*;

public class Solution {

	public static void main(String[] args) throws IOException {
		Scanner scn = new Scanner(System.in);
		String T = scn.next();
		int idx = T.indexOf('7');
		System.out.print(idx == -1 ? "No" : "Yes");
	}

	static class Scanner {

		StringTokenizer st;
		BufferedReader br;

		public Scanner(InputStream s) {
			br = new BufferedReader(new InputStreamReader(s));
		}

		public String next() throws IOException {
			while (st == null || !st.hasMoreTokens())
				st = new StringTokenizer(br.readLine());
			return st.nextToken();
		}

		public int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		public long nextLong() throws IOException {
			return Long.parseLong(next());
		}
	}
}


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

a, b, c = input()
flag = 'No'

if int(a)%7 == 0:
    flag = 'Yes'
elif int(b)%7 == 0:
    flag = 'Yes'
elif int(c)%7 == 0:
    flag = 'Yes'

print(flag)


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a, b, c = input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | a, b, c = input()
      |    ^
main.c:1:7: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | a, b, c = input()
      |       ^
main.c:1:11: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a, b, c = input()
      |           ^~~~~
main.c:1:11: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'flag'
    2 | flag = 'No'
      | ^~~~
main.c:2:8: warning: multi-character character constant [-Wmultichar]
    2 | flag = 'No'
      |        ^~~~
main.c:5:12: warning: multi-character character constant [-Wmultichar]
    5 |     flag = 'Yes'
      |            ^~~~~
main.c:7:12: warning: multi-character character constant [-Wmultichar]
    7 |     flag = 'Yes'
      |            ^~~~~
main.c:9:12: warning: multi-character character constant [-Wmultichar]
    9 |     flag = 'Yes'
      |            ^~~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
const int INF = 0x3f3f3f3f;
const int N = 5000;
#define ll long long
int cmp(int a,int b){
	return a>b;
}	

int main(){
	int  n;
	cin >> n;
	if(n%10 == 7 || n/10%10 ==7 || n/100==7) {
		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>
using namespace std;
int main() {
  int n;
  cin>>n;
  if(n%10==7 || n/10%10==7 || n/100==7) 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 <iostream>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main() {
    string n;
    std::cin >> n;
    rep(i, 3){
        if(n.at(i) == '7') {
            std::cout << "Yes" << std::endl;
            break;
        }
        if(i == 2) 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<bits/stdc++.h>
using namespace std;
int n;
int main()
{
	scanf("%d",&n);
	int i=1,p=1;
	while(i<=5)
	{
		int tmp=n%(p*10);
		tmp/=p;
		if(tmp==7)
		{
			printf("Yes\n");
			return 0;
		}
		++i;
	}
	printf("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

N=int(input())
  if N>=100 and N<=999:
	if 7 in N:
		print("Yes")
    else:
		print("N0")
  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<bits/stdc++.h>
using namespace std;

int main(){
	int N[2];
	cin >> N[2];
	if(N[0] ==7 && N[1] ==7 && N[2] ==7){
		cout << "Yes" << endl;
	}else{
		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 N:
  cin >>N;
  if(N-700 >=0 && N-700 <100){
    cout << "Yes" << endl;
  }
  else if(N%100 >=70 && N%100 < 80){
    cout << "Yes" << endl;
  }
  else if(N%10 == 7){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: found ':' in nested-name-specifier, expected '::'
    5 |   int N:
      |        ^
      |        ::
a.cc:5:7: error: 'N' has not been declared
    5 |   int N:
      |       ^
a.cc:6:7: error: qualified-id in declaration before '>>' token
    6 |   cin >>N;
      |       ^~
a.cc:7:6: error: 'N' was not declared in this scope
    7 |   if(N-700 >=0 && N-700 <100){
      |      ^
Language: C

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


int main() {
    int N;
    cin >> N;
    Ans = "No";
    if(N%10 == 7)Ans = "Yes";
    N /= 10;
        if(N%10 == 7)Ans = "Yes";
    N /= 10;
        if(N%10 == 7)Ans = "Yes";

        cout >> Ans >> 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

using System;

namespace LevelA
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = int.Parse(Console.ReadLine());

            var _x = x / 100;
            var __x = x / 10-_x*10;
            var ___x = x - (_x * 100 + __x * 10);

            if (_x % 7 == 0|| __x%7==0||___x%7==0)
                Console.WriteLine("Yes");
            else
                Console.WriteLine("No");
        }
    }
}


Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:3:1: error: unknown type name 'namespace'
    3 | namespace LevelA
      | ^~~~~~~~~
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | {
      | ^
Language: C

#include <iostream>
#include <string>
using namespace std;
int main ()
{
	int n,temp;
	bool lucky=false;
	cin>>n;
	while(n)
	{
		
		temp=n%10;
		//cout<<temp<<endl;
		if(temp==7)lucky=true;
		n/=10;
		
	}
	if(lucky)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<stdio.h>
int main()
{
  int n,c=0,ans;
  scanf("%d",&n);
  while(n!=0)
  {
    ans=n%10;
    if(ans==7)
    {
      c=1;
      break;
    }
    n/=10;
  }

Compiler output:
main.c: In function 'main':
main.c:15:3: error: expected declaration or statement at end of input
   15 |   }
      |   ^
Language: C

#include<iostream>

using namespace std;

int main()
{
  string N;
  char c[1];
  int n;
  cin >> N;
  for(int i = 0 ; i < 3 ; i++)
  {
    c[0] = N[i];
    n = atoi(c);
    if( n == 7 )
      cout << "Yes";
    else if( n!= 7 && i==2)
      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>
#include <string>
using namespace std;

int main() {
    string s;
    cin >> s;
    if(s[0] == '7' || s[1] == '7' || s[2] == '7') {
        cout << "Yes" << endl;
    } else {
        cout << "No" << 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 <bits/stdc++.h>
#define div1 1000000007
const long long INF = 1LL << 60;
using namespace std;
typedef long long ll;
typedef long double ld;
// a>b -> a==b;
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
// a<b -> a==b;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }

int main(void)
{
    string N;

    cin >> N;

    if(N[0]=='7' || N[1]=='7' || N[2]=='7'){
        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 <bits/stdc++.h>
#include <cstdlib>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
    string n;
    cin >> n;
    int s = n.length();
    rep(i, s) {
        if (n.substr(i, 1) == "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;

#define ll long long int 

int main()
{int n,x;
int p=0;
cin>>n;
for(int i=0;i<3;i++)
{   x=n%10  ;
	if(x==7)
		{  p=1;}
	n=n/10;
   }

if(p==1)
	{ 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 <iostream>
#include<bits/stdc++.h>

using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)

typedef long long ll;

int main(){
    int n;
    cin >> n;
    bool judge = false;
    if(n%10 == 7) judge = true;
    n /= 10;
    if(n%10 == 7) judge = true;
    n /= 10;
    if(n%10 == 7) judge = true;
    
    if(judge == true) cout << "Yes" << endl;
    if(judge == false) cout << "No" << 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;
  while(n>1)
  {
    if(n%10 == 7)
    {
      cout<<"Yes";
      return 0;
    }
	n = n/10;
  }
  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 a, b;
	bool f = false;
	cin >> a;
	if (a % 10 == 7) f = true;
	if (a / 10 % 10 == 7) f = true;
	if (a / 100 % 10 == 7)f = true;
	if (f) {
		cout << "Yes";
	}
	else {
		cout << "No";
	}
}


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


n=int(input())
n= [int(x) for x in list(str(n))]


if (7 in n):
    print("Yes")

else:
    print("No")


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

#include <bits/stdc++.h>

using namespace std;

int main(){
    int a,b,c,n;
    cin >> n;
    a = n/100;
    b = (n%100)/10;
    c = (n%10);

    if(a==7||b==7||c==7){
        cout << "Yes" <<endl;
    }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;
#define rep(i, n) for (int i = 0; i < n; i++)
#define inf 1000000000
typedef long long ll;

int main(){
    int n;
    cin >> n;

    int ama;

    ama = n % 10;
    n /= 10;

    if (ama == 7)
    {
        cout << "Yes" << endl;
        return 0;
    }
    ama = n % 10;
    n /= 10;

     if (ama == 7)
    {
        cout << "Yes" << endl;
        return 0;
    }

    ama = n % 10;
    n /= 10;

    if (ama == 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>
#define rep(i,a,b) for(int i=a; i< (int)(b); ++i)
#define ALL(x) (x).begin(),(x).end()
#define rALL(x) (x).rbegin(),(x).rend()
typedef long double ld;
using ll=long long;
using namespace std;
const auto mod=1e9+7;


int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  
  int n; cin >> n;
  string ans="No";
  while(n>0){
  	int k = n%10;
  	if(k==7) ans="Yes";
  	n/=10;
  }
  cout << ans << 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(){
    int n;
    if(n%100==7){
        cout << 'Yes' << endl;
        return 0;
    }
    int x = n-(n%100)*100;
    if(x%10==7){
        cout << 'Yes' << endl;
        return 0;
    }
    int y = x-(x%10)*10;
    if(y == 7){
        cout << 'Yes' << endl;
      return 0;
    } 
    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;
  int f=0;
  for(int i=0;s[i];++i)
  {
    if(s[i]-'7'==0)
      f=1;
  }
  if(f)
    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() {
  string N;
  cin >> N;
  if (N.at(0) == '7') {
    cout << "Yes" << endl;
  }else if (N.at(1) == '7'){
    cout << "Yes" << endl;
  }else if(N.at(2) == '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 <bits/stdc++.h>
using namespace std;

int main() {
	int N;
	cin>>N;
	int G=N.size();
	int a=0;
  for(int i=0; i<G; i++){
if(N.at(i)==7){
a+=1;
  }
}
if(a=0)
cout<<"No"<<endl;
else{
	cout<<"Yes"<<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 N;
  cin >> N;
    int M= 0;
  for(int i =0;i < 3; i++){
    if(N.at(i) == '7'){
    M++;
    }
      
  }
    if(M != 0){
        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() {
  
  int N,i=0;
  cin >> N;
  
  i = count(N.begin(),N.end(),'7');
  
  if(i != 0){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
  

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: request for member 'begin' in 'N', which is of non-class type 'int'
   11 |   i = count(N.begin(),N.end(),'7');
      |               ^~~~~
a.cc:11:25: error: request for member 'end' in 'N', which is of non-class type 'int'
   11 |   i = count(N.begin(),N.end(),'7');
      |                         ^~~
Language: C++

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

int main() {
  int N;
  cin>>N;
  if(N.at(1)==7||N.at(2)==7||N.at(3)==7){
    cout<<'Yes'<<endl;
  }else{
    cout<<'No'<<endl;
  }
  }

Compiler output:
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     cout<<'Yes'<<endl;
      |           ^~~~~
a.cc:10:11: warning: multi-character character constant [-Wmultichar]
   10 |     cout<<'No'<<endl;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:7:8: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   if(N.at(1)==7||N.at(2)==7||N.at(3)==7){
      |        ^~
a.cc:7:20: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   if(N.at(1)==7||N.at(2)==7||N.at(3)==7){
      |                    ^~
a.cc:7:32: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   if(N.at(1)==7||N.at(2)==7||N.at(3)==7){
      |                                ^~
Language: C

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

int main()
{
    int n;
    cin >> n;

    string str = to_string(n);

    if (str.find("7") == string::npos)
    {
        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 <bits/stdc++.h>
using namespace std;
 
int main() {
  string N;
  cin >> N;
  
  int a = N.size();
  int count = 0;
  
  for(int i = 0; i < a; i++){
    if(N.at(i) == 7){
      count++;
    }
  }
  
  if(count > 0){
    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 <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <vector>

using namespace std;
using LLONG = long long;
const LLONG MOD = 1000000007;

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


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

N = int(input())
flag = 0

while N > 0:
    n = N%10
    # print(n)
    if n == 7:
        print("Yes")
        flag = 1
        break

    N = N//10

if flag == 0:
    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:5: error: expected expression before 'int'
    1 | N = int(input())
      |     ^~~
main.c:6:7: error: invalid preprocessing directive #print
    6 |     # print(n)
      |       ^~~~~
Language: C

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

int main(){
    const int N = 3;
    int A[N];

    for(int i=0; i<N; i++){
        cin >> A[i];
    }

    int v = 0;

    for(int i=0; i<N; i++){
        if(A[i] == 7){
            v = v+1;
        }else{
            v = v+0;
        }
    }

    if(v == 0){
        cout << "No" << endl;
    }else{
        cout << "Yes" << 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 N,a,b;
  cin>>N;
  a=N/10;
  b=N/100;
  if(N%10==7){
    cout<<"Yes"<<ensl;
  }
  else if(a%10==7){
    cout<<"Yes"<<endl;
  }
  else if(b==7){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: 'ensl' was not declared in this scope
   10 |     cout<<"Yes"<<ensl;
      |                  ^~~~
Language: C++

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

int main(){
  int a;
  int b=0;
  cin >> a;
  for(int i=0;i<3;i++){
    if(a%10==7){
      b=1;
      break;
    }
    a/=10;
  }
  if(b==1) cout << "Yes" << endl;
  else cout << "No" << endl;
  }

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclide<bits/stdc++.h>
a.cc:15:12: error: 'cout' was not declared in this scope
   15 |   if(b==1) cout << "Yes" << endl;
      |            ^~~~
a.cc:15:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:29: error: 'endl' was not declared in this scope
   15 |   if(b==1) cout << "Yes" << endl;
      |                             ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclide<bits/stdc++.h>
a.cc:16:8: error: 'cout' was not declared in this scope
   16 |   else cout << "No" << endl;
      |        ^~~~
a.cc:16:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:24: error: 'endl' was not declared in this scope
   16 |   else cout << "No" << endl;
      |                        ^~~~
a.cc:16:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

n=input()
ans="No"
for i in range(3):
    if n[i]==7:
        ans="Yes"
        break
print(ans)


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:3: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n=input()
      |   ^~~~~
main.c:1:3: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'ans'
    2 | ans="No"
      | ^~~
Language: C++

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

int main() {
    bool flag = false;
	std::string str;
  	std::cin >> str;
  	for(int i = 0;i < 3;i++){
    	if(str.at(i) == '7'){
            flag = true
        	std::cout << "Yes" << std::endl;
            break;
        }
    }
    if(!flag){
      std::cout << "No" << std::endl;
    }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: expected ';' before 'std'
   11 |             flag = true
      |                        ^
      |                        ;
   12 |                 std::cout << "Yes" << std::endl;
      |                 ~~~
Language: C

#include <bits/stdc++.h>

using namespace std;

string A(int N) {
	while (N) {
		if (N % 10 == 7)
			return "Yes";
		N /= 10;
	}
	return "No";
}

int main() {
	int N;
	cin >> N;
	cout << A(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 <iostream>
using namespace std;

string S;

int main() {
  cin >> S;
  if(S[0]=='7'||S[1]=='7'||S[2]=='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() {
  int N;
  cin >> N;
  if(N % 10 == 7 || N / 10 == 7 || N /100 == 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>
#include <vector>
#include <algorithm>
#define ll long long
using namespace std;
int main(){
    string n;
    cin>>n;
    
    for(int i=0;i<n.length();i++){
        if('7'==n[i]){
            cout<<"Yes";
            return 0;
        }
    }
    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()
{
    int n;
    cin>>n;
    if(n%10==7 || (n/10)%10==7 || n/100==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++

clude<bits/stdc++.h>
using namespace std;
#define ll long long
#define int ll
#define pii pair<int,int>
#define fi first
#define se second
#define mp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define M 998244353
 
int32_t main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t=1;
 
    while(t--)
    {
        int N;
        if(N%10==7 || (N/10)%10==7 || ((N/10)/10)%10==7)
        {
            cout<<"YES";
        }
        else cout<<"NO";
    }
 
   return 0;
 
//    cout<<"Sum of x+y = " << z;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<bits/stdc++.h>
      | ^~~~~
a.cc:12:1: error: 'int32_t' does not name a type
   12 | int32_t main() {
      | ^~~~~~~
a.cc:1:1: note: 'int32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | clude<bits/stdc++.h>
Language: C


#include<iostream>
#include <string.h>
#include<stdio.h>
#include <math.h>

using namespace std;

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

	if ((N + 3) % 10 == 0 || (N + 30) % 100 == N % 10 || (N + 300) % 1000 == N % 100 ) cout << "Yes" << endl;
	else cout << "No" << endl;
	
return 0;
}


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

/************************************
/ AUTHOR : YATHARTH GOSWAMI         /  
/ ALIAS : hacker_yg                 /
/ INSTITUTE : IIT Kanpur            /
************************************/
//          TEMPLATE                //

#include <bits/stdc++.h>

#define ll long long
#define MOD 1000000007
#define pb push_back
#define mp make_pair
#define F first
#define S second

using namespace std;

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



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


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

int main(int argc, const char * argv[]) {

    string N = "";
    cin >> N;
    
    int result = N.find("7");
    
    if (result == string::npos) {
        cout << "No";
    }else{
        cout << "Yes";
    }
    
    return 0;
}



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

N = list(input())
print("Yes" if "7" in N else "No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = list(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 'list' [-Wimplicit-function-declaration]
    1 | N = list(input())
      |     ^~~~
main.c:1:10: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = list(input())
      |          ^~~~~
main.c:1:5: error: initializer element is not constant
    1 | N = list(input())
      |     ^~~~
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print("Yes" if "7" in N else "No")
      | ^~~~~
Language: C

#include <stdio.h>
int main(){
  int m=0,n,cnt=0,i=0;
  scanf("%d",&n);
   while(n!=0){
    number = n / 10;
    ++cnt;
  }
	while(cnt>0){
      m=n%10;
      i=m*10;
      if(m-i==7){
        printf("Yes\n");
        return 0;
      }
    }

        printf("No\n");
}

Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'number' undeclared (first use in this function)
    6 |     number = n / 10;
      |     ^~~~~~
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < n; i++)
#define pb push_back
using namespace std;
typedef long long ll;

int main(){
  int n;
  cin>>n;
  string p = to_string(n);
  rep(i,3){
    if(p[i] == '7'){
      cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"<< endl;
}


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>
using namespace std;

int main() {
	int n,tmp,flag=0;
	cin>>n;
	
	tmp=n/100;
	n=n%100;
	if(tmp==7){
		flag=1;
	}
	
	tmp=n/10;
	n=n%10;
	if(tmp==7){
		flag=1;
	}
	
	tmp=n;
	if(tmp==7){
		flag=1;
	}
	if(flag==1){
		cout<<"Yes"<<endl;
	}else{
		cout<<"No"<<endl;
	}
	// your code goes here
	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 n;
  cin>>n;
  int a=n%10;
  n/=10;
  int b=n%10;
  n/=10;
  if(a==7||b==7||n==7)
    cout<<"Yes\n";
  else
    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 <bits/stdc++.h>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |         if(N.at(i)==7){
      |              ^~
Language: C

#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <complex>
#include <array>
#include <iomanip>
using namespace std;

#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define ALL(c) (c).begin(), (c).end()

typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<long double> VD;
typedef vector<VI> VVI;
typedef vector<VL> VVL;
typedef vector<VD> VVD;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;

template<typename T> void chmin(T &a, T b) { if (a > b) a = b; }
template<typename T> void chmax(T &a, T b) { if (a < b) a = b; }

int in() { int x; scanf("%d", &x); return x; }
ll lin() { ll x; scanf("%lld", &x); return x; }
#define INF 1LL<<60

int main() {
    string N;
    cin >> N;
    REP(i, N.length()) {
        if(N[i] == '7') {
            cout << "Yes" << endl;
            return 0;
        }
    }

    cout << "No" << endl;
    return 0;
}

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

N = str(input())
if N[0] == "7" or N[1] == "7" or N[2] == "7":
    print("Yes")
else:
    print("No")


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = str(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 'str' [-Wimplicit-function-declaration]
    1 | N = str(input())
      |     ^~~
main.c:1:9: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = str(input())
      |         ^~~~~
main.c:1:5: error: initializer element is not constant
    1 | N = str(input())
      |     ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if N[0] == "7" or N[1] == "7" or N[2] == "7":
      | ^~
Language: C

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

int main() {
	string N;
  bool A=false;
  cin>>N;
  if(N.at(0)=='7
    A=true;
  }
  if(N.at(1)=='7'){
    A=true;
  }
  if(N.at(2)=='7'){
    A=true;
  }
  if(A==true){
    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

/*01 02 03 12 13 23　と６回見ていくパターン 
for(int i=0;i<n-1;i++){
  for(int j=i+1;j<n;j++){
    }
  }
*/
//vector<vector<int>> data(3, vector<int>(4));//int型の2次元配列(3×4要素の)の宣言
//int64_t a;
//10のi乗pow(10, i);
/*string s; stringでの文字列を数字型に変える方法
  cin >> s;
  rep(i,s.size()-2) {
  int a= (s.at(i)-'0')*100 + (s.at(i+1)-'0')*10+ s.at(i+2) -'0';
    */
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  string s;
  cin >> s;
  if(s.at(0)-'0'==7)cout << "Yes"<<endl;
  else if(s.at(1)-'0'==7)cout << "Yes"<<endl;
  else if(s.at(2)-'0'==7)cout << "Yes"<<endl;
  else  cout << "No"<<endl;
} 

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

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

int main() {
  int N;
  int a[2];
  cin >> N;
  
  N / 100 = a[0];
  ( N % 100 ) /10 = a[1];
  ( N % 10 ) = a[2];
  
  if(a[0] == 7 || a[1] == 7 || a[2] == 7){
    cout << "Yes" << endl;
  }
  
  else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: lvalue required as left operand of assignment
    9 |   N / 100 = a[0];
      |   ~~^~~~~
a.cc:10:15: error: lvalue required as left operand of assignment
   10 |   ( N % 100 ) /10 = a[1];
      |   ~~~~~~~~~~~~^~~
a.cc:11:7: error: lvalue required as left operand of assignment
   11 |   ( N % 10 ) = a[2];
      |   ~~~~^~~~~~
Language: C

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

int main(){
  int n,tmp;
  cin >> n;
  for(int i=0;i<3;i++){
    tmp = n%10;
    n = n/10;
    if(tmp == 7){
      cout << "Yes" << endl;
      return 0;
    }
  }
  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 <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <tuple>
#include <map>
#include <math.h>
#include <algorithm> // std::sort, std::min
#include <iomanip> // std::setprecision
#include <cmath> // std::ceil

int main() {
  long int N;
  std::cin >> N;

  long int num = N;
  for (int i=0; i<3; ++i) {
    if (num%10 == 7) {
      std::cout << "Yes" << std::endl;
      return 0;
    }
    num /= 10;
  }
  std::cout << "No" << std::endl;
  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>
#include<algorithm>
#include<sstream>
#include<stack>
#include<cmath>
#include<vector>
#include<iomanip>
#include<map>
#include<set>
#include<queue>
#include<deque>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(int i = 0; i < n;i++)
#define ALL(a)  (a).begin(),(a).end()
#define fix  fixed << setprecision(10)
const int MOD = 1000000007;
const ll INF = (1LL << 60);
string s; ll n, m, k, q = 0, ans, sum =INF; 
int main() {
    cin >> s;
    rep(i, 3) {
        if (s[i] == '7') {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}

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;
  cin >> N;
  while(N>0){
    if(N%10==7){
      cout << "Yes" << endl;
      return 0;
    }
    N/=10;
  }
  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>
#define int long long

using namespace std;

signed main(){
    int n;
    cin>>n;
    while(n){
        if(n%10==7){
            cout<<"YES";
            return 0;
        }
        n /= 10;
    }
    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 n,a,b;
  cin>>n;
  a=n/10:
  b=n/100;
  string str;
  str="No";
  if(a%10==7 || b%10==7 || n%10==7){
    str="Yes";
  }
  cout<<str;
}

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;
typedef pair<ll, ll> P;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define all(v) v.begin(), v.end()

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: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 <stdint.h>
#include <algorithm>
#include <vector>


using namespace std;

int main() {
	int N;
	cin >> N;
	
	if(N/100 ==7 || N/10%10 == 7 || N %10 == 7)
		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


n=input()

flg='7' in n
if flg:
	print("Yes")
else:
	print("No")

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