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

#include<bits/stdc++.h>
using namespace std; 
using lint  =                           long long int;
using pint  =                           pair<int, int>;
using plint =                           pair<lint, lint>;
#define vli                             vector<lint>
#define pb                              push_back
#define ALL(x)                          begin(x),end(x)
#define inf                             (1LL<63)-1
#define MOD                             1000000007
#define SZ(x)                           ((lint)(x).size())
#define                                 FOR(i, begin, end) for(int i=(begin),i##_end_=(end);i<i##_end_;i++)
#define                                 IFOR(i, begin, end) for(int i=(end)-1,i##_begin_=(begin);i>=i##_begin_;i--)
#define                                 REP(i, n) FOR(i,0,n)
#define                                 IREP(i, n) IFOR(i,0,n)
#define                                 f_ip   ios_base::sync_with_stdio(false); cin.tie(NULL);
#define                                 debug(x) cerr << #x << " " << (x) << endl
struct fast_ios                         { fast_ios(){ cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(20); }; } fast_ios_;
template<typename T>                    istream &operator>>(istream &is, vector<T> &vec){ for (auto &v : vec) is >> v; return is; }
template<typename T>                    bool mmax(T &m, const T q) { if (m < q) {m = q; return true;} else return false; }
template<typename T>                    bool mmin(T &m, const T q) { if (q < m) {m = q; return true;} else return false; }


/* -------
         |
    **   |
   -------      
   |
   ---------------------------------------------------------------------------------------------------------------------------------*/

void solve(){  
   int N;
   cin >> N;

   int count = 0;

   while(N){
      int r = N%10;
      N/=10;

      if(r == 7) ++count;
   }

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

int main(){   
  
 solve();

 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(void){
    // Your code here
    string N;
    string ok ="NO";
    
    cin << N;
    
    for(int i=0;i<3;i++){
        if(N.at(i)=='7'){
          ok = "YES";
        }
    }
    
    cout << ok << 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

/*
abc 158 c
*/
#include <iostream>
#include <math.h>
#include <algorithm>
#include <vector>
#include <cstring>
#define REP(i, n) for(ll i = 0; i < n; i++)
#define REPR(i, n) for(ll i = n; i >= 0; i--)
#define FOR(i, m, n) for(ll i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
#define PI 3.141592653589793
#define MOD 1000000007LL
typedef long long ll;
using namespace std;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }

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

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            var rl = RL();
            //var sprlst = spr(rl);
            //var intlist = sprlst.Select(x => c2i(x)).ToList();
            var k = c2i(rl);
            //var ls1 = Enumerable.Range(0, 10).Select(x => (long)x);

            bool ret = false;
            int cy = 7;
            if (k % 10 == cy) ret = true;
            if ((k / 10) % 10 == cy) ret = true;
            if ((k / 100) % 10 == cy) ret = true;


            Console.WriteLine(bool2ret(ret));
           // Console.ReadLine();
            




        
        }
        static string RL() { return Console.ReadLine().Trim(); }
        static IEnumerable<string> spr(string s) { return s.Split(' '); }
        static Int64 c2i(string c) { return Int64.Parse(c); }
        //static double c2d(string c) { return double.Parse(c); }
        static string bool2ret(bool b) { return b ? "Yes" : "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.Collections.Generic;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Collections.Generic;
      |             ^
main.c:3:1: error: unknown type name 'using'
    3 | using System.Linq;
      | ^~~~~
main.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | using System.Linq;
      |             ^
main.c:4:1: error: unknown type name 'using'
    4 | using System.Text;
      | ^~~~~
main.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | using System.Text;
      |             ^
main.c:5:1: error: unknown type name 'using'
    5 | using System.Threading.Tasks;
      | ^~~~~
main.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | using System.Threading.Tasks;
      |             ^
main.c:7:1: error: unknown type name 'namespace'
    7 | namespace ConsoleApplication6
      | ^~~~~~~~~
main.c:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    8 | {
      | ^
Language: C

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

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

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

#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
  cin>>N;
  int ans=0;
  for(int i=0;i<3;i++){
    if(N.at(i)==7){
      ans+=1}
  }
  if(ans==0){
    cout<<"No"<<endl;
  }
  else{
    cout<<"Yes"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |     if(N.at(i)==7){
      |          ^~
a.cc:9:13: error: expected ';' before '}' token
    9 |       ans+=1}
      |             ^
      |             ;
Language: C

#include <iostream>
#include <string>
#include <cmath>
#include <algorithm>
#include <vector>
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)/1==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 <iostream>
#include <string>

using namespace std;

int main(){
	string s;
	cin >> s;
	for (int i = 0; i < 3; i++)
	{
		if(s[i] == '7'){
			cout << "Yes" << endl;
			return 0;
					}
		/* code */
	}
	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;
 
#define rep(i,N); for (int i = 0; i<N; i++)
#define in(N); cin >> N
#define out(ans); cout << ans << endl;

int main() {
  int N;
  string N1;
  in(N);
  N1=to_string(N);
  if (N1.at(0)=='7' || N1.at(1)=='7' || N1.at(2)=='7') cout << "Yes" << endl;
  else cout << "No" << endl;

}

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

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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<ll,ll>;
const int mod = 1e9 + 7;
//const int mod = 998244353;
const ll infll = (1LL << 62) - 1;
const int inf = (1 << 30) - 1;
void YesNo(bool j){cout << (j ? "Yes" : "No") << endl; return;}
void yesno(bool j){cout << (j ? "yes" : "no") << endl; return;}
template<class Head> void pt(Head&& head){cout << head << endl; return;}


int main() {
  string s;
  cin >> s;
  ok=false;
  rep(i,3) if(s[i]==7) ok=true;
  YesNo(ok);
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'ok' was not declared in this scope
   18 |   ok=false;
      |   ^~
Language: C

#include <iostream>
using namespace std;

int main() {
  string N;
  cin >> N;
  bool check = false;
  for (int i = 0; i < 3; i++) {
    if (N[i] == 7) {
      check = true;
    }
  }
  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>
using namespace std;
#define rep(i, n) for (int i=0; i < (int)(n); i++)
using ull = unsigned long long;
using ll = long long;

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

    if ((N/100==7) || ((N/10)%10==7) || ((N%10)==7)) cout << "Yes" << endl;
    else cout << "No" << endl;

    return 0;
}



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

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

int main() {
    string n;
    cin >> n;
    int flag = 0;
    for(int i = 0; i < 3; i++){
        if(n.at(i) == '7'){
            flag = 1;
        }
    }
    if(flag == 1){
        cout << "Yes";
    } else {
        cout << "No";
    }
}

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

#include <bits/stdc++.h>

#include <set>
#include <iterator>
using namespace std;
// using namespace __gnu_pbds;


#define f first
#define s second
#define pb push_back
#define all(x) x.begin(),x.end()

#define ll long long int
#define vi vector<int>
#define vii vector<pair<int,int> >
#define pii pair<int,int>
#define plii pair<pair<ll, int>, int>
#define piii pair<pii, int>
#define viii vector<pair<pii, int> >
#define vl vector<ll>
#define vll vector<pair<ll,ll> >
#define pll pair<ll,ll>
#define pli pair<ll,int>
#define mp make_pair
#define ms(x, v) memset(x, v, sizeof x)
#define pr_vec(v) for(int i=0;i<v.size();i++) cout << v[i] << " " ;

#define f_in(st) freopen(st,"r",stdin)
#define f_out(st) freopen(st,"w",stdout)

#define INF (ll)1e17
#define matrix vector<vector<ll> >

#define fr(i, a, b) for(i=a; i<=b; i++)
#define fb(i, a, b) for(i=a; i>=b; i--)
#define ASST(x, l, r) assert( x <= r && x >= l )
#define maxbits 9
#define maxmask (1ll<<maxbits)
// typedef tree<pll, null_type, less<pll>, rb_tree_tag,
//              tree_order_statistics_node_update>
//     new_data_set;
const int  N=1e6 +10, M=(ll)1e9+1 ;
const int mod =(ll)1e9+7 ,sz=5, MAX=(ll)1e6+10;
string fir="Monocarp",sec="Bicarp";

void work(){
	string s;
	cin >> s;
	for(ll i=0;i<s.length();i++){
		if(s[i]=='7'){
			cout << "Yes";
			return;
		}
	}

	cout << "No";

}

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

	
	// precomp();
	ll t;
	// cin >> t;
	t=1;
	while(t--){
	        work();
	
	}

	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;
long long int arr[500005];
long long int size1[500005];
long long int m = 1000000007;
long long int fin(long long int node)
{
    if (node == arr[node])
        return node;
    node = arr[arr[node]];
}

void union1(long long int x, long long int y)

{
    long long int node1 = fin(x);
    long long int node2 = fin(y);

    if (size1[node1] > size1[node2])
    {
        size1[node1] += size1[node2];
        arr[node2] = node1;
    }
    else
    {
        size1[node2] += size1[node1];
        arr[node1] = node2;
    }
}
long long int fastexpo(long long int a, long long int b)
{
    long long int ans = 1;
    while (b)
    {
        if (b & 1)
            ans = (ans * a) % m;
        b = b / 2;
        a = (a * a) % m;
    }
    return ans;
}
int main()
{
    int n;
    cin >> n;
    bool count = 0;
    while (n)
    {
        int p = n % 10;
        if (p == 7)
            count = 1;
        n = n / 10;
    }
    if (count)
        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<bits/stdc++.h>
using namespace std;
typedef long long ll;

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

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

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

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

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

int main(){
  int x;
  cin << x;
  if(x%10==7)cout << "Yes";
  else if(((int)(x/10))/%10==7) cout << "Yes";
  else if(((int)(x/100))/%10==7) cout << "Yes";
  else cout << "No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin << x;
      |   ^~~
a.cc:4:14: error: 'cout' was not declared in this scope
    4 |   if(x%10==7)cout << "Yes";
      |              ^~~~
a.cc:5:25: error: expected primary-expression before '%' token
    5 |   else if(((int)(x/10))/%10==7) cout << "Yes";
      |                         ^
a.cc:5:33: error: 'cout' was not declared in this scope
    5 |   else if(((int)(x/10))/%10==7) cout << "Yes";
      |                                 ^~~~
a.cc:6:26: error: expected primary-expression before '%' token
    6 |   else if(((int)(x/100))/%10==7) cout << "Yes";
      |                          ^
a.cc:6:34: error: 'cout' was not declared in this scope
    6 |   else if(((int)(x/100))/%10==7) cout << "Yes";
      |                                  ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout << "No";
      |        ^~~~
Language: C

//#pragma GCC optimize("Ofast")
//#pragma GCC optimize("unroll-loops")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using db = double;
using ld = long double;
template<typename T> using V = vector<T>;
template<typename T> using VV = vector<vector<T>>;
#define fs first
#define sc second
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define eb emplace_back
#define lb lower_bound
#define ub upper_bound
#define all(v) (v).begin(),(v).end()
#define siz(v) (ll)(v).size()
#define rep(i,a,n) for(ll i=a;i<(ll)(n);++i)
#define repr(i,a,n) for(ll i=n-1;(ll)a<=i;--i)
#define ENDL '\n'
typedef pair<int,int> Pi;
typedef pair<ll,ll> PL;
constexpr ll mod = 1000000007;
constexpr ll INF = 1000000099;
constexpr ll LINF = (ll)(1e18 +99);
const vector<ll> dx={-1,1,0,0},dy={0,0,-1,1};
template<typename T,typename U> inline bool chmin(T& t, const U& u){if(t>u){t=u;return 1;}return 0;}
template<typename T,typename U> inline bool chmax(T& t, const U& u){if(t<u){t=u;return 1;}return 0;}
template<typename T> inline T gcd(T a,T b){return b?gcd(b,a%b):a;}
template<typename T,typename Y> inline T mpow(T a, Y n) {
  T res = 1;
  for(;n;n>>=1) {
    if (n & 1) res = res * a;
    a = a * a;
  }
  return res;
}



signed main(){
  cin.tie(0);ios::sync_with_stdio(false);
  cout<<fixed<<setprecision(20);
  string s;cin>>s;
  rep(i,0,3){
    if(s[i]=='7'){
      cout<<"Yes"<<ENDL;
      return 0;
    }
  }
  cout<<"No"<<ENDL;
}
//! ( . _ . ) ! 
//CHECK overflow,vector_size,what to output?

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

#include <bits/stdc++.h>
using namespace std;
//型に気を付けよう

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

int main() {
  char a,b,c;
  cin>>a>>b>>c;
  if(a=='7'||b=='7'||c=='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;
typedef long long ll;
int main(){
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	string s;
    cin>>s;
    for (int i=0;i<s.size();i++){
        if (s[i]=='7'){
            cout<<"Yes\n";
            return 0;
        }
    }
    cout<<"No\n";
}

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

#include <algorithm>
#include <vector>
#include <iostream>
#include <cmath>
#include <set>
#include <string>
#include <list>
using namespace std;
int calcdigit(int n)
{
	int d = 0;
	while (n > 0)
	{
		n = n/10;
		d++;
	}
	return d;

}


int main()
{
	int n;
	cin >> n;
	bool flg = false;
	int d = pow(10,calcdigit(n));


	while (d > 0)
	{
		if (n / d == 7)
		{
			flg = true;
			break;
		}
		n = n%d;
		d /= 10;
	}

	if(flg) 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

#include <iostream>
using namespace std;

int main() {
    int n;
    bool shingi = false;
    cin >> n;
    while (n) {
        if (n % 10 == 7) shingi = true;
        n /= 10;
    }
    if (shingi) 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(){
    string s;
    cin >> s;
    int i, j = 0;
    for(i = 0; i < 3; i++){
        if(s[i] == '7') j++;
    }

    if(j > 0) cout << "Yes" << endl;
    else cout << "No" << endl;

    return 0;
}

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

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

int main() {
  
  string N;
  cin >> N;
  string A = "No";
  
  for(int i = 0;i < 2;i++) {
    
    if(N.at(i) == "7")　{
      A = "Yes";
      break;
    }
  }
  
  cout << A <<endl;
  return 0;
}
      


Compiler output:
a.cc:12:23: error: extended character 　 is not valid in an identifier
   12 |     if(N.at(i) == "7")　{
      |                       ^
a.cc: In function 'int main()':
a.cc:12:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |     if(N.at(i) == "7")　{
      |        ~~~~~~~~^~~~~~
a.cc:12:23: error: '\U00003000' was not declared in this scope
   12 |     if(N.at(i) == "7")　{
      |                       ^~
Language: C

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

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

#include <bits/stdc++.h>

using namespace std;

int main()
{
	int n;
	scanf("%d",&n);
	bool ok = 0;
	while(n > 0)
	{
		if (n%10 == 7) ok = 1;
		n/=10;
	}
	if (ok) printf("Yes\n");
	else printf("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

//PLUS ULTRA

#include<bits/stdc++.h>
using namespace std;
     
     
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define pb push_back 
#define mp make_pair
#define forn(i,st,n) for(int i = st; i < n ; i++)
#define nfor(i,st,n) for(int i = st; i >= n ; i--)
#define ss second
#define ff first

typedef long long ll;
typedef pair <int , int> pii;

const int N = 1e5 + 10 , mod =  1000000007;

void solve(){
	int n;

	if(n%10 == 7 || (n/10)%10 == 7 || (n/100)%10 == 7)
		cout << "Yes" << endl;
	else cout << "No" << endl;


    



}

int main(){
    SPEED;

  	solve();

    return 0;
}
      
       


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

#pragma warning( disable : 6031)

#include <stdio.h>
#include <vector>
#include <string>
#include <queue>
#include <map>
#include <math.h>
int minimum(int a, int b) { return a < b ? a : b; }
int maximum(int a, int b) { return a > b ? a : b; }
//const long long mod = 1000000007;
const long long mod = 998244353;
using std::vector;
using std::pair;
using std::string;
using std::map;
int main() {
	char N[4];
	scanf("%s", N);
	for (int i = 0; i < 3; i++) {
		if (N[i] == '7') {
			printf("Yes");
			return 0;
		}
	}
	printf("No");
	return 0;
}

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

/* package codechef; // don't place package name! */

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

/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    boolean found = false;
		Scanner input = new Scanner(System.in);
		String s = input.next();
		for(int i=0;i<s.length();i++){
		    if(s.charAt(i)=='7'){
		        System.out.println("Yes");
		        found = true;
		    }
		}
		if(!found){
		    System.out.println("No");
		}
	}
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 's' was not declared in this scope
   10 |   if(s[0] == '7' || s[1] == '7' || s[2] == '7'){
      |      ^
Language: C

#include "bits/stdc++.h"
#define int long long
#define endl '\n'
using namespace std;
 
typedef long long ll;
#define db(x) cerr << #x << ": " << x << '\n';
#define read(a) int a; cin >> a;
#define readb(a, b) int a, b; cin >> a >> b;
#define readc(a, b, c) int a, b, c; cin >> a >> b >> c;
#define readarr(a, n) int a[(n) + 1] = {}; FOR(i, 1, (n)) {cin >> a[i];}
#define readmat(a, n, m) int a[n + 1][m + 1] = {}; FOR(i, 1, n) {FOR(j, 1, m) cin >> a[i][j];}
 
#define print(a) cout << a << endl;
#define printarr(a, n) FOR (i, 1, n) cout << a[i] << " "; cout << endl;
#define printv(v) for (int i: v) cout << i << " "; cout << endl;
#define printmat(a, n, m) FOR (i, 1, n) {FOR (j, 1, m) cout << a[i][j] << " "; cout << endl;} cout << endl;
#define all(v) v.begin(), v.end()
#define sz(v) (int)(v.size())
#define rz(v, n) v.resize((n) + 1);
#define pb push_back
#define fi first
#define se second
#define vi vector <int>
#define pi pair <int, int>
#define vpi vector <pi>
#define vvi vector <vi>
#define FOR(i, a, b) for (int i = (a); i <= (b); i++)
#define FORD(i, a, b) for (int i = (a); i >= (b); i--)
const ll inf = 1e18;
const ll mod = 1e9 + 7;
const ll N = 2e4 + 1;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
 
signed main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	
	string s;
	cin >> s;
    FOR (i, 0, 2)
        if (s[i] == '7') {cout << "Yes"; return 0;}
    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<iostream>
using namespace std;

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

using namespace std;

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

  cout << ((n[0] == '7' || n[1] == '7' || n[2] == '7')? "Yes" : "No") << endl;
  return 0;
}


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

#include<iostream>
using namespace std;
int main(){
	int n, a[3];
	scanf("%d",&n);
	for(int i=0;i<3;i++){
		a[i]=n%10;
		n/=10;
		if(a[i]==7){
			printf("Yes\n");
			return 0;
		}
	}
	printf("No\n");
	return 0;
} 

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

// In The Name of Almighty Allah
#include<bits/stdc++.h>
using namespace std;
#define             fastio              ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define             ff                  first
#define             ss                  second
#define             int                 long long
#define             pb                  push_back
#define             pf                  push_front
#define             pii                 pair<int,int>
#define             print(x)            for(auto it : x) cout<<it<<' '; cout<<'\n';
#define             debug(x)            cout << #x << " --->> " << x << endl;
#define             mod                 1000000007
#define             inf                 1e18
#define             PI                  (acos(-1))
#define             eps                 (1e-8)
#define             clear(x)            memset(x,0,sizeof(x));


main()
{


	int a, b, c, x, y, z, p, q, r, n, m;
	string s;
	cin >> s;
	bool flag = false;
	for (int i = 0; i < s.size(); i++)
	{
		if (s[i] == '7')
		{
			flag = true;
			break;
		}
	}
	cout << ((flag == true) ? "Yes" : "No") << endl;
}

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

N = int(input())

if N//100 == 7:
    print('Yes')
elif (N - N//100*100)//10 == 7:
    print('Yes')
elif (N - N //10*10)== 7:
    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:5: error: expected expression before 'int'
    1 | N = int(input())
      |     ^~~
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('Yes')
      |           ^~~~~
main.c:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('Yes')
      |           ^~~~~
main.c:10:11: warning: multi-character character constant [-Wmultichar]
   10 |     print('No')
      |           ^~~~
Language: C

#include<iostream>
#include<iomanip>
#include<vector>
#include<map>
#include<list>
#include<string>
#include<algorithm>
#define ll long long

using namespace std;

int main(){
  int N;
  cin >> N;
  int a = N / 100;
  int b = (N - 100*a) / 10;
  int c = (N - 100*a - 10*b);
  if(a == 7 || b == 7 || c == 7){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

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

#include <bits/stdc++.h>
 
//BIAR MANTAB LAH YA
#define Willy using
#define Indrayana namespace
#define Komara std
 
Willy Indrayana Komara;

using ll = long long int;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;
    cin >> s;
    for (int i = 0; i < s.length(); i++)
    {
        if (s[i] - '0' == 7)
        {
            puts("Yes");
            return 0;
        }
    }
    puts("No");
    return 0;
}

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

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

//#define DEB1 //input from input.txt
//#define NDEBUG
#include <iostream>
#include <algorithm>
#include <string>
#include <fstream>
#include <vector>
#include <cstdio>
#include <cmath>
#include <queue>
#include <stack>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <string>
#include <set>
#include <map>
#include <thread>
#include <mutex>
#include <iomanip>
#include <cassert>

#define ZERO(a) memset(a, 0, sizeof(a))
#define MINUS(a) memset(a, 0xff, sizeof(a))
#define INF(a) memset(a, 0x3f, sizeof(a))
#define ALL(t) (t).begin(),(t).end()
#define FILL(a,c) fill(a, a+ sizeof(a)/sizeof(*a),c)
#define FILL2D(A,c) fill(A[0], A[0] +sizeof(A)/sizeof(**A),c)
#define FILL3D(A,c) fill(A[0][0], A[0][0] +sizeof(A)/sizeof(***A),c)
#define REP(i,m) for(int i=0;i<(m);++i)
// closed interval, inverse repeat
#define CIREP(i,start,fin) for(int i=(start);i>=(fin);i--)
#define CREP(i,start,fin) for(int i=(start);i<=(fin);i++)
#define RNG(i,start,fin) for(int i=(start);i<(fin);i++)
#define IN(a, x, b) (a<=x && x<b)
#define PB push_back
#define SZ(x) (int)(x).size()

using namespace std;

using LL = long long;
using PAIR = pair<int, int>;
using PAIRLL = pair<LL,LL>;
using VI = vector<int>;
using VLL = vector<LL>;
using VVLL = vector<VLL>;
using VVI = vector<VI>;
const LL LINF = 1001002003004005006ll;
/* 
template<typename T>inline istream& operator>>(istream&i,vector<T>&v)
{REP(j,SZ(v))i>>v[j];return i;}

template<typename T>string join(const vector<T>&v)
{stringstream s;REP(i,SZ(v))s<<' '<<v[i];return s.str().substr(1);}

template<typename T>inline ostream& operator<<(ostream&o,const vector<T>&v)
{if(SZ(v))o<<join(v);return o;}
*/

template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}




/*
constant values
*/

//const int dx[] = {1,0,-1,0};
//const int dy[] = {0,1,0,-1};
//const int MX = 31001;

//const ll INF= 1LL<<60 ;//INF = 1001001001001; //1e9


// Main program
void solve(){
    string S;
    cin >> S;
    cerr << S[0];
    if(S[0]!='7' && S[1]!='7' && S[2]!='7'){
        cout << "No" << endl;
    }
    else{
        cout << "Yes" << endl;
    }
    return;
}



// ----------------------------------------------
int main(){

#ifdef DEB1
    cout << "DEBUG MODE"  << endl;
    ifstream in("input.txt"); //for debug
    cin.rdbuf(in.rdbuf()); //for debug
#endif

    int T=1; 

    for (int i = 0; i < T; ++i) {
        solve();
    }

    return 0;
}

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

#include <bits/stdc++.h>

using namespace std;

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

    string numbers = to_string(N);

    string answer = "No";
    for (char number : numbers) {
        if (number == '7') {
            answer = "Yes";
            break;
        }
    }

    cout << answer << endl;

    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const int mod=1000000007;
#define pb  push_back
#define FOR(i,n) for(int i=0;i<(n);i++)
#define FORA(i,a,b) for(int i=(a);i<=(b);i++)
#define FORD(i,a,b) for(int i=(a);i>=(b);i--)
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);
#define count_1(n)  __builtin_popcountll(n)
#define parity(n)   __builtin_parityll(n)   //Even parity 0 as output
void show    (int a[], int arraysize) { for (int i = 0; i < arraysize; ++i)  {cout << a[i] << " ";}	cout<<endl;}
int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b);}
void sieve(int n)
{
    bool prime[n+1];
    memset(prime, true, sizeof(prime));

    for (int p=2; p*p<=n; p++)
    {
        if (prime[p] == true)
        {
            for (int i=p*p; i<=n; i += p)
                prime[i] = false;
        }
    }
    for (int p=2; p<=n; p++)
       if (prime[p])
          cout << p << " ";
}
int main()
{FAST


int n,m,v=0,x=3;

cin>>n;
while(x--)
{
   m=n%10;
	if(m==7)
	{
		cout<<"Yes\n";
		v++;
		break;
	}
	n=n/10;
}
if(v==0)
{
	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/stdsc++.h>
using namespace std;
int main(){
  string s;
  cin >> s;
  int a = 0;
  for (int i=0;i<s.size();i++){
    if (s[i] == '7'){
      a = 1;
    }
  }
  
  if (a == 1){
    cout << "Yes" << endl;
  }
  else{
    cout << "Mo" << endl;
  }
}

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

#include <iostream>
using namespace std;
#include<bits/stdc++.h>
#define ll long long 
#define jaldi_chal  ios_base::sync_with_stdio(0); cin.tie(0);
#define tr(c,i) for(auto i=(c).begin(); i != (c).end(); i++)
#define REP(i,k) for( ll i=0;i<k;i++)
#define REW(i,a,b) for(ll i=a;i<=b;i++)
#define M 1000000007
#define F first
#define dbg(x)  cout<<#x<<" " <<x<<endl;
#define S second
#define inf 1e10
#define endl "\n"


int main() {
jaldi_chal
ll n;
cin>>n;
ll flag=0;
for(ll i=n;i>0;i=i/10)
{
	if(i%10==7) flag=1;
}
if(flag) cout<<"Yes";
else cout<<"No";

	return 0;
}

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

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

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

int main()
{
    std::string n;
    cin >> n;
    /*
    int a[n];
    for(int i=0; i<n; i++){
        cin >> a[i];
    }
    */
    if(n.find("7") == std::string::npos)
        cout << "No" << endl;
    else
    cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:10: error: 'string' is not a member of 'std'
    3 |     std::string n;
      |          ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | int main()
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> n;
      |     ^~~
a.cc:4:12: error: 'n' was not declared in this scope
    4 |     cin >> n;
      |            ^
a.cc:11:28: error: 'std::string' has not been declared
   11 |     if(n.find("7") == std::string::npos)
      |                            ^~~~~~
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "No" << endl;
      |         ^~~~
a.cc:12:25: error: 'endl' was not declared in this scope
   12 |         cout << "No" << endl;
      |                         ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:14:22: error: 'endl' was not declared in this scope
   14 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C

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

int main(){

    int x, y, z, tmp;

    cin >> x;

    if(x % 10 == 7){
        cout << "Yes" << endl;
    }else{
        y = x / 10;
        if(y % 10 == 7){
            cout << "Yes" << endl;
        }else{
            z = y / 10;
            if(z % 10 == 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>
using namespace std;

int main() {
  int N;
  cin >> N;
  bool ans = false;
  int a,b,c;
  a=N%10;
  b=(N-a)%100;
  c=N/100;
  if(a==7)
    ans=true;
  if(b==7)
    ans=true;
  if(c==7)
    ans=true;
  
  if(ans)
    cout << "Yes" << endl;
  else
    couut << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:5: error: 'couut' was not declared in this scope
   22 |     couut << "No" << endl;
      |     ^~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'a' was not declared in this scope
    8 |     if(a.at(i)==7){
      |        ^
Language: C

#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<cmath>
typedef long long  ll;
typedef long double lb;
using namespace std;
int main() {
        string n;
        cin >> n;
        if (n[0] == '7') cout << "Yes";
        else if (n[1] == '7')cout << "Yes";
        else if (n[2] == '7')cout << "Yes";
        else cout << "No";
    }


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

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

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

#include<bits/stdc++.h>

using namespace std;

#define REP(i,n) for(int i=0;i<n;i++)
#define FOR(i,start,end)for(int i=start;i<end;i++)
#define SORT(v) sort(v.begin(),v.end())
typedef long long ll;

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

}


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

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

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

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

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

int main(){
  int cnt;
  string N(3);
  for(int i; i<3; i++) {
    if (N.at(i) == "7") cnt++;
      else{}
  }
  if (cnt != 3) 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



import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int h = n / 100;
		int t = (n % 100) / 10;
		int o = n % 10;

		if (h == 7 || t == 7 || o == 7) {
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}

		scanner.close();
	}

}


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

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <climits>
#include <cstring>
#include <cassert>

#define rep(i, m, n) for(int i=int(m);i<int(n);i++)
#define all(c) begin(c),end(c)

template<typename T1, typename T2>
inline void chmin(T1 &a, T2 b) { if (a > b) a = b; }

template<typename T1, typename T2>
inline void chmax(T1 &a, T2 b) { if (a < b) a = b; }

typedef long long int ll;
using ll = long long int;
using ull = long long unsigned int;
using Int = long long int;
using uInt = long long unsigned int;
using Double = long double;
using namespace std;
#define INF (1 << 30) - 1
#define INFl (ll)5e15
#define DEBUG 0
#define dump(x)  cerr << #x << " = " << (x) << endl
#define MOD 1000000007


//edit
class Solve {
public:
    void solve() {
        string s;
        cin >> s;
        for (auto e : s) {
            if (e == '7') {
                cout << "Yes" << endl;
                return;
            }
        }
        cout << "No" << endl;

    }
};


int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(10);
//    std::ifstream in("input.txt");
//    std::cin.rdbuf(in.rdbuf());

    Solve().solve();


    return 0;
}


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

#include <iostream>
#include <string>

using namespace std;

int main(void) {
    string N;
    bool res = false;

    cin >> N;

    for (int i = 0; i < N.length(); i++) {
        if (N.at(i) == '7') {
            res = true;
            break;
        }
    }
    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

///mAAria...
#include<bits/stdc++.h>
 
using namespace std;
 
#define int long long
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(v) v.begin(),v.end()
#define allr(v) v.rbegin(),v.rend()
#define ld long double
#define ff first
#define ss second
#define pb push_back
#define pii pair<int,int>
#define pi 3.1415926535897932384626433832
#define mod 1000000007
//#define mod 998244353
#define inf 1000000000
#define pr1(a) cout << a << "\n"
#define pr2(a,b)cout << a <<  " " <<b<< "\n"
#define pr3(a,b,c) cout << a <<" " << b << " " << c << "\n"

const long double PI = acos(-1);

int powm(int a, int b) {
    int res=1;
    while(b) {
        if(b&1)
            res=(res*a)%mod;
        a=(a*a)%mod;
        b>>=1;
    }
    return res;
}

int gcd(int a, int b){
    if(b==0)return a;
    gcd(b,a%b);
}
const int maxn = 2*1e5 + 10;

void solve(){

    string s;
    cin >> s;

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

 }
 cout << "No" << endl;


} 

signed main() 
{   
    IOS;
    int t = 1;
    // cin >> t;

    for(int i = 1;i<=t;i++){
        solve();
    }
    return 0;
} 

 

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

a,b,c = gets.split("").map(&:to_i)
if a == 7 || b == 7 || c == 7
  puts "Yes"
else
  puts "No"
end


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a,b,c = gets.split("").map(&:to_i)
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | a,b,c = gets.split("").map(&:to_i)
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | a,b,c = gets.split("").map(&:to_i)
      |     ^
main.c:1:9: error: 'gets' undeclared here (not in a function)
    1 | a,b,c = gets.split("").map(&:to_i)
      |         ^~~~
main.c:1:29: error: expected expression before ':' token
    1 | a,b,c = gets.split("").map(&:to_i)
      |                             ^
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if a == 7 || b == 7 || c == 7
      | ^~
Language: C

num=input()
flag=0
for i in range(3):
  if int(num[i])==7:
    flag=1
if flag==0:
  print("Yes")
else:
  print("No")

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