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

#include <iostream>
#include "bits/stdc++.h"
using namespace std;
using graph = vector<vector<int>>;
typedef long long ll;


int main() {
	ll n,m,o;
	cin >> n;
	m = n - n % 10;
	m = m / 10;
	o = m - m % 10;
	o = o / 10;
	if (n % 10 == 7) {
		cout << "Yes" << endl;
	}
	else if (m%10 == 7) {
		cout << "Yes" << endl;
	}
	else if (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: C

#include <iostream>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <utility>
#include <map>
#include <string>
#include <math.h>
using namespace std;
typedef long long ll;


int main() {

    int N;
    cin >> N;
    if(N/100==7){
        cout << "Yes" << endl;
        return 0;
    }else if((N%100)/10==7){
        cout << "Yes" <<endl;
        return 0;
    }else if((N%10)==7){
        cout << "Yes" <<endl;
        return 0;
    }
    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;
    if(s.at(0)=='7'||s.at(1)=='7'||s.at(2)=='7') cout<<"Yes";
    else<<cout<<"No";
}

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

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


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

}

Compiler output:
main.c:1:10: fatal error: 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 (ll i=1; i<=(n); ++i)
typedef long long ll;
bool debug=false;
string yes = "Yes";
string no = "No";
int main(){
  string k; cin >> k;
  if(k[0]=='7'||k[1]=='7'||k[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

import sys
N=input()
N=int(N)
a = N / 100
a = int(a)
b = (N - a * 100)/10
b = int(b)
c = (N- a*100 - b*10)
if a==7 or b ==7 or c==7:
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import sys
      | ^~~~~~
main.c:2:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'N'
    2 | N=input()
      | ^
main.c:10:11: warning: multi-character character constant [-Wmultichar]
   10 |     print('Yes')
      |           ^~~~~
main.c:12:11: warning: multi-character character constant [-Wmultichar]
   12 |     print('No')
      |           ^~~~
Language: C

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

string s;
cin>>s;
for (int i = 0; i < s.size(); ++i)
{
	if (s[i]=='7')
	{
cout<<"Yes\n";
return 0;		/* code */
	}
}
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<iostream>
# include<cstring>
using namespace std;
int main()
{
	string s;
	cin>>s;
	bool ok = false;
	for(int i=0;i<s.length();i++)
	{
		if(s[i]=='7')
		{
			ok = true;
			break;
		}
	}
	if(ok)
	{
		 cout<<"Yes"<<endl;
	}
	else
	{
		 cout<<"No"<<endl;
	}
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int x,a,b,c;
cin >> x;
 a=x/100;
 b=(x-100*a)/10;
 c=x-(100*a)-(10*b);
 if(a==7 || b==7 || c==7){
 cout <<"Yes"<<endl;
 }else{
 cout <<"No"<<endl;
 }
}


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

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

int main() {
        ll n;
        cin>>n;
        bool x=false;
        while(n!=0)
        {   int y=n%10;
            if(y==7)
            x=true;
            n=n/10;
        }
        if(x)
        cout<<"Yes";
        else
        cout<<"No";
}

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

#include <bits/stdc++.h>
using namespace std;
int s = 0;
char f = '7';
cin >> s;
string a = to_string(s);
if( a.find(f) == 0 ) cout << "Yes";
else cout << "No";

Compiler output:
a.cc:5:1: error: 'cin' does not name a type
    5 | cin >> s;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if( a.find(f) == 0 ) cout << "Yes";
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else cout << "No";
      | ^~~~
Language: C

#include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
#include <string>
using namespace std;

int main(){
  // 入力
  string N;
  cin >> N;

  string result = "No";
  if(N[0]=='7' || N[1]=='7'  || N[2]=='7' ) {
    result = "Yes";
  }

  cout << result << 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 N; // 2-10 or 2-1000

	cin >> N;

	if (strstr(N.c_str(), "7"))
		cout << "Yes" << endl;
	else
		cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: 'strstr' was not declared in this scope
   12 |         if (strstr(N.c_str(), "7"))
      |             ^~~~~~
a.cc:2:1: note: 'strstr' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | #include <string>
Language: C

N = list(input())

num = 0

for i in N:
    if i == '7':
        num += 1
    else:
        pass

if num == 0:
    print('No')
else:
    print('Yes')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = list(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | N = list(input())
      |     ^~~~
main.c:1:10: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = list(input())
      |          ^~~~~
main.c:1:5: error: initializer element is not constant
    1 | N = list(input())
      |     ^~~~
main.c:3:1: error: expected ',' or ';' before 'num'
    3 | num = 0
      | ^~~
main.c:12:11: warning: multi-character character constant [-Wmultichar]
   12 |     print('No')
      |           ^~~~
main.c:14:11: warning: multi-character character constant [-Wmultichar]
   14 |     print('Yes')
      |           ^~~~~
Language: C

n = int(input())
print("Yes") if '7' in str(n) and len(str(n)) == 3 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())
      |     ^~~
Language: C

#include <iostream>
#include <string>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <map>
#include <functional>
#include <cmath>


using namespace std;

int main()
{
	unsigned long long int n,sum = 0;
	cin >> n;

	for (int i = 1; i <= n; i++)
	{
		if (i % 3 != 0 && i % 5 != 0)
			sum += i;
	}
	cout << sum;
	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 <stdio.h>
#include <algorithm>
#include <vector>
#include <float.h>
#include <stdlib.h>
#include <functional>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define in cin >>
#define out cout <<
#define sort(v) sort(v.begin(),v.end())
#define reverse(v) reverse(v.begin(),v.end())
#define all(v) v.begin(),v.end()
typedef long long ll;
ll modpow(ll a,ll n,ll mod){
    ll res=1;
    while(n>0){
        if(n&1)res=a*res%mod;
        a=a*a%mod;
        n>>=1;
    }
    return res;
}
void comb(vector<vector <long long int> > &v){
  for(int i = 0;i <v.size(); i++){
    v[i][0]=1;
    v[i][i]=1;
  }
  for(int k = 1;k <v.size();k++){
    for(int j = 1;j<k;j++){
      v[k][j]=(v[k-1][j-1]+v[k-1][j]);
    }
  }
}


int main(){
    int n;
    cin >> n;
    int a1=n/10;
    int n1=n-a1*10;
    int n2=n/100;
    int n3=a1-n2*10;
    if(n1==7 || n2==7 ||n3==7){
        cout << "Yes";
    }else
    {
        cout << "No";
    }
    
}


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

#include<bits/stdc++.h>

//短縮
#define rep(i,n) for(int i=0;i<(n);++i)
//sort()用
#define all(v) v.begin(), v.end()



using namespace std;

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

  return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
const long long INF = numeric_limits<long long>::max();
typedef long long ll;
int main(void)
{
    int n;
    cin >> n;
    vector<int> h(n);
    rep(i,n) cin >> h[i];
    int ans = h[0];
    rep(i,n-1){
        if (h[i] < h[i+1]){
            ans += h[i+1] - h[i];
        }
    }
    cout << ans << endl;
    return 0;
}

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

n = int(input())
n = str(n)
n.split()
a= 0
for i in n:
    if i=='7':
        print('Yes')
        a =1
        break
if a==0:
    print('No')

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

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

#include <iostream>

using namespace std;

#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
  enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
    *this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "


// CHECK THE LIMITS
typedef long long ll;

const int MOD = 1000000007;
const ll INFLL = 1e18;
const int INF = 1e9;
const int NMAX = 1000001;

int gcd(int a, int b) {
  return b ? gcd(b, a%b) : a;
} 

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

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



    return 0;
}

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

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

int main(){
    string S;
    cin >> S;
    //cout << S[2] << endl;
    bool ans = 0;
    for(int i = 0; i < 3; i++){
        if(S[i] == '7'){
            ans = 1;
        }
    }
    if(ans){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
signed main(){
  int n;
  cin>>n;
  for(int i=0;i<3;i++){
    if(n%10==7){
      cout<<"Yes\n";
      return 0;
    }
    n/=10;
  }
  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.
Language: C

n = input()

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

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

N=input()
X=N.replace("7","")
if len(N)==len(X):
    print("No")
else:
    print("Yes")

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

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

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

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

#define _USE_MATH_DEFINES
#include<iostream>
#include<fstream>
#include<vector>
#include<string>
#include<algorithm>
#include<climits>
#include<numeric>
#include<cmath>
#include<cstring>
#include<deque>
#include<map>
#include<iomanip>

#define REP(i, n) for(int i = 0;i < n;i++)
#define REPR(i, n) for(int i = n;i >= 0;i--)
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define FORR(i, m, n) for(int i = m;i >= n;i--)
#define VSORT(v) sort(v.begin(), v.end());
#define VE vector<int>
#define VEP vector<pair<int,int>>
#define ll long long
#define pb(a) push_back(a)
using namespace std;
const vector<VE> DIR{ {-1,0},{1,0},{0,-1},{0,1} };
const ll MOD = 1000000007;
long long GCD(long long a, long long b) {
	if (b == 0) return a;
	else return GCD(b, a % b);
}

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


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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); i++)
#define rrep(i,n) for(int i = 1; i <= (n); ++i)
#define drep(i,n) for(int i = (n)-1; i >= 0; --i)
#define srep(i,s,t) for (int i = s; i < t; ++i)
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef tuple<int,int,int> T;
typedef vector<P> vp;
typedef vector<T> vt;

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

  int main(void) {
    string N;
    cin >> N;
    rep(i,n){
      if(s[i]=='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;

using lli = long long int;

template <class T>ostream &operator<<(ostream &o,const vector<T>&v)
{o<<"{";for(int i=0;i<(int)v.size();i++)o<<(i>0?", ":"")<<v[i];o<<"}";return o;}

template <class T>ostream &operator<<(ostream &o,const pair<T, T>&p)
{o<<"("<<p.first<<", "<<p.second<<")";return o;}

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

const lli MOD = 1000000007LL;

lli modpow(lli a, lli n){
    lli res = 1;

    for(lli ai = a; n; n>>=1){
        if(1&n) res = (res*ai)%MOD;
        ai=(ai*ai)%MOD;
    }
    return res;
}

lli inv(lli n){
    return modpow(n, MOD-2);
}

lli modperm(lli n, lli k){
    lli res = 1;
    rep(i, k){
        res = (res*(n-i))%MOD;
    }
    return res;
}

lli modcomb(lli n, lli k){
    return (modperm(n, k)*inv(modperm(k, k)))%MOD;
}

lli posmod(lli n){
    lli res = n;
    res %= MOD;
    if(res < 0) res += MOD;
    return res;
}
int n;

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


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

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define dunk(n) cout << n << endl
#define all(a) (a).begin(),(a).end()
int main() {
    string n;
    cin >> n;
    if(n[0] == 7 || n[1] == 7 || n[2] == 7) dunk("Yes");
    else dunk("Yes");
    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 <bits/stdc++.h>
using namespace std;

int main() {
  string b;

  
 cin>>b;
  char a=b.at(0),c=b.at(1),d=b.at(2);
  if(a =='7' || c=='7' || d=='7')cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
  
 
 
}



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

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

int main() {
  int N:
  cin >>N;
  if(N-700 >=0 && N-700 <100){
    cout << "Yes" << endl;
  }
  else if(N%100 >=70 && N%100 < 80){
    cout << "Yes" << endl;
  }
  else if(N%10 == 7){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
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;
  }

cout<<result<<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()
{
    char a,b,c; cin >> a >> b >> c;
    cout << ((a == '7' || b == '7' || c == '7') ? "S" : "N") << endl;
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:17: error: 'cin' was not declared in this scope
    7 |     char a,b,c; cin >> a >> b >> c;
      |                 ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << ((a == '7' || b == '7' || c == '7') ? "S" : "N") << endl;
      |     ^~~~
a.cc:8:65: error: 'endl' was not declared in this scope
    8 |     cout << ((a == '7' || b == '7' || c == '7') ? "S" : "N") << endl;
      |                                                                 ^~~~
Language: C

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

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

  cout << ans << 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<cstdio>
#include <iostream>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<algorithm>
#include<cmath>
#include<complex>
#include <cstring>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<bitset>
#include<numeric>
#include<limits>
#include<climits>
#include<cfloat>
#include<functional>
#include<iterator>
#include <random>
#define inf  1000000000
#define all(x) begin(x),end(x)
#define ll long long int
#define ff first
#define ss second
#define pb push_back
const ll mod = 1000000007;
#pragma GCC optimization ("O3")
const int N = 100005;
using namespace std;

int main()
{
 
    // freopen("input.txt","r",stdin);
    // freopen("output.txt","w",stdout);
     //ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    string s;
    cin >> s;
    if( !(s[0]== '7' || s[1] == '7' || s[2] == '7') )
        cout << "No";
    else
        cout << "Yes"; 
    return 0;
} 

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

#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(N: int):
    n = str(N)
    if "7" in n:
        print(YES)
    else:
        print(NO)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    solve(N)

if __name__ == '__main__':
    main()


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/env python3
      |  ^
main.c:2:1: error: unknown type name 'import'
    2 | import sys
      | ^~~~~~
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YES'
    4 | YES = "Yes"  # type: str
      | ^~~
main.c:4:14: error: stray '#' in program
    4 | YES = "Yes"  # type: str
      |              ^
main.c:5:12: error: stray '#' in program
    5 | NO = "No"  # type: str
      |            ^
main.c:23:28: error: stray '#' in program
   23 |     N = int(next(tokens))  # type: int
      |                            ^
main.c:26:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   26 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C

N = input()
check = "NG"
for i in range(len(N)):
    if N[i] == "7":
        print("Yes")
        check = "OK"
        break
    else:
        continue
if check == "NG":
    print("No")


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

#include <bits/stdc++.h>

using namespace std;

int main()
{
    string N;
    cin >> N;
    int ans = 0;
    for (int i = 0;i < 2;i++) {
        if(N[i] == 7){
            ans++;
        }
    }
    if(ans == 0){
        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

A = input()
X = "7"in A
if X ==True:
    print("Yes")
else:
    print("No")

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

#include <fstream>
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <queue>
#include <set>
#include <cmath>
#include <climits>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define sz(x) int(x.size())

using namespace std;
typedef long long ll;

int main() {
#ifdef RUN_LOCAL
  ifstream in("../input.txt");
  cin.rdbuf(in.rdbuf());
#endif

  cin.tie(0);
  ios::sync_with_stdio(false);

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

  return 0;
}


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

#include <bits/stdc++.h>
#include <fstream>
#include <cstdio>
using namespace std;
// vector<pair<int,int> > v;
// cin.ignore();//twice getline(cin,s);
// g++ iterator.cpp -std=c++17
// cout<<(A + B == C ? "YES" : "NO")<<endl;
// __gcd(a,b)
// string s=to_string(i);
// sort(arr, arr+n, greater<int>());
#define ff first
#define ss second
#define pb push_back
#define mk make_pair
#define vll vector<ll>
#define mll map<ll,ll >
#define mlli map<ll,ll>::iterator
#define size size()
#define endl "\n"
#define ll long long int
#define ld long double
void fast(){ios_base::sync_with_stdio(false);
cin.tie(NULL);cout.tie(NULL);}


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

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

#include<bits/stdc++.h>
#include<cmath>
#include<algorithm>
#include<vector>
using namespace std;
int main()
{
	int i,j,n,m;
     int tc;
     
     	int odd=0,even=0;
     	
        cin>>n;
         while(n)
         {
         	int k=n%10;
         	n/=10;
         	
         	if(k==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>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
//using namespace __gnu_pbds;
using namespace std;
typedef long long ll;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    string ch;
    cin>>ch;
    if(ch[0]=='7' || ch[1]=='7' || ch[2]=='7')
    {
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl;
    return 0;
}


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

#include<bits/stdc++.h>

using namespace std;


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

#include <iostream>
#include <string>
#include <math.h>
#include <algorithm>
using namespace std;

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

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

    string S;
    S = to_string(N);
    int length = (int)S.size();
    bool is_s = false;
    for(int i = 0; i < length; i++){
        if(S.at(i) == '7'){
            is_s = true;
            break;
        }
    }

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

    return 0;
}

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

#include <bits/stdc++.h>
#include <vector>
#include <iostream>
#include <map>
#include <cmath>
#include <string>
using namespace std;

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

typedef long long ll;


ll gcd(ll a, ll b) { return b ? gcd(b, a%b) : a; }
ll lcm(ll c, ll d) { return c / gcd(c, d) * d; }

int main() {
  int n;
  cin >> n;
  int hund = n/100;
  n = n%100;
  int ten = n/10;
  n = n%10;
  int one = n;

  cout << ((hund == 7 || ten == 7 || one == 7) ? "Yes" : "No") << endl;
  return 0;
}

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

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

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

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;

    bool hantei=false;
    int r;

    for(int i=0; i<3; i++){
        r=n%10;
        if(r==7){
            hantei=true;
        }
        n/=10;
    }

    if(hantei==true){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
}

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

s = input()
print('Yes') if '7' in s else print('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:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | s = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print('Yes') if '7' in s else print('No')
      | ^~~~~
main.c:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes') if '7' in s else print('No')
      |       ^~~~~
main.c:2:37: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes') if '7' in s else print('No')
      |                                     ^~~~
Language: C

#include <bits/stdc++.h>

using namespace std;

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

    cout << "No" << endl;

    return 0;
}

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

a=input()

if(a[0] == '7'):
  print('Yes')
elif(a[1] == '7'):
  print('Yes')
elif(a[2] == '7'):
  print('Yes')
else:
  print('No')

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

#include <iostream>

using namespace std;

int n, ok;

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


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

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

}

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

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

const int M = 1e9+7;

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

    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:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

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

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	int flag = 0;
	vector<int> v;
	while(n>0){
		int digit  = n%10;
		v.push_back(digit);
		n = n/10;
	}
	for(int i=0 ;i<v.size(); i++){
		if(v[i] == 7){
			flag = 1;
		}
	}
	if(flag == 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>
using namespace std;
typedef long long ll;
int main(void)
{
  string s;
  cin >> s;
  if(s[0] = '7') cout << "Yes\n";
  else if(s[1] = '7') cout << "Yes\n";
  else if(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<string>
#include<algorithm>
typedef long long ll;
using namespace std;
const int N=2e5+5;
int a[N];

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
	string str;
	cin>>str;
	int f=0;
	for(int i=0;i<str.length();i++){
		if(str[i]=='7')f=1;
	}
	if(f)puts("Yes");
	else puts("No");
	return 0;
}

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

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

#define vi vector<int>
#define vl vector<long>
#define vvi vector<vector<int>>
#define vvl vector<vector<long>>
#define pint pair<int, int>
#define plong pair<long, long>

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

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
    
   int a,b,c=0;
   string s;
   cin>>s;
   for (int i = 0; i < 4; i++) {
       /* code */
  
   if(s[i]==7)
   {
       c++;
   }
   }
   if(c>0)
   {
       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++>
using namespace std;

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

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

N = input()


if '7' in N:
    print('Yes')
else:
    print('No')

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

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

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


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

#include<iostream>
#include<stdlib.h>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
using namespace std;

int main()
{
  int a;
  int a_1=0;
  int a_2=0;
  int a_3=0;
  
  cin>>a;
  
  a_1=a/100;
  a=a%100;
  a_2=a/10;
  a_3=a%10;
  
  if(a_1==7||a_2==7||a_3==7)
  {
    cout<<"Yes"<<endl;
  }
  else
  {
    cout<<"No"<<endl;
  }

  return 0;
}

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

#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

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


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

#include <bits/stdc++.h>
using namespace std;
 
#define FASTIO  ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define ll long long int
#define ld long double
#define vll vector<ll>
#define pll pair<ll,ll>
#define vl(p) vector<p>
#define W while
#define For(i,s,x) for(i=s;i<x;i++)
#define Fore(i,s,x) for(i=s;i<=x;i++)
#define FOR(i,x) for(i=0;i<x;i++)
#define Rof(i,s,x) for(i=s;i>=x;i--)
#define all(v) v.begin(),v.end()
#define it(r,v) for(auto r=v.begin();r!=v.end();r++)
#define pb push_back
#define in insert
#define sz size()
#define F first
#define S second
#define nl cout<<"\n"
#define pr(a) cout<<a<<" "
#define pr2(a,b) cout<<a<<" "<<b<<"\n"
#define pr3(a,b,c) cout<<a<<" "<<b<<" "<<c<<"\n"
#define mod 1000000007

  int main()
  {
    char s[3];
    cin>>s;
    ll i,count=0;
    FOR(i,3)
    {
        if(s[i]=='7')
        count++;
    }
    if(count>=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<iostream>
#include<algorithm>
#include <vector>

using namespace std;

int main() {
	string n;
	string seven = "No";
	cin >> n;

	for (int i = 0; i < 3; i++) {
		if (n[i] == '7') {
			seven = "Yes";
		}
	}

		cout << seven;
}

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

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

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


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

#include <iostream>
using namespace std;
int main(){
  char a;
  int b=0;
  for(int i=0;i<3;i++){
    cin>>a;
    if(a==7){b=1;}
  }
  if(b==0){
    cout << "No"<<endl;
  }else{
    cout << "Yes"<<endl;
  }
}

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

n = (input())
for i in range(len(n)):
         if n[i] == "7":
                  print("Yes")
                  exit()
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:6: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n = (input())
      |      ^~~~~
main.c:1:5: error: initializer element is not constant
    1 | n = (input())
      |     ^
main.c:2:1: error: expected ',' or ';' before 'for'
    2 | for i in range(len(n)):
      | ^~~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
  int N;
  cin >> N;
//  cout << (N-N%100)/100 << (N%100-N%10)/10  << N%10 << endl;
  if(N-N%100==7 || N%100-N%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>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define OUT(s) cout << s << "\n";

int N;
using namespace std;
https://atcoder.jp/contests/abc162/tasks
void Main()
{
    string tmp = to_string(N);
    int a = tmp.find("7");
    if (a == -1) {
        OUT("No");
    } else {
        OUT("Yes");
    }

}

int main()
{
	cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> N;
	// cout << fixed << setprecision(15);
	Main();
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int in() {int x; cin>>x; return x;}
ll lin() {ll x; cin>>x; return x;}
string sin() {string x;cin>>x;return x;}
using graph = vector<vector<int>>;
using graph2 = vector<vector<pair<int, int>>>;

bool ifprime(int x){
    if(x==1)return false;
    if(x==2)return true;
    if(x%2==0)return false;
    for(int i=2;i*i<=x;i++){if(x%i==0)return false;}
    return true;
}
ll mod(ll x, ll y){if(x>=0||x%y==0) return x%y;return y+x%y;} //mod including minus
ll dv0(ll x, ll y){if(x>=0||x%y==0)return x/y;return x/y-1;} //rnd down
ll dv1(ll x, ll y){if(x%y==0) return dv0(x,y);return dv0(x,y)+1;} //rnd up

//Start from Here
int main(){
    int N;
    int a, b, c;
    a=N%10;
    b=((N-a)/10)%10;
    c=(N-a-10*b)/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;

int main(void){
    string N;
    int a=0;
    cin >> N;
    for(int i=0; i <3; i++){
        if(N[i]=='7'){
            a=1;
        }
    }
    if (a==1){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
}

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

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

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

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

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

using namespace std;

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


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

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
// ll mod=1000000007;
 
int main(){
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL);
    cout.tie(NULL);
    ll t,i,j,k,temp,temp2,n,m,x,y,sum=0;
    cin >> t;
    string s = to_string(t);
    if(s[0]=='7'||s[1]=='7'||s[2]=='7') cout << "Yes";
    else cout << "No";
}

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