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

using System;
using System.Linq;
using System.Collections.Generic;

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

            for (int i = n; i > 0; i /= 10)
            {
                if(i%10 == 7)
                {
                    Console.WriteLine("Yes");
                    return;
                }
            }

            Console.WriteLine("No");
        }
    }
}


Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Linq;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Linq;
      |             ^
main.c:3:1: error: unknown type name 'using'
    3 | using System.Collections.Generic;
      | ^~~~~
main.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | using System.Collections.Generic;
      |             ^
main.c:5:1: error: unknown type name 'namespace'
    5 | namespace ABC162A
      | ^~~~~~~~~
main.c:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    6 | {
      | ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <map>
using namespace std;
typedef __int64 LL;
typedef vector<int> ivec;
typedef vector<string> svec;

//int a[100010];
int main(){
	string str;
	cin>>str;
	if(str.find("7")!=string::npos)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
} 


Compiler output:
a.cc:13:9: error: '__int64' does not name a type; did you mean '__int64_t'?
   13 | typedef __int64 LL;
      |         ^~~~~~~
      |         __int64_t
Language: C++

#inlcude <iostream>
using namesapce std;
int main(){
  int n;
  cin>>n;
  int flag = 1;
  while(n>0){
    int rem = n%10;
    n = n/10;
    if(rem==7){
      flag = 0;
      break;
}
  }
  if(flag == 0)
  cout<<"Yes";
  else
    cout<<"No";
  
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <iostream>
      |  ^~~~~~~
      |  include
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>n;
      |   ^~~
a.cc:16:3: error: 'cout' was not declared in this scope
   16 |   cout<<"Yes";
      |   ^~~~
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<"No";
      |     ^~~~
Language: C

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <map>
using namespace std;
//typedef __int64 LL;
typedef vector<int> ivec;
typedef vector<string> svec;

//int a[100010];
int main(){
	string str;
	cin>>str;
	if(str.find("7")!=string::npos)cout<<"YES"<<endl;
	else cout<<"NO"<<endl;
} 


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

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

#define jaldi ios_base::sync_with_stdio(false)
#define fr(i,j,n) for(i=j;i<n;i++)
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%ld",&x)
#define sll(x) scanf("%lld",&x)
#define sc(x) scanf("%c",&x)
#define ss(x) scanf("%s",x)
#define pi(x) printf("%d",x)
#define pl(x) printf("%ld",x)
#define pll(x) printf("%lld",x)
#define pc(x) printf("%c",x)
#define ps(x) printf("%s",x)
#define vi vector<int> 
#define vl vector<long> 
#define vll vector<long long>
#define vc vector<char>  
#define vs vector<string>
#define vvi vector<vector<int>> 
#define vvll vector<vector<long long>> 
#define F first
#define S second
#define ll long long
#define pb push_back
#define ppii pair<int,int> 
#define ppll pair<long long,long long>
#define ppcc pair<char,char>
#define ppss pair<string,string> 
#define vpll vector<pair<long long,long long>>
#define PI 3.1415926535897932384626
#define precision(x) cout<<fixed<<setprecision(x) 
#define mod 998244353

int x_d[8] = {-1,1,0,0,-1,-1,1,1};
int y_d[8] = {0,0,-1,1,-1,1,-1,1};

ll power(ll b,ll e)
{
    if(b==0)
        return 0;
    
    ll r=1;
    while(e>0)
    {
        if(e%2)
            r=(r*b)%mod;
        b=(b*b)%mod;
        e/=2;
    }
    return r;
}

int main()
{
    jaldi;
    precision(20);
    
    ll n;
    cin>>n;
    ll f=0;
    while(n>0)
    {
        if(n%10==7)
        {
            f=1;
            cout<<"Yes"<<endl;
            break;
        }
        n/=10;
    }
    if(f==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

using namespace std;
int main()
{
  int n;
  cin >> n;
 int x=n/100;
 int y=n%100/10;
 int z=n%10;
  if (x==7 || y==7 || z==7)
    cout << "Yes";
  if (x!=7 && y!=7 && z!=7)
    cout  << "No";
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:5:3: error: 'cin' undeclared (first use in this function)
    5 |   cin >> n;
      |   ^~~
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:5: error: 'cout' undeclared (first use in this function)
   10 |     cout << "Yes";
      |     ^~~~
Language: C

#include <iostream>
using namespace std;
int main()
{
  int n;
  cin >> n;
 int x=n/100;
 int y=n%100/10;
 int z=n%10;
  if (x==7 || y==7 || z==7)
    cout << "Yes";
  if (x!=7 && y!=7 && z!=7)
    cout  << "No";
}

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

#include<bits/stdc++.h>
using namespace std ;
	#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
	#define lli long long int
	#define ulli unsigned long long int
	#define ff first
	#define ss second
	#define mp make_pair
	#define pb push_back
	#define pf pop_front()
	#define lb lower_bound
	#define ub upper_bound
	#define bs binary_search
	#define loop(i,a,b) for(lli i=a;i<b;i++)
	#define loopi(i,a,b) for(int i=a;i<b;i++)
	#define all(v) v.begin(), v.end()
	#define mod 1000000007
	#define inf 100000000000000000
	#define lld long double
	#define pll pair<long long int,long long int>
	#define pii pair<int,int>
	#define vll vector<lli>
	#define vii vector<int>
	#define endl '\n'
	#define setp(k, x) fixed << setprecision(k) << (x)
	#define deb(x) cerr << #x << ": " << x << " " << endl;
	#define debug(x) cout << "m here-" <<#x<<" ..."<<"\n";
	#define printa(a,n) for(lli i=0;i<n;i++) cout<<a[i]<<" "; cout<<"\n";
  #define printv(a) for(lli i=0;i<a.size();i++) cout<<a[i]<<" "; cout<<"\n";
	bool sortcol( const vector<lli>& v1, const vector<lli>& v2 ) //sort on basis of column //use- sort(vect.begin(), vect.end(),sortcol);
      { return v1[1] < v2[1]; }//[] o based indexing in column
	bool sortpair(const pair<char, lli> &a, const pair<char, lli> &b)
				{return a.second < b.second;}


int main ()
{
	// fastio
 	//lli  t;
 	//cin>>t;
 	//while(t--)
 	{
		lli n,i,d,a,b,c,j,k=0,flag=0,x,y,ans,tt=0;
    string s;
    cin>>s;//>>y;
  
    a=s.find('7');
    if(a>=0 )
      cout<<"Yes\n";
    else cout<<"No\n";

 	}
	return 0;
}


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

#include<bits/stdc++.h>
using namespace std ;
	#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
	#define lli long long int
	#define ulli unsigned long long int
	#define ff first
	#define ss second
	#define mp make_pair
	#define pb push_back
	#define pf pop_front()
	#define lb lower_bound
	#define ub upper_bound
	#define bs binary_search
	#define loop(i,a,b) for(lli i=a;i<b;i++)
	#define loopi(i,a,b) for(int i=a;i<b;i++)
	#define all(v) v.begin(), v.end()
	#define mod 1000000007
	#define inf 100000000000000000
	#define lld long double
	#define pll pair<long long int,long long int>
	#define pii pair<int,int>
	#define vll vector<lli>
	#define vii vector<int>
	#define endl '\n'
	#define setp(k, x) fixed << setprecision(k) << (x)
	#define deb(x) cerr << #x << ": " << x << " " << endl;
	#define debug(x) cout << "m here-" <<#x<<" ..."<<"\n";
	#define printa(a,n) for(lli i=0;i<n;i++) cout<<a[i]<<" "; cout<<"\n";
  #define printv(a) for(lli i=0;i<a.size();i++) cout<<a[i]<<" "; cout<<"\n";
	bool sortcol( const vector<lli>& v1, const vector<lli>& v2 ) //sort on basis of column //use- sort(vect.begin(), vect.end(),sortcol);
      { return v1[1] < v2[1]; }//[] o based indexing in column
	bool sortpair(const pair<char, lli> &a, const pair<char, lli> &b)
				{return a.second < b.second;}


int main ()
{
	fastio
 	// lli  t;
 	// cin>>t;
 	// while(t--)
 	{
		lli n,i,d,a,b,c,j,k=0,flag=0,x,y,ans,tt=0;
    string s;
    cin>>s;//>>y;

    if(s.find('7')>=0)
      cout<<"Yes\n";
    else cout<<"No\n";

 	}
	return 0;
}


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

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

int main(){
    int N;
    cin >> N;
    bool flag = false;
    if(N % 10 == 7) flag = true;
    else if(N / 10 % 10 == 7) flag = true;
    else if(N / 100 == 7) flag = true;
    if(flag) 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: Java

import java.util.Scanner;

public class lucky7 {

    public static boolean sev(int n) {
        String s = String.valueOf(n);
        char[] ch = s.toCharArray();

        for ( char c : ch ) {
            if ( c == '7' ){
                return true;
            }
        }

        return false;
    }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        System.out.println(sev(n));
    }
}


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

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

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n, count=0;
    cin>>n;
    while(n)
    {
        int rem=n%10;
        if(rem == 7)
        {
            count++;
        }
        n=n/10;
    }
    if(count == 0)
       cout<<"No";
    else
       cout<<"Yes";
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


// Problem : A - Lucky 7
// Contest : AtCoder - AtCoder Beginner Contest 162
// URL : https://atcoder.jp/contests/abc162/tasks/abc162_a
// Memory Limit : 1024 MB
// Time Limit : 2000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)

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


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

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


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

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define FOR0(i,n) for(i=0;i<n;i++)
#define FOR(i,j,n) for(i=j;i<n;i++)
#define FORD(i,j,k) for(i=j;i>=k;i--)
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define inf 1000000000
#define ninf -1000000000
#define endl '\n' 
#define she_told_me_dont_worry ios_base::sync_with_stdio (false) ; cin.tie(0) ; cout.tie(0) ;
#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
// Use cout.flush() for interactive problems.
// Use this for increased stack size: g++ -o a.exe -Wl,--stack=256000000 -O2 source.cpp
inline long long  MAX2(long long  a, long long int b){return (a)>(b)?(a):(b);}
inline long long  MAX3(long long  a, long long  b,long long  c){return (a)>(b)?((a)>(c)?(a):(c)):((b)>(c)?(b):(c));}
inline long long  MIN2(long long  a, long long  b){return (a)<(b)?(a):(b);}
inline long long  MIN3(long long  a, long long b,long long c){return (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c));}
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef pair<int,int> ii;
typedef pair<ll, ll> pll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector< ii > vii;
int main()
{
    she_told_me_dont_worry
    string s;
    cin>>s;
    int i;
    bool is = false;
    FOR0(i, 3) if(s[i] == '7') is = true;
    if(is) cout<<"Yes";
    else cout<<"No";
    cerr <<endl<< "Time elapsed : " << clock() * 1000.0 / CLOCKS_PER_SEC << " ms" << '\n';
}

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 bn "\n"

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:18: error: expected '}' at end of input
   14 |   cout<<"No"<<bn;
      |                  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define stop exit(0)
#define dd double
#define po pop_back
#define pb push_back
#define ub upper_bound
#define lb lower_bound
int main(){
    vector <long long> v;
    ll a,b,c,d=0,e=0,f=0,g=0,i,j,k=1,l=1,r=1,n,m[300001],z[400001],h[600001],p[600001];
    string s,t,x[1001],y[1001];
    dd q,u,w;
    cin>>s;
    for(i=0;i<s.size();i++){
        if(s[i]=='7'){
            cout<<"Yes";
            stop;
        }
    }
    cout<<"No";
}

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

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <stack>
#include <algorithm>
#include <iostream>
#include <string>
#include <map>
#include <iterator>
#include <iostream>
#include <sstream>
#include <iterator>
#include <numeric>

using namespace std;


int main() {

    string S;
    cin >> S;

    bool ok = false;
    for (int i = 0; i < S.size(); ++i) {
        if (S[i] == '7') {
            ok = true;
            break;
        }
    }

    if(ok) {
        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<iostream>
#include<string>
using namespace std;
int main ()
{
	int  i,c=0;
	string s;
	cin>>s;
	int n=s.length();
	for(i=0;i<n;i++)
	{
		if(s[i]==7)
		{
			c++;
		}
	}
	if(c>=1)
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
	return 0;
}

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

#include<bits/stdc++.h>
#include<string>
using namespace std;
int main ()
{
	int  i,c=0;
	string s;
	cin>>s;
	int n=s.length();
	for(i=0;i<n;i++)
	{
		if(s[i]==7)
		{
			c++;
		}
	}
	if(c>=1)
	{
		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>
#include<string.h>
using namespace std;
int main ()
{
	int  i,c=0;
	string s;
	cin>>s;
	int n=s.length();
	for(i=0;i<n;i++)
	{
		if(s[i]==7)
		{
			c++;
		}
	}
	if(c>=1)
	{
		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<iostream> 
#include<vector> 
#include<algorithm> 
using namespace std; 
#define lld long long int
#define X 1000000007
#define fast();  ios_base::sync_with_stdio(false); cin.tie(0);
# define rec(i,n) for(int i=0;i<n;i++) 
#define w(t) int t; cin>>t; while(t--)
int main()
{
    fast(); 

    int n; 
    int flag=0; 
    cin>>n; 
    while(n) 
    { if(n%10==7) 
        flag=1; 
        n=n/10; 
    } 
    if(flag) 
    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 <stdio.h>

main(){
  int N,flag=0;
  scanf("%d",N);

  if(N/100==7){
    flag = 1;
    if((N-N/100*100)/10==7){
      flag = 1;
      if((N-N/10*10)==7){
        flag = 1;
      }
    }
  }

  if(flag==1){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}


Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

include <stdio.h>

main(){
  int N,flag=0;
  scanf("%d",N);

  if(N/100==7){
    flag = 1;
    if((N-N/100*100)/10==7){
      flag = 1;
      if((N-N/10*10)==7){
        flag = 1;
      }
    }
  }

  if(flag==1){
    printf("Yes");
  }
  else{
    printf("No");
  }
}


Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

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

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

//IncubatorMan
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp> 
#include <ext/pb_ds/detail/standard_policies.hpp>
using namespace __gnu_pbds;
using namespace std;
char gap = 32;
template<typename T> 
ostream& operator<<(ostream &os, const vector<T> &v) { 
    os << '{'; 
    for (const auto &x : v) os << gap << x;
        return os << '}'; 
}
template<typename A, typename B> 
ostream& operator<<(ostream &os, const pair<A, B> &p) {
        return os << '(' << p.first << gap << p.second << ')';
}

template <class T>
void read(T &x) {
    char c;
    for (c = getchar(); c < '0' || c > '9'; c = getchar())
        ;
    for (x = 0; c <= '9' && c >= '0'; c = getchar()) x = x * 10 + (c & 15);
}
#define ll long long 
#define lll __int128_t
#define pb push_back
#define mp make_pair
typedef pair < int,int> ii;
typedef vector<ii> vii;
typedef vector<ll>vl;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef tree<
int,
null_type,
less<int>,
rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

void solve(){
    ll n;
    read(n);
    ll ans =0;
    for(ll i=1;i<=n;i++){
        if(i%3==0 | i%5==0) continue;
        ans += i;
    }
    cout<<ans<<endl;
}

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);
        int test=1;
        //read(test);
        while(test--){
            solve();
        }
    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

//IncubatorMan
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp> 
#include <ext/pb_ds/detail/standard_policies.hpp>
using namespace __gnu_pbds;
using namespace std;
char gap = 32;
template<typename T> 
ostream& operator<<(ostream &os, const vector<T> &v) { 
    os << '{'; 
    for (const auto &x : v) os << gap << x;
        return os << '}'; 
}
template<typename A, typename B> 
ostream& operator<<(ostream &os, const pair<A, B> &p) {
        return os << '(' << p.first << gap << p.second << ')';
}

template <class T>
void read(T &x) {
    char c;
    for (c = getchar(); c < '0' || c > '9'; c = getchar())
        ;
    for (x = 0; c <= '9' && c >= '0'; c = getchar()) x = x * 10 + (c & 15);
}
#define ll long long 
#define lll __int128_t
#define pb push_back
#define mp make_pair
typedef pair < int,int> ii;
typedef vector<ii> vii;
typedef vector<ll>vl;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef tree<
int,
null_type,
less<int>,
rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

void solve(){
    char arr[5];
    cin>>arr;
    bool ans= false;
    for(int i=0;i<3;i++){
        if(arr[i]=='7') ans = true;
    }
    if(ans)cout<<"Yes\n";
    else cout<<"No\n";
}

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);
        int test=1;
        //read(test);
        while(test--){
            solve();
        }
    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

#include<iostream>
using namespace std;
int main()
{
  int nu[10];
  cin>>nu;
  if(nu[0]=='7'||nu[1]=='7'||nu[2]=='3')
  {
    cout<<"Yes";
  }
  else
  {
    cout<<"No";
  }
  return 0;
}


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

#include <iostream>
#include <string>
#include <string.h>
#define For(x,y) for(x=0;x<y;x++)
using namespace std;
int main()
{
    string s;
    int i,flag=0;
    cin>>s;
    For(i,s.size())
    {
        if(s[i]=='7')
        {
            cout<<"Yes";
            flag=1;
            break;
        }
    }
    if(flag == 0)
        cout<<"No";
    return 0;
}

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

#include<iostream>
#include<string>
#include<string.h>
#define For(x,y) for(x=0;x<y;x++)
using namespace std;
int main()
{
    string s;
    int i,flag=0;
    cin>>s;
    For(i,s.size())
    {
        if(s[i]=='7')
        {
            cout<<"Yes";
            flag=1;
            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>
#include <vector>
#include <algorithm>
#include <string>
#include <stdio.h>
#include <cmath>
#include <cctype>
#include <map>

const int INT_INF = 1000000000;                 // 10^9
const long long LONG_INF = 1000000000000000000; // 10^18

using namespace std;

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

    for (int i = 0; i < 3; i++)
    {
        if (str[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;
    typedef long long lint;
    typedef pair<int,int> pint;
    typedef vector<int> vint;
    #define rep(i, n) for(int i = 0; i < n; i++)
    #define rep2(elem, vec) for(auto elem: vec)
    #define SORT(V) sort((V).begin(),(V).end())
    #define RSORT(V) sort((V).rbegin(), (V).rend())
    #define COUT(N) cout<<fixed<<setprecision(N)
    lint gcd(int a,int b){return b?gcd(b,a%b):a;}
    lint lcm(int a,int b){return a*b/gcd(a,b);}
    lint comb(int a,int b){return b?comb(a-1,b-1)*a/b:1;}
    int dx[4] ={1,0,-1,0},dy[4] = {0,1,0,-1};
    int MOD = 1e9+7;

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

    return 0;
}

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

#include <iostream>
#include<string>
#define FOR(x, u) for (int x = 0; x < u; x++)
typedef long long ll;
using namespace std;
void solve()
{     
    string s;
    cin>>s;
    int flag=1,i;
    FOR(i,3)
    {
        if(s[i]=='7')
        {
            flag=0;
            cout<<"YES";
            break;
        }
    }
    if(flag)
        cout<<"NO";
}
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    #ifndef ONLINE_JUDGE
        freopen("input.txt", "r", stdin);
        freopen("output.txt", "w", stdout);
    #endif
    int t = 1;
    //cin>>t;
    while (t--)
    {
        solve();
        cout << "\n";
    }
    cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << 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;
typedef long long int ll;
#define For(x,y) for(int x=0;x<y;x++)
#define s second
#define f first
#define pb push_back 
#define mp make_pair
int main()
{
    string s;
    int flag=0;
    cin>>s;
    For(i,s.size())
    {
        if(s[i]=='7')
        {
            cout<<"Yes";
            flag=1;
            break;
        }
    }
    if(flag == 0)
        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

input_int = input()

if '7' in input_int:
    print('yes')
else:
    print('no')

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

#include <bits/stdc++.h>
#define FOR(x, u) for (int x = 0; x < u; x++)
typedef long long ll;
using namespace std;
void solve()
{     
    string s;
    cin>>s;
    int flag=1,i;
    FOR(i,3)
    {
        if(s[i]=='7')
        {
            flag=0;
            cout<<"YES";
            break;
        }
    }
    if(flag)
        cout<<"NO";
}
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    #ifndef ONLINE_JUDGE
        freopen("input.txt", "r", stdin);
        freopen("output.txt", "w", stdout);
    #endif
    int t = 1;
    //cin>>t;
    while (t--)
    {
        solve();
        cout << "\n";
    }
    cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl;
    return 0;
}

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

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

using namespace std;

int main()
{
    int N;

    int h, t, o;
    cin >> N;
    h = N/100;
    t = (N%100)/10;
    o = N%10;

    if(h==7 || t == 7 || o == 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: Java

import java.util.*;
public class Main
{
  public static void main(String args[])
  {
    Sacanner Sc=new Scanner(System.in);
    String s= Sc.next();
    if(s.contains("7"))
      System.out.println("Yes");
    else
      System.out.println("No");
  }
}


Compiler output:
Main.java:6: error: cannot find symbol
    Sacanner Sc=new Scanner(System.in);
    ^
  symbol:   class Sacanner
  location: class Main
1 error
Language: Java

public class Main
{
  public static void main(String args[])
  {
    Sacanner Sc=new Scanner(System.in);
    String s= Sc.next();
    if(s.contains("7"))
      System.out.println("Yes");
    else
      System.out.println("No");
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    Sacanner Sc=new Scanner(System.in);
    ^
  symbol:   class Sacanner
  location: class Main
Main.java:5: error: cannot find symbol
    Sacanner Sc=new Scanner(System.in);
                    ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C

#include <bits/stdc++.h>
using namespace std;
int main(){
    string S; cin >> S;
    bool ans = false;
    for(int i = 0; i < 3; i++){
        if(S[i] == '7') {
            ans = true;
            break;
        }
    }
    if(ans) 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

/**
 * code generated by JHelper
 * More info: https://github.com/AlexeyDmitriev/JHelper
 * @author dwij
 */


#include <bits/stdc++.h>


using namespace std;

/*******  All Required define Pre-Processors and typedef Constants *******/
#define endl '\n'

/**********************************************/




class ALucky7 {
public:
    void solve(istream &in, ostream &out) {

        string s;
        in >> s;

        bool found = false;
        for (int i = 0; i < s.size(); ++i) {
            if (s[i] == '7') {
                out << "Yes" << endl;
                found = true;
                break;
            }
        }

        if (!found) out << "No" << endl;


    }
};


int main() {
    ALucky7 solver;
    std::istream &in(std::cin);
    std::ostream &out(std::cout);

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

    solver.solve(in, out);
    return 0;
}


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

#include <iostream.h>
using namespace std;
int main(){
    string S;
    cin >> S;
    if(S[0]=='7' || S[1]=='7' || S[2]=='7'){
        cout << "Yes";
    }else{
        cout << "No";
    }
}

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

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

int main(){
  int N;
  cin >> N;
  int a,b,c;
  c = N % 10;
  b = (N % 100)/10;
  a = N / 100;
  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>
using namespace std;
#define int long long
 
signed main() {
  int n;
  cin >> n ;
  int x;
  int y;
  int z;
  x = n/100;  //100の位の値
   y=(n % 100) / 10 ;　//10の位の値
   z= n-(x*100+y*10); //１の位の値
  if (x==7){
    cout << "Yes" << endl;
  }
 
  else if (y==7){
    cout << "Yes" << endl;
  }
  
  else  if (z==7){
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  
  } 
}




  
    
  
  
 
 





















Compiler output:
a.cc:12:22: error: extended character 　 is not valid in an identifier
   12 |    y=(n % 100) / 10 ;　//10の位の値
      |                      ^
a.cc: In function 'int main()':
a.cc:12:22: error: '\U00003000' was not declared in this scope
   12 |    y=(n % 100) / 10 ;　//10の位の値
      |                      ^~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define int long long
 
signed main() {
  int n;
  cin >> n ;
  int x;
  int y;
  int z;
  x = n/100;  //100の位の値
   y=(n % 100) / 10 ;　//10の位の値
   z= n-(x*100+y*10); //１の位の値
  if (x==7){
    cout << "Yes" << endl;
  }
 
  else if (y==7){
    cout << "Yes" << endl;
  }
  
  else  if (z==7){
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  
  } 
}




  
    
  
  
 
 





















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

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

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    int n;
    cin>>n;
    string str=to_string(n);
    int flag=0;
    for(int i=0;i<str.size();++i)
    {
        if(str[i]=='7')
        {
            flag=1;
            break;
        }
    }
    if(flag==1)
    cout<<"Yes"<<"\n";
    else
    cout<<"No"<<"\n";

}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: invalid types 'char[int]' for array subscript
    6 |         if(n[0]='7' || n[1]=='7' || n[2]=='7'){
      |             ^
a.cc:6:25: error: invalid types 'char[int]' for array subscript
    6 |         if(n[0]='7' || n[1]=='7' || n[2]=='7'){
      |                         ^
a.cc:6:38: error: invalid types 'char[int]' for array subscript
    6 |         if(n[0]='7' || n[1]=='7' || n[2]=='7'){
      |                                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  ll n,d;
  cin>>n;
  ll f=0;
  while(n!=0)
  {
    d=d%10;
    if(d==7)
    {
      f=1;
      break;
    }
    n=n/10;
   
    
  }
  if(f==1)
    cout<<"Yes";
  else
    cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'll' was not declared in this scope
    5 |   ll n,d;
      |   ^~
a.cc:6:8: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |   cin>>n;
      |        ^
      |        yn
a.cc:7:5: error: expected ';' before 'f'
    7 |   ll f=0;
      |     ^~
      |     ;
a.cc:10:5: error: 'd' was not declared in this scope
   10 |     d=d%10;
      |     ^
a.cc:13:7: error: 'f' was not declared in this scope
   13 |       f=1;
      |       ^
a.cc:20:6: error: 'f' was not declared in this scope
   20 |   if(f==1)
      |      ^
Language: C

#include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <queue>
#include <set>
#include <map>

#define rep(i,n) for(int i=0;i<n;i++)
#define ll long long int
#define MAX 1000000007

using namespace std;

struct UnionFind{
  vector<int> par,num;

  UnionFind(int N) : par(N),num(N){
    for(int i=0;i<N;i++){
      par[i] = i;
      num[i] = 1;
    }
  }

  int root(int x){
    if(par[x] == x) return x;
    return par[x] = root(par[x]);
  }

  void unite(int x, int y){
    int rx = root(x);
    int ry = root(y);
    if(rx == ry) return;
    par[rx] = ry;
    num[ry] = num[ry]+num[rx]; 
  }

  int get_num(int x){
    int rx = root(x);
    return num[rx];
  }

  bool same(int x, int y){
    int rx = root(x);
    int ry = root(y);
    return rx == ry;
  }
};


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


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

    import java.util.*;
    import java.io.*;
     
    public class Main {
        public static void main(String[] args) throws IOException{
            Scanner scan = new Scanner(System.in);
            String str = scan.readLine();
            if(str.contains("7")){
                out.println("Yes");
            }else{
                out.println("No");
            }
            scan.close();
        }
    }

Compiler output:
Main.java:7: error: cannot find symbol
            String str = scan.readLine();
                             ^
  symbol:   method readLine()
  location: variable scan of type Scanner
Main.java:9: error: cannot find symbol
                out.println("Yes");
                ^
  symbol:   variable out
  location: class Main
Main.java:11: error: cannot find symbol
                out.println("No");
                ^
  symbol:   variable out
  location: class Main
3 errors
Language: Java

import java.util.*;
import java.io.*;
 
public class Main {
    public static void main(String[] args) throws IOException{
        Scanner scan = new Scanner(System.in);
        String str = scan.readLine();
        if(str.contains("7")){
            out.println("Yes");
        }else{
            out.println("No");
        }
        scan.close();
    }

Compiler output:
Main.java:14: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

Scanner scan = new Scanner(System.in);
int n = scna.nextInt();
if(n.indexOf("7") != -1){
	System.out.println("YES");
} else {
	System.out.println("NO");
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
Scanner scan = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
if(n.indexOf("7") != -1){
^
Main.java:5: error: class, interface, enum, or record expected
} else {
^
Main.java:7: error: class, interface, enum, or record expected
}
^
4 errors
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define str string
#define all(x) (x).begin(),(x).end()
#define rep(x,b,c) for(int x=b;x<c;x++)
#define  pb(x) push_back(x)
#define long(x) x.size()
int main(){
    string a;
	cin>>a;
	if(a[0]=='7'||a[1]=='7'||a[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

#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;

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

    string N;
    cin >> N;

    string ans = "No";
    rep(i, N.size()) {
        if (N[i] == '7') ans = "Yes";
    }

    cout << ans << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int t, n, i, a, b;
    string s;

    cin >> s;
    if (s[0] == '7' || s[1] == '7' || s[2] == '7')
        cout << "Yes" << "\n";
    else
        cout << "No" << "\n";


    return 0;
}
  

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


#include <iostream>
#include <algorithm>
#include <deque>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#include <string>
#include <iostream>
using namespace std;
int main()
{
    int t, n, i, a, b;
    string s;

    cin >> s;
    if (s[0] == '7' || s[1] == '7' || s[2] == '7')
        cout << "Yes" << "\n";
    else
        cout << "No" << "\n";


    return 0;
}
  

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

s=input()
print('Yes' if '7' in s else 'No')

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

#include <bits/stdc++.h>
    using namespace std;
    int main() {
        string s, ans = "No";
        cin >> s;
        for (auto c : s) {
            if (c == '7')
                ans = "Yes";
        }
        cout << ans << endl;
    }

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


#include <iostream>
#include <algorithm>
#include <deque>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#include <string>
#include <iostream>
    using namespace std;
    int main() {
        string s, ans = "No";
        cin >> s;
        for (auto c : s) {
            if (c == '7')
                ans = "Yes";
        }
        cout << ans << endl;
    }
  

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

#include<stdio.h>
long long i, j, n, m, k;

int main() {
	while (scanf("%lld", &k) != EOF) {
		bool flag = false;
		while (k) {
			if (k % 10 == 7) {
				flag = !flag;
				break;
			}
			k /= 10;
		}
		printf((flag ? "Yes\n" : "No\n"));
	}
}

Compiler output:
main.c: In function 'main':
main.c:6:17: error: unknown type name 'bool'
    6 |                 bool flag = false;
      |                 ^~~~
main.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include<stdio.h>
  +++ |+#include <stdbool.h>
    2 | long long i, j, n, m, k;
main.c:6:29: error: 'false' undeclared (first use in this function)
    6 |                 bool flag = false;
      |                             ^~~~~
main.c:6:29: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:6:29: note: each undeclared identifier is reported only once for each function it appears in
Language: C

n = input()

if n.find("7") != -1:
    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 n.find("7") != -1:
      | ^~
Language: C

#include <queue>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <set>
#include <map>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <iomanip>
#include <stack>
#include <time.h>
#include <functional>
using namespace std;
typedef long long int ll;

#define EPS (1e-9)
#define INF (1e9)
#define PI (acos(-1))
#define REP(i,n) for(int i=0;i<n;i++)

int gcd(int a, int b) {
    if (b == 0) return a;
    return gcd(b, a % b);
}

ll beki(ll a, ll b) {
    ll tmp = 1;
    REP(i, b) tmp *= a;
    return tmp;
}

string s;

int main() {
    cin >> s;
    REP(i, 3) {
        if (s[i] == '7') {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
    return 0;
}


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

#include <queue>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <set>
#include <map>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <iomanip>
#include <stack>
#include <time.h>
#include <functional>
using namespace std;
typedef long long int ll;

#define EPS (1e-9)
#define INF (1e9)
#define PI (acos(-1))
#define REP(i,n) for(int i=0;i<n;i++)

int gcd(int a, int b) {
    if (b == 0) return a;
    return gcd(b, a % b);
}

ll beki(ll a, ll b) {
    ll tmp = 1;
    REP(i, b) tmp *= a;
    return tmp;
}

string s;

int main() {
    cin >> s;
    REP(i, 3) {
        if (s[i] == '7') {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}


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

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

int main(){
    string n; cin >> n;
    string ans = "No";
    rep(i, n.size()){
        if(n.at(i) == '7'){
            ans = "Yes";
        }
    }
    cout << ans << endl;
}

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

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

typedef long long ll;

int main(){
    int n;
    bool b = false;
    cin>>n;
    for(int i=0; i<3;i++){
        if(n%10==7) b = true;
        n /= 10;
    }
    if(b) 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;

#define ll long long
#define mx 100005
int n,m;
int ar[mx];
char ch[mx];

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


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