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

#include <iostream>
#include <functional>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <queue>
using namespace std;
typedef long long ll;
// static const int max_n = 110;
// static const llong max_cost = 2000000000000000;
// // vector<vector<llong>> matrix(max_n, vector<llong>(max_n, 0));
// // vector<vector<llong>> adj_matrix(max_n, vector<llong>(max_n, max_cost));
// vector<vector<pair<llong, int>>> adj_list(max_n);
// vector<llong> distance_table(max_n, max_cost);
// set<pair<llong, int>> points_sort_x;
// set<pair<llong, int>> points_sort_y;

// int N;



int main(){
    // int u, v;
    // bool updated = false;
    ll N, M, cost, total_num;
    scanf("%lld", &N);
    string n_s = to_string(N);
    bool is_ok = false;
    for(int i=0;i<3;i++){
        if(n_s[i] == '7'){
            is_ok = true;
        }
    }

    if(is_ok){
        printf("Yes\n");
    }else{
        printf("No\n");
    }


    return 0;

}

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

#include<bits/stdc++.h>
using namespace std;
queue<int> q;
int main()
{
   int n,flag=0;
   cin>>n;
   int a[3];
   a[0]=n/100;
   a[1]=n/10%10;
   a[2]=n%10;
   for(int i=0;i<3;i++){
   	
   	if(a[i]==7)flag=1;break;
   }
   if(flag)cout<<Yes<<endl;
   else cout<<No<<endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:16:18: error: 'Yes' was not declared in this scope
   16 |    if(flag)cout<<Yes<<endl;
      |                  ^~~
a.cc:17:15: error: 'No' was not declared in this scope
   17 |    else cout<<No<<endl;
      |               ^~
Language: C

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

int main(){
  string s;
  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: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <vector>
#include <tuple>
#include <fstream>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <cmath>
using namespace std;


int main() {

    cin.tie(0);
    ios::sync_with_stdio(false);
 
    int n, tmp1, tmp2;
    cin >> n;
    string ans="No";
    tmp1 = n % 10;
    tmp2 = n % 100;

    if (n / 100 == 7){
      ans = "Yes";
    }

    if (tmp2 / 10 == 7){
      ans = "Yes";
    }

    if (tmp1 / 10 == 7){
      ans = "Yes";
    }

    cout << ans;

    
}


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

#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int (i)=0;(i)<(n);i++)
#define INF 1001001001
#define LLINF 1001001001001001001
#define MOD 1000000007
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; }
#define ALL(v) v.begin(), v.end()
typedef long long ll;



int main(){
    int n;cin >> n;
    bool ok = false;

    if(n/100==7 or (n%100)/10==7 or n%10==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 <algorithm>
#include <iostream>
#include <string>
using namespace std;

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

int main() {
  string N;
  cin >> N;
  bool ans = false;
  rep(i, 3) {
    if (N[i] == '7') {
      ans = true;
    }
  }
  if (ans == true)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}


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

import java.util.Scanner;
import java.util.Arrays;
class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N=sc.nextInt();
    boolean judge=false;
    String str = Integer.toString(N);
      String []resultArray = str.split("");
      for(int i = 0; i < resultArray.length; i++){
        if(resultArray[i].equals("7")){
      judge=true;
        }
      }


      if (judge) {
        System.out.println("Yes");
      }else{
       System.out.println("No");
      }
        }
      }


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.util.Arrays;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.util.Arrays;
      |            ^
main.c:3:1: error: unknown type name 'class'
    3 | class Main {
      | ^~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | class Main {
      |            ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int i;
int main()
{
	scanf("%d",&i);
	if(i%10==7||(i/10)%10==7||i/100==7) printf("Yes");
	else printf("No");
	return 0;
}

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

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


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

  for(int i=0;i<3;i++)
  {    
    if(strcmp(N[i], "7"))
    {
      cout << 'Yes';
      return 0;
    }
  }

  cout << "No";
 return 0;
}

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

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

int main(){
  int a,k=0;
  cin >> a;
  for(int i=0;i<a.size();i++){
    if(a.at(i)==7){
      k++
    }
  }
  if(k=0){
    cout <<"No";
  }
  else{
    cout <<"Yes"
  }
}

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

#include <iostream>
#include <string>
#define rep(i,n) for(long long i=0;i<n;i++)

using namespace std;
using ll = long long;

int main(void)
{
    int n;
    cin >> n;
    int a[3];
    a[0]=n%10;
    a[1]=((n-a[0])/10)%10;
    a[2]=(n-a[0]-10*a[1])/100;
    int s=0;
    rep(i,3) 
    {
        if(a[i]==7) s=1;
    }
    if(s==1) 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>
using namespace std;

int main() {
  string N;
  cin >> N;
  
  if (S.at(0) == 7 || S.at(1) == 7 || S.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 <iostream>
#include <stdio.h>
#include <vector>
#include <stack>
#include <algorithm>
#define rep(i,n) for(int i = 0; i < (n); ++i)
using namespace std;

int main(){
    int N, N3,N2,N1;
    cin >> N;
    
    N3=N/100;
    N2=(N%100)/10;
    N1=(N%10);

    if(N3==7 || N2==7 || N1==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 ll          long long int
#define lld          long double
#define pb          push_back
#define pii         pair<ll,ll>
#define mi          map<ll,ll>
#define vec         vector<ll>
#define all(a)     (a).begin(),(a).end()
#define F           first
#define S           second
#define mod         1000000007
#define rep(i,a,b)	for(ll  i=a;i<b;i++)
#define repi(i,a,b)	for(ll  i=a;i<=b;i++)
#define per(i,a,b)  for(ll i=a;i>=b;i--)
#define mp          make_pair
#define mit         map<ll,ll>::iterator
#define sit         set<ll>::iterator
#define xy          exit(0);
#define pit         pair<ll,ll>::iterator
#define tr(container, it) for(__typeof(container.begin()) it = container.begin(); it != container.end(); it++)
using namespace std;
ll xo(ll x, ll y) 
{ 
   return (x | y) & (~x | ~y); 
}  
ll bin_Expo(ll x,ll n)
{
		if(x==0)
		return 0;
    if(n==0)
        return 1;
    else if(n%2 == 0)        //n is even
        return bin_Expo(x*x,n/2);
    else                             //n is odd
        return x*bin_Expo(x*x,(n-1)/2);
}
ll mod_Expo(ll x,ll n,ll M)
{
		if(x==0)
		return 0;
    if(n==0)
        return 1;
    else if(n%2 == 0)        //n is even
        return mod_Expo((x*x)%M,n/2,M);
    else                             //n is odd
        return (x*mod_Expo((x*x)%M,(n-1)/2,M))%M;
 
}
ll NcR(int n, int r) 
{ 
    ll p = 1, k = 1; 
    if (n - r < r) 
        r = n - r; 
  
    if (r != 0) { 
        while (r) { 
            p *= n; 
            k *= r; 
            ll m=__gcd(p, k); 
            p /= m; 
            k /= m; 
            n--; 
            r--; 
        } 
    } 
    else
        p = 1; 
    return p;
}
bool prime_check(ll x)
{
    bool prime = (x >= 2);
    for (ll i = 2; i * i <= x; i++) 
    {
        if (x % i == 0) 
        {
            prime = false;
            break;
        }
    }
    return prime;
}
ll logg(ll base,ll x)
{
    return (ll)(log(x)/log(base));
}
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int TESTS=1;
//	cin>>TESTS;
    while(TESTS--)
    {
    	ll i,j,m,b,d,x,a,h,l,r,n,p,q,c,ans;
    	cin>>n;
    	b=0;
    	while(n)
    	{
    		if(n%10==7)
    		b=1;
    		n/=10;
		}
    	if(b)
    	cout<<"Yes";
    	else
    	cout<<"No";
    	
    	
    	
    	
    	
    	
    }
	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==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

#include <bits/stdc++.h>
using namespace std;
#define io() ios_base::sync_with_stdio(false); cin.tie(nullptr)
#define ll long long
#define ull unsigned long long
#define ui unsigned int
#define us unsigned short
#define fi first
#define se second
#define IN(i,l,r) (l<i&&i<r)
#define LINR(i,l,r) (l<=i&&i<=r)
#define LIN(i,l,r) (l<=i&&i<r)
#define INR(i,l,r) (l<i&&i<=r)
#define v(T) vector<T>
#define p(T, N) pair<T, N>
#define tp(A, B, C) tuple<A, B, C>
#define ii p(int, int)
#define vi v(int)
#define vii v(p(int, int))
#define vvi v(v(int))
#define vl v(long long)
#define vll v(p(long long, long long))
#define si set<int>
#define msi map<string, int>
#define rsz(a) resize(a)
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define qsort(a) sort(all(a))
#define qsortd(a) sort(all(a), greater<>())
#define qsortf(a, f) sort(all(a), f)
#define qsortsi(v) sort(v.begin(), v.end(), [](pair<int, int> a, pair<int, int> b){return a.se < b.se;})
#define pb(n) push_back(n)
#define eb(n) emplace_back(n)
#define pp(a, b) emplace_back(make_pair(a, b))
#define pt(a, b, c) emplace_back(make_tuple(a, b, c))
#define elif else if
#define fori(i, n) for(ll i = 0; i < n; ++i)
#define foris(i, a, b) for(ll i = a; i < b; ++i)
#define forise(i, a, b) for(ll i = a; i <= b; ++i)
#define ford(i, n) for(ll i = n; i >= 0; --i)
#define fords(i, a, b) for(ll i = a; i >= b; --i)
#define fordse(i, a, b) for(ll i = a; i > b; --i)
#define fora(i, a) for (auto &i: a)
#define rev(a) reverse(a.begin(), a.end())
#define revf(a, b, c) (reverse(a.begin() + b, a.begin() + c))
#define umap unordered_map
#define uset unordered_set
#define pq(T) priority_queue<T>
#define rpq(T) priority_queue<T, vector<T>, greater<T> >
#define nl '\n'
#define fileio(in, out) freopen(in, "r", stdin); freopen(out, "w", stdout)
const int mod = 1000000007;
int digits(int n) {
    n = abs(n);
    if(n < 10) return 1;
    elif(n < 100) return 2;
    elif(n < 1000) return 3;
    elif(n < 10000) return 4;
    elif(n < 100000) return 5;
    elif(n < 1000000) return 6;
    elif(n < 10000000) return 7;
    elif(n < 100000000) return 8;
    elif(n < 1000000000) return 9;
    else return 10;
}


int main() {
    io();
    
    string n;
    cin >> n;
    bool con7 = false;
    fori(i, n.size()) {
        if(n[i] == '7') con7 = true;
    }
    if(con7 == true) cout << "Yes";
    else cout << "No";
    
    return 0;
}

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

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int N1 = N/100;
        int N2 = (N - N1 * 100 ) /10;
        int N3 = (N - N1*100 - N2*10);
        if(N1==7||N2==7||N3==7) System.out.println("Yes");
        else System.out.println("No");
    }
}


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:3:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
Language: C

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

int main() {
    /*変数定義，入力*/
    int N;
    cin >> N;
    
    //ll A, B;cin >> A >> B;
    //vector<ll> a(N);  rep(i, N) cin >> a[i];
    
    /*演算*/
    int a = N/100;
    int b = (N - a * 100)/10;
    int c = N - a * 100 - b * 10;
    if(a == 7 || b == 7 || c == 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> // 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 <functional>
#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(void) {
	int N;
	cin >> N;
	int ans = 0;
	if (N % 10 == 7) ans++;
	N = N - (N % 10);
	if (N % 100 == 70) ans++;
	N = N - (N % 100);
	if (N == 700) ans++;

	if (ans > 0) 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> // cout, endl, cin
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
#include<algorithm>
#include<iomanip>
#include<vector>
#include<set>
#include<sstream>
#include<cstring>
#include<cmath>
#include<map>
using namespace std;
typedef long long ll;
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	int t;
	cin>>t;
	for(int a = 0;a<3;a++){
		if(t%10==7){
			cout<<"Yes";
			return 0;
		}
		t /= 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 n;
    cin >> n;
    int a,b,c;

    a=n%10;
    n=n/10;
    b=n%10;
    c=n/10;
    if(a==7||b==7||c==7){
        cout <<"Yes";
    }else{
        cout <<"No";:
    }
    return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:21: error: expected primary-expression before ':' token
   16 |         cout <<"No";:
      |                     ^
Language: C

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

int main() {
  string S;
  cin >> S;
  if (S.at(0) == '7' || S.at(1) == '7' || S.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>
    #define ll long long
    #define rep(i,a,b) for(i=a;i<b;i++)
    #define pb push_back
    #define all(v) v.begin(),v.end()
    #define F first
    #define S second
    #define root sqrtl
    #define vi vector < ll  int >
    #define CLR(a) memset((a),0,sizeof(a))
    #define mp make_pair
    #define hell 1000000007
    using namespace std;
    ll mod=hell;
 ll pr( ll x , ll y)
{
    ll ans=1;
    if(y==0) return ans;
    while(y>1)
    {
        if(y&1) ans*=x;
        x*=x;
        y/=2;
        x%=mod;
        ans%=mod;
    }
    ans*=x;
    ans%=mod;
    return ans;
}
ll fact( ll n)
{
    ll ans=1,i;
    rep(i,1,n+1)
    {
        ans*=i;
        ans%=mod;
    }
    return ans;
}
ll in(ll x) { return  pr(x,mod-2);}

bool prime[1000500];
vector < ll > v;
void pre()
{
    int n=1000000,i,j,p;
    memset(prime,true,sizeof(prime));
    prime[0]=prime[1]=false;
    for(i=2;i*i<=n;i++)
    {
        if(prime[i])
        {
            for(p=2*i;p<=n;p+=i) prime[p]=false;
        }
    }
  rep(i,0,1000000) if(prime[i]) v.pb(i);

}

ll inv(ll n)
{
    return pr(n,mod-2);
}



void solve( )
{
 ll i,j=1,k,n,m=0,f,s1=0,x=1e13,c=1,y=0,a=0,b=0,d,p;
 string s;
 cin>>s; char ch='7';
 if(s[0]==ch or s[1]==ch or s[2]==ch) cout<<"Yes";
 else cout<<"No";


}
    signed main()
    {
        ios::sync_with_stdio(false);
        cin.tie(0);
        cout.tie(0);
        int t=1;
        //cin>>t;
        while(t--)
        solve();
    }


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

#include <cstdio>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <list>
#include <map>

#define ST_ARR_LEN(array) (sizeof(array)/sizeof(*array))

using namespace std;

using ll = long long;

typedef stack<int> IntStack;
typedef queue<int> IntQueue;
typedef vector<int> IntVector;
typedef list<int> IntList;

typedef struct S{
  int a;
  int b;
} Object;

int main(){
  int N;
  cin >> N;
  
  string ans = "No";
  string str = to_string(N);
  for(int i=0;i<str.size;i++){
    if(str[i] == '7'){
      ans = "Yes";
      break;
    }
  }
  
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:21: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
   34 |   for(int i=0;i<str.size;i++){
      |                 ~~~~^~~~
      |                         ()
Language: C

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

public class Lucky{

	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 Lucky{
      | ^~~~~~
main.c:4:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lucky'
    4 | public class Lucky{
      |              ^~~~~
Language: C

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

int main(){
	int n;
	cin >> n;
	if(n/100 == 7) cout << "Yes" << endl;
	else if((n%100)/10 == 7) cout << "Yes" << endl;
	else if(n%10 ==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

#define _USE_MATH_DEFINES
#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
#define rep(i, n) REP(i, 0, n)
#define repr(i, n) for (int i = (n); i >= 0; i--)
#define ALL(v) v.begin(), v.end()
#define MSG(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for (int i = x; i < n; i++)
#define OP(m) cout << m << endl
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;

int main()
{
    int n;
    cin >> n;
    string s = to_string(n);

    rep(i, 3)
    {
        if (s[i] == '7')
        {
            OP("Yes");
            return 0;
        }
    }

    OP("No");
    return 0;
}

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

# include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    int a,b,c;
    if(n%10==7||n/100==7||(n-(n/100*100))/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()

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


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

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

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

using namespace std;

int main(void){
    string inp;
    cin >> inp;
    if(inp.find('7')!=-1)
        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;
using i64 = long long;

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

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


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

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

int main(){
  string N;
  int flag=0;
  cin>>N;
  for(int i=0;i<N.size();i++){
    if(N.at(i)=='7')flag=1;
  }
  if(flag==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 <iostream>

using namespace std;

int main()
{

    int n;

    cin >> n;

    int hyaku = n / 100;
    int ju = (n % 100) / 10;
    int ichi = (n % 10);

    bool res = false;

    if (hyaku == 7)
    {
        res = true;
    }
    if (ju == 7)
    {
        res = true;
    }
    if (ichi == 7)
    {
        res = true;
    }

    if (res)
    {
        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>
#include <unordered_set>
using namespace std;
#define ll long long
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define repeat(i,s,n) for(int (i)=s; (i)<(n); (i)++)
#define revrep(i,n) for(int (i)=(n)-1;i>=0; i--)

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout<<setprecision(std::numeric_limits<float>::max_digits10);
  cout<<fixed;
  string n;
  cin>>n;
  if(n.find("7")!=string::npos)
    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>
#define rep(i,n) for(i=0;i<n;i++)
using namespace std;

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	string n;
	cin>>n;
	if(n[0]=='7' or n[1]=='7' or n[2]=='7')
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
	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

今どこらへんか知らないけど別に星５だからといって項羽に使わなくてもいいと思うけど　２部とかの素材が必要な星４に使ったらいいんじゃないかな？

Compiler output:
main.c:1:81: error: stray '\343' in program
    1 | <U+4ECA><U+3069><U+3053><U+3089><U+3078><U+3093><U+304B><U+77E5><U+3089><U+306A><U+3044><U+3051><U+3069><U+5225><U+306B><U+661F><U+FF15><U+3060><U+304B><U+3089><U+3068><U+3044><U+3063><U+3066><U+9805><U+7FBD><U+306B><U+4F7F><U+308F><U+306A><U+304F><U+3066><U+3082><U+3044><U+3044><U+3068><U+601D><U+3046><U+3051><U+3069><U+3000><U+FF12><U+90E8><U+3068><U+304B><U+306E><U+7D20><U+6750><U+304C><U+5FC5><U+8981><U+306A><U+661F><U+FF14><U+306B><U+4F7F><U+3063><U+305F><U+3089><U+3044><U+3044><U+3093><U+3058><U+3083><U+306A><U+3044><U+304B><U+306A><U+FF1F>
      |                                                                                                                                                                                                                                                                                                                                 ^~~~~~~~
main.c:1:1: error: unknown type name '\U00004eca\U00003069\U00003053\U00003089\U00003078\U00003093\U0000304b\U000077e5\U00003089\U0000306a\U00003044\U00003051\U00003069\U00005225\U0000306b\U0000661f\U0000ff15\U00003060\U0000304b\U00003089\U00003068\U00003044\U00003063\U00003066\U00009805\U00007fbd\U0000306b\U00004f7f\U0000308f\U0000306a\U0000304f\U00003066\U00003082\U00003044\U00003044\U00003068\U0000601d\U00003046\U00003051\U00003069'
    1 | 今どこらへんか知らないけど別に星５だからといって項羽に使わなくてもいいと思うけど　２部とかの素材が必要な星４に使ったらいいんじゃないかな？
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
Language: C

#include <iostream>
using namespace std;

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

	if (n % 10 == 7) {
		cout << "Yes" << endl;
		return 0;
	}
	else if ((n - n % 10) % 100 == 70){
	cout << "Yes" << endl;
	return 0;
	}
	else if (((n - n % 10) - n % 100) == 700) {
		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

//#include<iostream>
//#include<algorithm>
//#include<string>
//#include <cmath>
//#include <vector>
#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define REP(x,n) for(int x=0;x<n;x++)

//vector//
#define vei vector<int> 
#define velli vector<long long int> 
#define pb(x) push_back(x) // 末尾にxを加える
#define pb2 pop_back() // 末尾削除
#define all(x) (x).begin(),(x).end() //イテレーター
#define be(x) (x).begin()
//auto  auto begin = v.begin()とか

typedef pair<int,int> P;  //q(p.first,p.second)

int main (){

    string ans = "No";
    char a,b,c;
    cin >> a >> b >> c;

    int d = a-'0';
    int e = b-'0';
    int f = c-'0';
    if(d == 7) ans = "Yes";
    if(e == 7) ans = "Yes";
    if(f == 7) ans = "Yes";

    cout << ans ;

}

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

#include <cmath>
#include <iostream>
#include <functional>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include <iomanip>
#include <math.h>
#include <list>
#include <numeric>
using namespace std;

long long combi(long long n, long long k) {
  if (n == k || k == 0)
    return 1;
  else {
    return combi(n - 1, k - 1) + combi(n - 1, k);
  }
}

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


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

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

#define ll          long long
#define ull         unsigned long long
#define pb          push_back
#define pii         pair<int,int>
#define pll         pair<long,long>
#define vi          vector<int>
#define vll         vector<ll>
#define vii         vector<pii>
#define Mi          map<int,int>
#define mii         map<pii,int>
#define all(a)      (a).begin(),(a).end()
#define rall(a)      (a).rbegin(),(a).rend()
#define ff           first
#define ss           second
#define sz(x)       (int)x.size()
#define endl        '\n'
#define mod        1000000007
//#define mod        998244353
#define rep(i,a,b)  for(int i=a;i<b;i++)
#define rem(i,a,b)  for(int i=a;i>b;i--)
#define mp(a,b)     make_pair(a,b)
#define INF         numeric_limits<ll>::max();
#define NINF        numeric_limits<ll>::min();
#define vvi(a,b,name)    vector<vector<int>> name(a,vector<int>(b,-1))
const long double pi=3.14159265359;

inline ll add(ll a,ll b,ll m){
    if((a+b)>=m)return (a+b)%m;
    return a+b;
}

inline ll mul(ll a,ll b,ll m){
    if((a*b)<m)return a*b;
    return (a*b)%m;
}

void solve(){
    string ans="No";
    string n;cin>>n;
    for(auto u:n){
        if(u=='7')ans="Yes";
    }
    cout<<ans;
   
}

int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    long t=1;
    //cin>>t;
    while(t--){
        solve();
    }
    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  string s;cin>>s;int a=0;
  for(int i=0;i<3;i++){if(s.at(i)=='7')a++;}
  if(a>0)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 <iostream>
#include<string>
using namespace std;


int main()
{
    string s;cin>>s;
    int check = 0;
    for(int i=0; i<3; i++)
    {
        if(s[i] == '7')
            check = 1;
    }
    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 <iostream>
#include <string>
#include <algorithm>

using namespace std;

int main()
{
    int N;
    string S;

    cin >> N;

    S = to_string(N);

    char one = S[0];
    char two = S[1];
    char three = S[2];

    string ans = "No";

    if (one == '7')
    {
        string ans = "Yes";
    }

    if (two == '7')
    {
        string ans = "Yes";
    }

    if (three == '7')
    {
        string ans = "Yes";
    }

    cout << ans << 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;
  int a,b,c;
  a = N/100;
  b = N/10 - a*10;
  c = N%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;
#define rep(i,n) for(int i = 0; i < (n); i++)
#define pb push_back
#define fi first
#define se second
#define ALL(a) (a.begin(), a.end())
using ll = long long;
template<typename T> void Out(T x) { cout << x << endl; }

int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n; cin >> n;
  while(n) {
    if (n%10 == 7) {
      cout << "Yes" << endl;
      return 0;
    }
    n /= 10;
  }
  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>
#include <string>

using namespace std;

int main() {
	int a;
	cin >> a;
	int b[3];
	for (int i = 0; i < 3; i++) {
		b[i] = a % 10;
		a = a / 10;
	}
	for (int i = 0; i < 3; i++) {
		if (b[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++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ';' before 'if'
    8 |   if(a.at(0)=='7')count++
      |                          ^
      |                          ;
    9 |   if(a.at(1)=='7')count++
      |   ~~
Language: C

#include<iostream>
#include<cmath>
#include<vector>

using namespace std;

int main(){
  int n;
  cin >> n;
  int a,b,c;
  a=n/100;
  b=n%100-n%10;
  c=n%10;
  if(a==7||b==7||c==7) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}


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

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

int main() {
    int N;
    cin >> N;
    int a, b, c;
    a = N / 100;
    b = (N % 100) / 10;
    c = (N % 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 <bits/stdc++.h>
#define pb push_back
#define rep(i,n) for(int i=0;i<(n);i++)
#define reps(i,n,s) for(int i=(s);i<(n);i++)
#define rrep(i,n) for(int i=(n-1);i>=0;i--)
#define rreps(i,n,s) for(int i=s;i>=n;i--)
#define MOD 1000000007
using ll = long long;
using namespace std;
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 (a>b) { a=b; return 1; } return 0; }

int main(){
cin.tie(0);
ios::sync_with_stdio(false);
string n;
cin >> n;
string ans="No";
rep(i,3){
    if(n[i]=='7'){
        ans = "Yes";
    }
}
cout << ans << endl;
//system("pause");
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


def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))


N = INT()
a = N//100
N %= 100
b = N//10
N %= 10
c = N

if a == 7 or b == 7 or c == 7:
  print("Yes")
else:
  print("No")



Compiler output:
main.c:2:1: error: unknown type name 'def'
    2 | def input(): return sys.stdin.readline().strip()
      | ^~~
main.c: In function 'input':
main.c:2:12: error: expected declaration specifiers before ':' token
    2 | def input(): return sys.stdin.readline().strip()
      |            ^
Language: C

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

int main(){
    int N;
    cin>>N;
    bool can=false;

    if(N/100==7){
        can=true;
    }
    N=N-(N/100)*100;
    if(N/10==7){
        can=true;
    }
    N=N-(N/10)*10;
    if(N==7){
        can=true;
    }
    if(can){
        cout<<"Yes";
    }
    else{
        cout<<"No";
    }
    return 0;
}

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

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b,c;
    cin >> a;

for(int i = 0; i  <3; ++i){
    if((a+3)%10 == 0){
    cout << "Yes";
    return 0;
    }
    a/=10;
}
    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>
using namespace std;

int main(){
  int N;
  int hundN;
  int tenN;
  int oneN;
  int flag = 0;
  cin >> N;
  hundN = N / 100;
  tenN = (N % 100 ) / 10;
  oneN = N % 10;
  if(hundN == 7 || tenN == 7 || oneN == 7){
    flag = 1
  }
  if(flag == 1) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:13: error: expected ';' before '}' token
   15 |     flag = 1
      |             ^
      |             ;
   16 |   }
      |   ~
Language: C

#include<bits/stdc++.h>
using namespace std;
#define int long long int
int32_t main() {
	string s;
	cin >> s;
	int f = 0;
	for (int i = 0; i < 3; ++i)
		if (s[i] == '7')
			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 <iostream>
using namespace std;

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

	if(i==3) 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 <bitset>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <vector>

using namespace std;
#define repp(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define reppe(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
#define repm(i, a, b) for (int i = (int)(a); i > (int)(b); --i)
#define repme(i, a, b) for (int i = (int)(a); i >= (int)(b); --i)

typedef long long ll;

long long GCD(long long a, long long b) {
    if (b == 0) return a;
    return GCD(b, a % b);
}

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: bitset: No such file or directory
    1 | #include <bitset>
      |          ^~~~~~~~
compilation terminated.
Language: C

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

int main() {
  int n;
  cin >> n;
  
  if(n / 100 == 7){
    cout >> "Yes" >> endl;
  }
  
  else{
    if( (n % 100) / 10 == 7){
    cout >> "Yes" >> endl;
  }
    else{
      if( (n % 10)  == 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>
#define rep(i,a,b) for(ll i=ll(a);i<ll(b);i++)
#define irep(i,a,b) for(ll i=ll(a);i>=ll(b);i--)
#define pb push_back
#define mp make_pair
#define F .first
#define S .second 
using ll=long long;
using ld=long double;
using namespace std;
const ll mod=1e9+7;
ll a[110000],s[110000];
ll GCD(ll a, ll b) { return b ? GCD(b, a%b) : a; }

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


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

#include <bits/stdc++.h>
using namespace std;
#define lli long long int
#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++)
#define ALL(vec)  (vec).begin(),(vec).end()
#define pi 3.1415926535897932384626433832795
#define MAX_INF 9223372036854775807
#define MIN_INF (922337203685477587+1)
#define sosuu 1000000007

int main() {
  string N;
  cin >> N;
  int ans=0;
  rep(i, 3){
  if(N[i]=='7')
    ans++;
  }
  if(ans>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 <iostream>

int main()
{

    int n;

    std::cin >> n;

    if (n % 10 == 7 || (n / 10) % 10 == 7 || (n / 100) % 10 == 7)
        std::cout << "Yes" << std::endl;
    else
    {
        std::cout << "No" << std::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;
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
#define rep2(i,n) for(int i=0;i<=n;i++)
#define repr(i,a,n) for(int i=a;i<n;i++)
#define all(a) a.begin(),a.end()
#define P pair<long long,long long>
#define uni(e) e.erase(unique(e.begin(),e.end()),e.end())
#define double long double
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
int INF=1e10;
int MOD=1e9+7;
signed main(){
string a;
  cin>>a;
  if(a[1]=='7'||a[0]=='7'||a[2]=='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

n=int(input())
if n%10==7:
    print('Yes')
elif 70<=n%100 and n%100<=79:
    print('yes')
elif 700<=n and n<=799:
    print('Yes')
else:
    print('No')


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n=int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:3: error: expected expression before 'int'
    1 | n=int(input())
      |   ^~~
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('yes')
      |           ^~~~~
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('Yes')
      |           ^~~~~
main.c:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print('No')
      |           ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
 
int main() 
{
	int N;
	cin >> N;
	
	bool b = false;
	b |= ((N % 10) == 7);
	N /= 10;
	b |= ((N % 10) == 7);
	N /= 10;
	b |= ((N % 10) == 7);
	
	cout << (b ? "Yes" : "No") << endl;
	
	return 0;
}

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

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

int main() {
    string a,b="No";
    cin >> a ;
    for (int i = 0;i < 3;i++){
        if(a.at(i) == '7')b = "Yes";
    }
    cout << b << 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<bits/stdc++.h>
#include<cmath>
using namespace std;

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


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

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

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