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

#include<bits/stdc++.h>
using namespace std;
typedef int64_t ll;
typedef long double ld;
const ll MOD=1000000007;
#define rep(i,n) for(ll i=0;i<(ll)(n);i++)
long long gcd(long long a,long long b){
    ll gcdmax=max(a,b);
    ll gcdmin=min(a,b);
    while(true){
        if(gcdmax%gcdmin==0)break;
        else gcdmax%=gcdmin;
        swap(gcdmin,gcdmax);
    }
    return gcdmin;
}
ll powerup(ll N,ll P,ll M){
    if(P==0)return 1;
    else if(P%2==0){
        ll t=powerup(N,P/2,M);
        return t*t%M;
    }
    else return N*powerup(N,P-1,M)%M;
}
vector<ll> find_divisor(ll N){
  ll k=1;
  while(k*k<=N){
    k++;
  }
  vector<ll> A(1);
  rep(i,k){
    if(i==1)A.at(0)=1;
    else if(i>=2){
      if(N%i==0)A.push_back(i);
    }
  }
  ll t=0;
  t=A.size();
  rep(i,t){
    if(A.at(t-i-1)*A.at(t-i-1)!=N)A.push_back(N/A.at(t-1-i));
  }
  return A;
}
int main()
{
  char A;
  bool B=false;
  rep(i,3){
    cin>>A;
    if(A=='7')B=true;
  }
  if(B)cout<<"Yes"<<endl;
  else 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<bits/stdc++.h>
using namespace std;

#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
typedef long long ll;
//typedef long long int;
const ll M = 1000000007;
ll A, B, C, D, G, H, N, L, K, P, Q, R, W, X, Y, Z;
string S, T;

signed main(){
	std::cin >> S;
  if(S[0]!=7&&S[1]!=7&&S[2]!=7)
    cout<<"No"<<endl;
  else cout<<"Yes"<<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> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cmath>
using namespace std;
#define REP(i,m,n) for (int i = (int) (m); i < (int) (n); i++)
#define REP1(i,m,n) for (int i = (int) (m); i <= (int) (n); i++)
#define all(x)     (x).begin(), (x).end()
#define SZ(x)      ((int) (x).size())
int main(){
    int N,p,q,r;
    cin>>N;
    p=N/100;
    q=(N-100*p)/10;
    r=N-100*p-10*q;
    if(p==7 || q==7 || r==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> // cout, endl, cin
      |          ^~~~~~~~~~
compilation terminated.
Language: C

/*Code by Codercjh*/
#include<bits/stdc++.h>
#define fr(i,a,b) for(int i=(a);i<=(b);++i)
#define rf(i,a,b) for(int i=(a);i>=(b);--i)
#define min(a,b) (a<b?a:b)
#define max(a,b) (a>b?a:b)
using namespace std;
typedef long long ll;
template<typename T>
inline void read(T &x){
	char c=getchar();T fh=0;bool f=false;
	while(!isdigit(c))f|=(c=='-'),c=getchar();
	while(isdigit(c))fh=(fh<<1)+(fh<<3)+(c^48),c=getchar();
	x=f?-fh:fh;
	return;
}
string s; 
int main(){
    cin>>s;
    for(int i=0;i<s.size();++i){
    	if(s[i]=='7')return puts("Yes"),0;
	}
	puts("No");
	return 0;
}


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

#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
int main()
{
    string n;
    cin >> n;
    for(int i = 0;i < 3;i++)
    {
        if(n[i] == '7')
        {
            cout << "Yes\n";
            return 0;
        }
    }
    cout << "No\n";
    
    return 0;
}

Compiler output:
main.c:2:10: fatal error: bits/stdc++.h: No such file or directory
    2 | #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:2:1: error: expected ',' or ';' before 'if'
    2 | if '7' in n:
      | ^~
main.c:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
Language: C

#include<iostream>
#include<vector>
#include<algorithm>
#include<cmath>
#include<ctime>
#include<queue>

using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int> >;
using pii = pair<int, int>;
using ppi = pair<pii, int>;

int f_dir[2][4] = {{-1, 0, 1, 0}, {0, 1, 0, -1}}; //↑→↓←
int e_dir[2][8] = {{-1, -1, -1, 0, 0, 1, 1, 1}, {-1, 0, 1, -1, 1, -1, 0, 1}};
bool is_in_field(int y, int x, int h, int w){
  return (y >= 0 && y < h && x >= 0 && x < w);
}

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int ti = clock();
  // start-----------------------------------------------
  int n; cin >> n;
  if((n % 10) == 7 || (n%100)/10 == 7 || (n%1000) / 100 == 7) cout << "Yes" << endl;
  else cout << "No" << endl;

  // end-----------------------------------------------
  // cerr << 1.0 * (clock() - ti) / CLOCKS_PER_SEC << endl;
}


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()
{
  char s[3];
  cin>>s;
  for(int =0;i<3;i++) 
    if(s[i]='7'){cout<<"Yes";return 0;}
  cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected unqualified-id before '=' token
    7 |   for(int =0;i<3;i++)
      |           ^
a.cc:7:10: error: expected ';' before '=' token
    7 |   for(int =0;i<3;i++)
      |          ^~
      |          ;
a.cc:7:11: error: expected primary-expression before '=' token
    7 |   for(int =0;i<3;i++)
      |           ^
a.cc:7:14: error: 'i' was not declared in this scope
    7 |   for(int =0;i<3;i++)
      |              ^
a.cc:7:17: error: expected ')' before ';' token
    7 |   for(int =0;i<3;i++)
      |      ~          ^
      |                 )
a.cc:7:18: error: 'i' was not declared in this scope
    7 |   for(int =0;i<3;i++)
      |                  ^
Language: C

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

int main() {
	long long n, r = 0;
	for (int i = 0; i < n; i++) {
		if (i % 3 != 0 && i % 5 != 0) {
			r = r + i;
		}
	}
	cout << r << 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()
{
 char n[10];
  cin>>n;
  if(char[0]==7||char[1]==7||char[2]==7)
   cout<<"Yes";
    else
      cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected unqualified-id before '[' token
    7 |   if(char[0]==7||char[1]==7||char[2]==7)
      |          ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
 char n[10];
  cin>>n;
  if(char[0]==7||char[1]==7||char[2]==7)
    cout<<"Yes"
    else
      cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected unqualified-id before '[' token
    7 |   if(char[0]==7||char[1]==7||char[2]==7)
      |          ^
a.cc:8:16: error: expected ';' before 'else'
    8 |     cout<<"Yes"
      |                ^
      |                ;
    9 |     else
      |     ~~~~
Language: C

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

int main(){
    string n;cin>>n;
    int flag=0;
    for(int i=0;i<3;i++){
        if(n[i]=='7') flag=1;
    }
    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 <iostream>
#include <algorithm>
#include <functional>
#include <vector>
#include <string>
#include <array>
#include <cmath>
#include <queue>
#include <stack>
#include <numeric>
using namespace std;
int main() {
	string n;
	cin >> n;
	if (n[0] == '7' || n[1] == '7' || n[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

// file creato da gio il 2020-04-12 16:32:10.576145

#include <bits/stdc++.h>
#define FAST 

#ifdef FAST
#pragma GCC optimize("Ofast")
#pragma GCC target("fma,sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native")
#pragma GCC optimize("unroll-loops")
#endif

#define S second
#define F first
#define PB push_back
using namespace std;

int main(){
	//freopen("output","w",stdout);
	//freopen("input","r",stdin);
#ifdef FAST
	ios::sync_with_stdio(0);
  	cin.tie(0);
#endif

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{long long int n;
 cin>>n;
 long long int a[n];
 vector<long long int>vec1,vec2;
 for(long long int i=0;i<n;i++)
   cin>>a[i];
 for(long long int i=0;i<n;i=i+2)
 {vec1.push_back(a[i]);
  if(i+1<n)
    vec2.push_back(a[i+1]);}
 sort(vec1.begin(),vec.end());
 sort(vec2.begin(),vec.end());
 long long int p1,q1;
 p1=0;
 q1=vec1[0];
 for(long long int i=0;i<vec1.size();i++)
 {p1=max(p1+vec1[i],vec1[i]);
  q1=max(p1,q1);}
 long long int p2=0,q2=vec2[0];
 for(long long int i=0;i<vec2.size();i++)
 {p2=max(p2+vec2[i],vec2[i]);
  q2=max(p2,q2);}
 if(q2>q1)
    cout<<q2;
 else
   cout<<q1;}
 


Compiler output:
a.cc: In function 'int main()':
a.cc:14:20: error: 'vec' was not declared in this scope; did you mean 'vec2'?
   14 |  sort(vec1.begin(),vec.end());
      |                    ^~~
      |                    vec2
Language: C

import java.util.*;
import java.util.stream.Collectors;
import java.io.*;
import java.nio.charset.StandardCharsets;

public class Main {

	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		if (tokens[0].contains("7")) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

	void calc() {
	}

	void showResult() {
	}
}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.util.stream.Collectors;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.util.stream.Collectors;
      |            ^
main.c:3:1: error: unknown type name 'import'
    3 | import java.io.*;
      | ^~~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.io.*;
      |            ^
main.c:4:1: error: unknown type name 'import'
    4 | import java.nio.charset.StandardCharsets;
      | ^~~~~~
main.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import java.nio.charset.StandardCharsets;
      |            ^
main.c:6:1: error: unknown type name 'public'
    6 | public class Main {
      | ^~~~~~
main.c:6:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    6 | public class Main {
      |              ^~~~
Language: C

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
	public static void main(final String[] args){
    
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    List<Integer> list = new ArrayList<>();
    while (n > 0) {
        list.add(n % 10);
        n /= 10;
    }
    for(int i = 0; i < list.size(); i++){
        if(list.get(i).equals(7)){
            count++;
        }
    }
    if(count > 0){
        System.out.println("Yes");
    }else{
        System.out.println("No");
    }
    
	}
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.io.BufferedReader;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.BufferedReader;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.io.*;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.*;
      |            ^
main.c:3:1: error: unknown type name 'import'
    3 | import java.util.*;
      | ^~~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.util.*;
      |            ^
main.c:4:1: error: unknown type name 'import'
    4 | import java.util.ArrayList;
      | ^~~~~~
main.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import java.util.ArrayList;
      |            ^
main.c:5:1: error: unknown type name 'import'
    5 | import java.util.Iterator;
      | ^~~~~~
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | import java.util.Iterator;
      |            ^
main.c:6:1: error: unknown type name 'import'
    6 | import java.util.List;
      | ^~~~~~
main.c:6:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    6 | import java.util.List;
      |            ^
main.c:7:1: error: unknown type name 'import'
    7 | import java.util.Collections;
      | ^~~~~~
main.c:7:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    7 | import java.util.Collections;
      |            ^
main.c:8:1: error: unknown type name 'public'
    8 | public class Main {
      | ^~~~~~
main.c:8:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    8 | public class Main {
      |              ^~~~
Language: C

#include <iostream>
#include <string>
using namespace std;
int main(void){
    string a;
    cin >> a;
    if(a[0]!='7'&&a[1]!='7'&&a[2]!='7'){
        cout << "No" << endl;
    }
    else{
        cout << "Yes" << 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>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define mod %
using namespace std;
using ll = long long;
using P = pair<int,int>;

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" << 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
//------------------------------------------
#include <bits/stdc++.h>
//DEFINE
//------------------------------------------
#define ll long long
#define ld long double
#define ALLv(a)  (a).begin(),(a).end()
#define ALL(a,n)  (a),(a)+n
#define vi vector<long long>
#define vd vector<long double>
#define vs vector<string>
//CONST
//------------------------------------------
#define INF 1010000000000000017LL
#define MOD 1000000007LL
#define EPS 1e-12
#define PI 3.14159265358979323846
//REPEAT
//------------------------------------------
#define   FOR(i,m,n) for(ll (i)=(m);   (i)<(n);  (i)++)
#define   REP(i,n)   for(ll (i)=0;     (i)<(n);  (i)++)
#define  REPS(i,x)   for(ll (i)=1;     (i)<=(x); (i)++)
#define  RREP(i,x)   for(ll (i)=(x)-1; (i)>=0;   (i)--)
#define RREPS(i,x)   for(ll (i)=(x);   (i)> 0;   (i)--)
#define  WREP(i,in,j,jn) REP(i,in)REP(j,jn)
//-----------------------------------------
#define dcml(n) fixed<<setprecision(n)
using namespace std;
int main(void){
    ll N;cin>>N;
    if(N/100==7||N%100/10==7||N%10==7)cout<<"Yes\n";
    else cout<<"No"<<"\n";
}

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

#include <bits/stdc++.h>
using namespace std;
#define rep(i,r) for (int i = 0; i < r; i++)
#define repeq(i,r) for (int i = 0; i <= r; i++)
#define isc(n) scanf("%d", &n)

int main() {
  int N; isc(N);
  string res = "No";
  if (N / 100 == 7) res = "Yes";
  if (N % 100 / 10 == 7) res = "Yes";
  if (N % 10 == 7) res = "Yes";
  cout << res << 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 <algorithm>
#include <cmath>
using namespace std;

void solve(){
  string s; cin >> s;
  string ans = "No";
  for(int i = 0; i < s.size(); i++){
    if(s[i] == '7') ans = "Yes";
  }
  cout << ans << endl;
  return;
}
int main(){
  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 <bits/stdc++.h>
#include<random>
using namespace std;
 
#define pb push_back
#define ff first
#define ss second
#define endl '\n'
#define fast ios::sync_with_stdio(false); cin.tie(NULL);
const double eps = 1e-6;



/////////////////////////////////////////////

void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print(unsigned long x) {cerr << x;}
void __print(unsigned long long x) {cerr << x;}
void __print(float x) {cerr << x;}
void __print(double x) {cerr << x;}
void __print(long double x) {cerr << x;}
void __print(char x) {cerr << '\'' << x << '\'';}
void __print(const char *x) {cerr << '\"' << x << '\"';}
void __print(const string &x) {cerr << '\"' << x << '\"';}
void __print(bool x) {cerr << (x ? "true" : "false");}

template<typename T, typename V>
void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ','; __print(x.second); cerr << '}';}
template<typename T>
void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i: x) cerr << (f++ ? "," : ""), __print(i); cerr << "}";}
void _print() {cerr << "]\n";}
template <typename T, typename... V>
void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}
#ifndef ONLINE_JUDGE
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define debug(x...)
#endif

////////////////////////////////

//#define int long long

void solve(){

	int n;
	cin>>n;

	while(n){

		int x = n%10;

		if(x==7){

			cout<<"Yes\n";
			return;
		}
		n/=10;
	}

	cout<<"No\n";
}

signed main(){

    fast;
    int t = 1;
    //cin>>t;
    for(int i = 1 ; i <= t ; ++i){

    	solve();
    	
    	//cout<<"Case #"<<i<<": ";
    }
}


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

<studio.h>

int main()
{
int a;
int b;

scanf("%d",a);
  
if(a>1000000)
{
  return 0;
}

  b=0;
 for(int i=1; i<a+1; i++)
 {
   if(i%15==0 || i%3 ==0 || i%5 == 0)
   {
   }
   else
   {
     b = b + i;
   }
 }
  
  printf("%d",b);
}
 }
}


Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <studio.h>
      | ^
main.c:29:2: error: expected identifier or '(' before '}' token
   29 |  }
      |  ^
main.c:30:1: error: expected identifier or '(' before '}' token
   30 | }
      | ^
Language: C

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

class Main {

    public static void main(String[] args) throws Exception {

        try {

            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            List<String> input = Arrays.asList(br.readLine().split(""));

            List<Integer> numbers = new ArrayList<>();
            for (String s : input) {
                numbers.add(Integer.parseInt(s));
            }

            String result = "No";
            for (int number : numbers) {
                if (number == 7) {
                    result = "Yes";
                    break;
                }
            }

            System.out.println(result);
        } catch (IOException | NumberFormatException e) {
            e.printStackTrace();
            System.exit(0);
        } catch (final Exception e) {
            e.printStackTrace();
            System.exit(0);
        }
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.io.BufferedReader;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.BufferedReader;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.io.IOException;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.IOException;
      |            ^
main.c:3:1: error: unknown type name 'import'
    3 | import java.io.InputStreamReader;
      | ^~~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.io.InputStreamReader;
      |            ^
main.c:4:1: error: unknown type name 'import'
    4 | import java.util.ArrayList;
      | ^~~~~~
main.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import java.util.ArrayList;
      |            ^
main.c:5:1: error: unknown type name 'import'
    5 | import java.util.Arrays;
      | ^~~~~~
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | import java.util.Arrays;
      |            ^
main.c:6:1: error: unknown type name 'import'
    6 | import java.util.List;
      | ^~~~~~
main.c:6:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    6 | import java.util.List;
      |            ^
main.c:8:1: error: unknown type name 'class'
    8 | class Main {
      | ^~~~~
main.c:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    8 | class Main {
      |            ^
Language: C

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; (i) < (n); ++ (i))
#define loop(i,a,n) for (int i = (a); (i) < (n); ++ (i))
#define ll long long
#define ld long double
#define EPS 0.0000000001
#define INF (int)1e9
#define MOD 0
//#define int ll
using namespace std;
typedef vector<long long> vl;

signed main() {
  string n;
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> n;
  rep(i,int(n.size())) {
    if(n[i] == '7') {
      puts("Yes");
      return 0;
    }
  }
  puts("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 <bits/stdc++.h>
using namespace std;

int main(){
  int n;
  string s;
  std::cin >> n;
  for (int i = 0; i < n.size(); i++) {
    if (n.at(i) == "7") {
      s = "Yes";
    }
    else{
      s = "No";
    }
   
  }
  cout << s << endl;
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: request for member 'size' in 'n', which is of non-class type 'int'
    8 |   for (int i = 0; i < n.size(); i++) {
      |                         ^~~~
a.cc:9:11: error: request for member 'at' in 'n', which is of non-class type 'int'
    9 |     if (n.at(i) == "7") {
      |           ^~
Language: C

#include <bits/stdc++.h>

#define mod 1000000007

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

using namespace std;
typedef long long ll;
const long long INF = 1LL << 60;
 
int main(void){
	
	char a[3];
    cin >> a[0] >> a[1] >> a[2];

    if(a[0] == '7' || a[1] == '7' || a[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<stdio.h>
int main(void){
  int N;
  scanf("%d\n",N);
  if(N%10=7||N%100=7||N%1000=7){
    printf("Yes")
  }else{
printf("No")
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:29: error: lvalue required as left operand of assignment
    5 |   if(N%10=7||N%100=7||N%1000=7){
      |                             ^
main.c:6:18: error: expected ';' before '}' token
    6 |     printf("Yes")
      |                  ^
      |                  ;
    7 |   }else{
      |   ~               
main.c:8:13: error: expected ';' before '}' token
    8 | printf("No")
      |             ^
      |             ;
    9 |   }
      |   ~
Language: C

#include<stdio.h>

int main(){
  int a,b,c,d;
  scanf(%d,&a):
  b = a/100;
  c = a-b*100;
  d = a-b*100-c*10;
   
  if(b==7||c==7||d==7){
    printf("Yes");
  }
  else printf("No");
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected expression before '%' token
    5 |   scanf(%d,&a):
      |         ^
main.c:5:15: error: expected ';' before ':' token
    5 |   scanf(%d,&a):
      |               ^
      |               ;
Language: C++

#include<iostream>
using namespace std; 

int gcd(int a,int b){
  if(a<b){
    a=a+b;
    b=a-b;
    a=a-b;
  }
  if(b==a){
    return b;
  }else if(b==1){
    return 1;
  }else{
    return gcd(a-b,b);
  }
}
 
int main(){
  int k;
  long long sum=0;
  for(int a=1;a<=k;a++){
    sum+=a;//gcd(a,a,a)
    for(int d=1;d<=k-a;d++){
      sum+=3*gcd(a,d);
      for(int f=1;f<=k-a-e;f++){
        sum+=6*gcd(a,gcd(d,f));
      }
    }
  }
  cout<<sum<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:26: error: 'e' was not declared in this scope
   26 |       for(int f=1;f<=k-a-e;f++){
      |                          ^
Language: C

#include(stdio.h)
int main(void){
  int N;
  scanf("%d\n",N);
  if(N%10=7||N%100=7||N%1000=7){
    printf("Yes")
  }else{
printf("No")
  }
  return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d\n",N);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d\n",N);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:29: error: lvalue required as left operand of assignment
    5 |   if(N%10=7||N%100=7||N%1000=7){
      |                             ^
main.c:6:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |     printf("Yes")
      |     ^~~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:18: error: expected ';' before '}' token
    6 |     printf("Yes")
      |                  ^
      |                  ;
    7 |   }else{
      |   ~               
main.c:8:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 | printf("No")
      | ^~~~~~
main.c:8:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:13: error: expected ';' before '}' token
    8 | printf("No")
      |             ^
      |             ;
    9 |   }
      |   ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    if(n/100==7 or (n/10)%10==7 or n%10==7)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    }
}



Compiler output:
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namesapce std;
int main()
{
  int n,r;
  cin>>n;
  while(n)
  {
    r=n%10;
    n/=10;
    if(r==7)
    {
      cout<<"Yes"<<endl;
      break;
    }
  }}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

//Bi-smi llāh

#include<bits/stdc++.h>
using namespace std;
#define nn '\n'
#define watch(x) cout << (#x) <<" is "<<(x)<<endl;
#define pb push_back
#define F(i, n) for(int i = 0; i < n; ++i)
#define Fe(i, n) for(auto i: n)
#define  ll long long int



int main(){
	ios::sync_with_stdio(0);
	cin.tie(0);
	int n; cin >> n;
	while(n){
			if(n % 10 == 7){
					cout << "Yes" << nn;
					return 0;
				}
			n /= 10;
		}
	cout << "No" << nn;
	return 0;
	}


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

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

int main() {
  int N,ans=0;
  cin >> N;

  if(N%10==7){
    ans=1;
  }
  if(N/10%10==7){
    ans=1;
  }
  if(N/100==7){
    ans=1;
  }
  if(ans==1) {
    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 a, b, c;
    a = N/100;
    b = (N - a*100)/10;
    c = (N - a * 100 - b * 10);
    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() {
    string n;
    cin >> n;

    if(n.find("7") != string::npos){
        cout << "Yes";
    } else {
        cout << "No";
    }
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:4:5: error: 'string' was not declared in this scope
    4 |     string n;
      |     ^~~~~~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> n;
      |     ^~~
a.cc:5:12: error: 'n' was not declared in this scope
    5 |     cin >> n;
      |            ^
a.cc:7:23: error: 'string' is not a class, namespace, or enumeration
    7 |     if(n.find("7") != string::npos){
      |                       ^~~~~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << "Yes";
      |         ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "No";
      |         ^~~~
Language: C

#include <iostream>
using namespace std;
int main() {
    string n;
    cin >> n;

    if(n.find("7") != string::npos){
        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 <bits/stdc++.h>
using namespace std;
 
int main() {
int n;
  cin>>n;
int count=0;
  if(N/100==7){
    count++;
  }
    if(N/10%10==7){
    count++;
  }
    if(N%100%10==7){
    count++;
  }
 
  if(count>=1){
    cout<<'Yes'<<endl;
  }
  else{
    cout<<'No'<<endl;
  }
 
}

Compiler output:
a.cc:19:11: warning: multi-character character constant [-Wmultichar]
   19 |     cout<<'Yes'<<endl;
      |           ^~~~~
a.cc:22:11: warning: multi-character character constant [-Wmultichar]
   22 |     cout<<'No'<<endl;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:8:6: error: 'N' was not declared in this scope
    8 |   if(N/100==7){
      |      ^
a.cc:11:8: error: 'N' was not declared in this scope
   11 |     if(N/10%10==7){
      |        ^
a.cc:14:8: error: 'N' was not declared in this scope
   14 |     if(N%100%10==7){
      |        ^
Language: C

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll,ll> mp;
ll inf =  1e9;


int main(){
 ll a,b,c;
 string s,t;
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: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;
const int mod=1e9+7;
const int mex=5001;
#define ll long long 
#define test int t;cin>>t;while(t--)
#define fast  ios_base::sync_with_stdio(false);cin.tie(NULL);
#define fo(i,a,n) for(int i=a;i<n;i++)
#define rfo(i,a,b) for(int i=a;i>=b;i--)
#define bg begin()
#define en end()
#define fi first
#define se second
#define ub upper_bound
#define lb lower_bound
#define pb push_back
#define veci vector<int>
#define veclli vector<long long int> 
#define all(x) x.begin(),x.end()
#define sci(x) scanf("%d",&x);
#define scc(x) scanf("%c",&x);
#define scs(x) scanf("%s",x);
#define debug(arr,n) for(int i=0;i<n;i++) printf("%d ",arr[i]);
#define sz(x) x.size()
#define loop(x) for(auto it=x.begin();it!= x.end();it++) 
 
 
 
int main()
{
  int n;
  cin>>n;
  int fg=0;
  while(n)
  {
	  if(n%10==7)
	  {
		  fg=1;
	   break;
	  }
	  n=n/10;
  }
  if(fg) cout<<"Yes"<<endl;
  else 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 <bits/stdc++.h>
using namespace std;
 
int main() {
int n;
  cin>>n;
int count=0;
  if(N/100==7){
    count++;
  }
    if(N/10%10==7){
    count++;
  }
    if(N%100%10==7){
    count++;
  }
 
  if(count>=1){
    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(void) {
  string n;
  cin >> n;
  bool ok = false;
  for (int i = 0; i < 3; i++) 
    	if (n[i] == '7') ok = true;
  cout << (ok ? "Yes\n" : "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 <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <fstream> //ofstream
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
std::vector<char> data;
char tmp;
int jd=0;

void solve(){
    rep(i,3){
        if(data.at(i)=='7') {
            jd=1;
        }
    }
    if(jd==0) cout<<"No"<<endl;
    else cout<<"Yes"<<endl;
}

int main(){
    rep(i,3){
        cin>>tmp;
        data.emplace_back(tmp);
    }

    solve();
    return 0;
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'll' was not declared in this scope
    7 | ll n;
      | ^~
a.cc:8:6: error: 'n' was not declared in this scope; did you mean 'yn'?
    8 | cin>>n;
      |      ^
      |      yn
a.cc:9:3: error: expected ';' before 'ans'
    9 | ll ans=0;
      |   ^~~~
      |   ;
a.cc:10:3: error: expected ';' before 'sum'
   10 | ll sum=0;
      |   ^~~~
      |   ;
a.cc:12:1: error: 'ans' was not declared in this scope; did you mean 'abs'?
   12 | ans+=i;
      | ^~~
      | abs
a.cc:17:9: error: 'sum' was not declared in this scope
   17 |         sum+=i;
      |         ^~~
a.cc:19:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
   19 | cout<<ans-sum<<endl;
      |       ^~~
      |       abs
a.cc:19:11: error: 'sum' was not declared in this scope
   19 | cout<<ans-sum<<endl;
      |           ^~~
Language: C++

#include<iostream>
using namesapce std;
int main()
{
  int n,r;
  cin>>n;
  while(n)
  {
    r=n%10;
    n/=10;
    if(r==7)
    {
      cout<<"Yes"<<endl;
      break;
    }
  }
return 0;}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
#define     ll              long long
#define     MAX             100000
#define     FI              freopen("input.txt","r",stdin)
#define     FO              freopen("output.txt","w",stdout)
#define     fast            ios_base::sync_with_stdio(false);cin.tie();cout.tie();
#define     sc(a)           scanf("%d",&a)
#define     sc2(a,b)        scanf("%d %d",&a,&b)


int main()
{
    int n;
    cin>>n;
    string ans = "No\n";
    while(n)
    {
        if(n%10==7)
            ans = "Yes\n";
        n/=10;
    }
    cout<<ans;
    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 <stdio.h>
#include <stdlib.h>

int main(){
  
  char a[3];
  int b = 0;
  
  
  scanf_s("%s",a);
  
  if(a[0] == 7){
    b = 1;
  }
  
  if(a[1] == 7){
    b = 1;
  }
  
  if(a[2] == 7){
    b = 1;
  }  
  
  if(b == 1){
    printf("Yes");
  }else{
    printf("No");
  }
    
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   10 |   scanf_s("%s",a);
      |   ^~~~~~~
      |   scanf
Language: C

#include <bits/stdc++.h>
#include <numeric>
using namespace std;
using Graph = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const long long X=1000000000+7;

int main() {
  int n;
  cin>>n;
  bool ans=true;
  if(n%10!=7){
    n/=10;
    if(n%10!=7){
      n/=10;
      if(n%10!=7)
        ans=false;
    }
  }
  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 <iostream>
using namespace std;
typedef long long ll;
 
int main()
{
  int n;
  bool check=false;
  cin >> n;
  while (n>0)
  {
    if (n%10==7)
    {
      check=true;
      break;
    }
    n/=10;
  }
  if (check) 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 namesapce std;
int main()
{
  int n,r;
  cin>>n;
  while(n)
  {
    r=n%10;
    n/=10;
    if(r==7)
    {
      cout<<"Yes"<<endl;
      break;
    }
  }}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

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


Compiler output:
a.cc:9:41: error: extended character 　 is not valid in an identifier
    9 |   if(n.at(0) == '7' || n.at(1) == '7' ||　n.at(2) = '7')
      |                                         ^
a.cc: In function 'int main()':
a.cc:9:41: error: '\U00003000n' was not declared in this scope
    9 |   if(n.at(0) == '7' || n.at(1) == '7' ||　n.at(2) = '7')
      |                                         ^~~
Language: C

#include <stdio.h>
#include <stdlid.h>

int main(){
  
  char a[3];
  int b = 0;
  
  
  scanf("%s",a);
  
  if(a[0] == 7){
    b = 1;
  }
  
  if(a[1] == 7){
    b = 1;
  }
  
  if(a[2] == 7){
    b = 1;
  }  
  
  if(b == 1){
    printf("Yes");
  }else{
    printf("No");
  }
    
  
  return 0;
}

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

#include <map>
#include <set>
#include <list>
#include <cmath>
#include <deque>
#include <stack>
#include <queue>
#include <bitset>
#include <cstdio>
#include <string>
#include <vector>
#include <utility>
#include <numeric>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <unordered_map>
using namespace std;

void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(float x) {cerr << x;}
void __print(double x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(long double x) {cerr << x;}
void __print(unsigned long x) {cerr << x;}
void __print(unsigned long long x) {cerr << x;}
void __print(char x) {cerr << '\'' << x << '\'';}
void __print(bool x) {cerr << (x ? "true" : "false");}
void __print(const char *x) {cerr << '\"' << x << '\"';}
void __print(const string &x) {cerr << '\"' << x << '\"';}

template<typename T, typename V> void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ','; __print(x.second); cerr << '}';}
template<typename T>void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i : x) cerr << (f++ ? "," : ""), __print(i); cerr << "}";} void _print() {cerr << "]\n";}
template <typename T, typename... V>void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}
#ifdef HOME
#warning CHECK int:ll::INT_MAX:LLONG_MAX
#define maxn 20
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define maxn 2000006
#define gcd __gcd
#define debug(x...)
#endif

#define ff first
#define endl '\n'
#define ss second
#define inf 0x3f3f3f3f
#define MOD 1000000007
#define f(i,x,n) for(int i=x;i<=n;i++)
#define fr(i,x,n) for(int i=x;i>=n;i--)
struct _ { ios_base::Init i; _() { ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL); } } _;

int dx[] = { -1, 0, 1, 0, -1, -1, 1, 1};
int dy[] = {0, 1, 0, -1, -1, 1, 1, -1};


int main() {

	string num; cin >> num;

	for (auto i : num) {
		if (i == '7') {
			cout << "Yes";
			exit(0);
		}
	}
	cout << "No";
	return 0;
}

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