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

#include <iostream>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <set>
#include <map>
#include <iterator>

using namespace std;

int main()
{
    int n;
    cin >> n;
    int c = 0;
    for (int i = 0;i < 3;i++){
        if (n%10 == 7){
            c = 1;
            break;
        }
        n = n/10;
    }
    if (c == 1){
        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

import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		String N = sc.next();
		char seven = '7';
		if(N.charAt(0) == seven
			|| N.charAt(1) == seven
			|| N.charAt(2) == seven) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}


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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
typedef vector<int> vec1;
typedef vector<string> vec2;
typedef vector<double> vec3;

int main() {

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: request for member 'at' in 'a', which is of non-class type 'int'
   12 |   if(a.at(0) == 7) cout << "Yes" << endl;
      |        ^~
a.cc:13:8: error: request for member 'at' in 'a', which is of non-class type 'int'
   13 |   if(a.at(1) == 7) cout << "Yes" << endl;
      |        ^~
a.cc:14:8: error: request for member 'at' in 'a', which is of non-class type 'int'
   14 |   if(a.at(2) == 7) cout << "Yes" << endl;
      |        ^~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define rep(i,a,n) for (i=a;i<n;i++)
#define per(i,a,n) for (i=n-1;i>=a;i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(),(x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
#define SIZE 1000001
//#define ONLINE_JUDGE
//#define rd
typedef vector<int> VI;
typedef long long ll;
typedef pair<int,int> PII;
typedef double db;
mt19937 mrand(random_device{}());
auto clk=clock(); 
const ll mod=1000000007;
int rnd(int x) { return mrand() % x;}
ll powmod(ll a,ll b) {ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
ll gcd(ll a,ll b) { return b?gcd(b,a%b):a;}
const ll infl=0x3f3f3f3f3f3f3f3fLL;
const int infi=0x3f3f3f3f;

int main(){
	srand(chrono::high_resolution_clock::now().time_since_epoch().count());
	cout<<fixed<<setprecision(20);
	#ifdef rd
	freopen("input.txt","r",stdin);
	freopen("output.txt","w",stdout);
	#endif	

	/*
		Write here
	*/

	int n;
	bool ans=false;
	cin>>n;
	while(n){
		if(n%10==7){
			ans=true;
			break;
		}
		n=n/10;
	}
	if(ans) cout<<"Yes";
	else cout<<"No";


	#ifdef ONLINE_JUDGE
	cout<<endl<<endl<<endl<<endl<<"Time elapsed: "<<(double)(clock()-clk)/CLOCKS_PER_SEC<<endl;
	#endif
	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;
  for (int i = 0; i < 3; i++) {
    if (S[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>

#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ULL unsigned long long
#define LL long long

using namespace std;

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

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

#include<bits/stdc++.h>
 
using namespace std;
 
int main() {
    string s;
    cin >> s;

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	ios_base::sync_with_stdio(false); 
    cin.tie(NULL);
    int n;
    cin>>n;
    while(n>0)
    {
    	if(n%10==7)
    	{
    		cout<<"Yes";
    		break;
    	}
    	n=n/10;
    } 
    if(n==0)
    	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)
using namespace std;
using ll = long long; 
using P = pair<int,int>;

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;}

const long long INF = 1LL << 60;


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



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

#include<cstdio>
#include<iostream>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<queue>
#include<map>
#include<stack>

typedef long long ll;
using namespace std;
int main()
{
    int n;
    cin>>n;
    int k=n/100;
    n=n%100;
    int c=n/10;
    int f=n%10;
    if(k==7||c==7||f==7)
    {
        cout<<"Yes"<<endl;
    }
    else
    {
        cout<<"No"<<endl;
    }

    return 0;
}



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

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

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


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

#include<iostream>
#include<string>

using namespace std;

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

    if (N.find('7') != std::string::npos) {
        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 <iostream>
#include <cstdlib>
#include <utility>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <set>
#include <cmath>
#include <numeric>

using namespace std;

using ll = long long;
using vi = vector<int>; using vi2 = vector<vi>;

#define loopi(i, a, b) for(int i = (int)a; i < (int)b; i++)
#define loop(i, n) for (int i = 0; i < (int)n; i++)
#define loopeq(i, n) for (int i = 0; i <= (int)n; i++)
#define all(a) (a).begin(), (a).end()

int main() {
    int n; cin >> n;
    int a = 10;
    while (n > a * 10) {
        if (n % a == 7) {cout << "Yes" << endl; return 0;}
        else a *= 10;
    }
    cout << "No" << endl;
}

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

#include<iostream>

using namespace std;

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

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

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

#include<stdio.h>
using namespace std;

int main(){
    int n;
    scanf("%d", &n);

    while(n){
        if(n%10==7){
            printf("Yes\n");
            return 0;
        }
        else{
            n = n/10;
        }
    }
    printf("No\n");
    return 0;
}

Compiler output:
main.c:2:1: error: unknown type name 'using'
    2 | using namespace std;
      | ^~~~~
main.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    2 | using namespace std;
      |                 ^~~
Language: C++

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

#define ll long long
#define ull unsigned long long
#define ui unsigned int
#define mod 998244353
#define us unsigned short
#define IOS ios_base::sync_with_stdio(0);
#define INF LONG_MAX
#define PI 3.1415926535897932384626
#define mp make_pair
#define fi first
#define se second
#define pb push_back
#define rep(x,j,n)for(ll x=j;x<n;x++)
#define repr(x,j,n)for(ll x=j;x>n;x--)
typedef vector<pair<ll,ll>> vpi;
typedef vector<ll> vi;
typedef vector<vi> vvi;
const int N=2e6+7;
ll modexp(ll a,ll b,ll m)
{
    ll r=1;
    a=a%m;
    while(b>0)
    {
    if(b&1)
    r=(r*a)%m;
    b=b/2;
    a=(a*a)%m;
    }
    return r%m;
}

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

}



Compiler output:
a.cc:50:7: warning: missing terminating " character
   50 | cout<<"No;
      |       ^
a.cc:50:7: error: missing terminating " character
   50 | cout<<"No;
      |       ^~~~
a.cc: In function 'int main()':
a.cc:52:1: error: expected primary-expression before '}' token
   52 | }
      | ^
Language: C

#include <bits/stdc++.h>

using namespace std;



typedef long long ll;

int n;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int n;
    cin >> n;
    if(n % 10 == 7 || n % 100 / 10 == 7 || n / 100 == 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 <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
typedef int64_t Int;

int main(){ 
  string S;
  cin >> S;
  
  bool flag = false;
  
  if (S.at(0) == '7') {
    flag = true;
  } else if (S.at(1) == '7') {
    flag = true;
  } else if (S.at(2) == '7') {
    flag = true;
  }
  
  if (flag) cout << "Yes" << endl;
  else cout << "No" << endl;

}

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

#include<iostream>
#include<algorithm>
#define rep(i, n) for(int i=0; i<n; i++)
using namespace std;

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

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

n = input()

for i in n:
    if 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: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 'for'
    3 | for i in n:
      | ^~~
Language: C

N = list(input())
check = 0
for n in N:
    if n == '7':
        check = 1

if check == 1:
    print('Yes')
else:
    print('No')

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:2:1: error: expected ',' or ';' before 'check'
    2 | check = 0
      | ^~~~~
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<bits/stdc++.h>
using namespace std;
#define FASTIO ios_base::sync_with_stdio(false);

int main() {
  FASTIO
  int n; cin >> n; 
  bool res = false;
  while(n > 0) {
    if(n%10 == 7) {
      res = true;
      break;
    }
    n = n/10;
  }
  if(res) {
    cout << "Yes\n";
  }  else {
    cout << "No\n";
  }

}

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

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

int main() {
  int n; cin >> n;
  do{
    if(n%10 == 7){
      cout << "Yes\n";
      break;}
    n/=10;
    }while(n/10);
  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>

using namespace std;

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

    for(int i=0;i<n.length();i++){
        if(n.at(i) == '7'){
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;

    return 0;
}


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

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

int main()
{
    ios_base::sync_with_stdio(false);	
    
    string s;
    cin >> s;
    bool a = false;
    for(char c: s) if(c == '7') a = ture;
    
    cout << (a==true ? "Yes" : "No");
    
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:37: error: 'ture' was not declared in this scope
   11 |     for(char c: s) if(c == '7') a = ture;
      |                                     ^~~~
Language: C

#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
typedef long long ll;
typedef unsigned long long ull;
typedef long double LD;
using namespace std;
const int INF = 2147483647;
const int INF2 = 0x3f3f3f3f;
const ll INF64 = 1e18;
const double INFD = 1e30;
const double EPS = 1e-9;
const double PI = acos(-1);
const int MOD = 998244353;
template <typename T>
inline T read() {
    T X = 0, w = 0;
    char ch = 0;
    while (!isdigit(ch)) {
        w |= ch == '-';
        ch = getchar();
    }
    while (isdigit(ch)) X = (X << 3) + (X << 1) + (ch ^ 48), ch = getchar();
    return w ? -X : X;
}
const int MAXN = 500005;
int n, m, k;
int dr[4] = {1, 0, -1, 0};
int dc[4] = {0, 1, 0, -1};
int dr2[8] = {1, 1, 1, -1, -1, -1, 0, 0};
int dc2[8] = {1, 0, -1, 1, 0, -1, 1, -1};
int CASE = 1;
int arr[MAXN];
int main() {
#ifdef LOCALLL
    freopen("in", "r", stdin);
    freopen("out", "w", stdout);
#else
#endif
    scanf("%d", &n);
    bool flag = false;
    while (n) {
        if (n % 10 == 7) {
            flag = true;
            break;
        }
        n /= 10;
    }
    printf("%s\n", flag ? "Yes" : "No");
    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>
#include<algorithm>
#include<vector>
#include<cmath>
typedef long long  ll;
typedef long double lb;
using namespace std;
int main() {
    string 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 <bits/stdc++.h>
using namespace std;

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

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

#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (int)(n); i++)
 
using namespace std;
 
typedef long long ll;
typedef unsigned long long u_ll;
typedef pair<int, int> pair_;
 
const int INF = 1001001001;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
int k;

 
int main(){
   
    vector<char> a(3);
    bool ans = false;
    rep(i, 3) {
        cin >> a[i];
    }
    rep(i, 3) if(a[i] == '7') ans = true;
    if(ans) cout << "Yes";
    else cout << "No";
    return 0;
}

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

#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <queue>
#include <algorithm>
#include <utility>
#include <unordered_map>
#include <cmath>
using namespace std;

typedef unsigned int uint;
typedef long long llong;
typedef unsigned long long ullong;
// -2.1e-9 <= int <= 2.1e9
// -9.2e-18 <= long long <= 9.2e18
// 0 <= unsigned int <= 4.2e9
// 0 <= unsigned long long <= 18.4e18

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


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

//Lucky 7

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

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

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


#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define io ios_base::sync_with_stdio(false); cin.tie(NULL);
#define pb push_back
#define endl '\n'
//int ar[100001];

int main() {
	io;
	int n;
	cin>>n;
	int a;
	bool flag = false;
	while(n) {
		a = n%10;
		if(a == 7)
			{
				flag = 1;
				break;
			}
		n /= 10;
	}
	if(flag)
		cout<<"Yes"<<endl;
	else cout<<"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

#include<iostream>
using namespace std;

#define ll long long
#define mod 1000000007
#define pll pair<long long,long long>
#define pdd pair<long double,long double>
#define vll vector<ll>
#define rep(i,j,n) for(int i=j;i<n;i++)
#define mp make_pair
#define pb push_back
#define pf push_front
#define inf 1e17
#define N 100010
// priority_queue<pll,vector<pll>,greater<pll> >pq;
// priority_queue<ll,vector<ll>,greater<ll> >pq1;

ll result(ll a, ll b, ll p){
    ll ans=1;
    if(b==(-1))
        b=p-2;
    while(b){
        if(b&1){
            ans=(ans*a)%p;
        }
        a=(a*a)%p;
        b>>=1;
    }
    return ans;
}

ll T,n,m;

int main(){
	if(fopen("input.txt", "r"))
	freopen("input.txt", "r", stdin),
    freopen("output.txt", "w", stdout);
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    
    cin >> n;
    while(n){
    	if(n%10==7){
    		cout << "Yes";
    		return 0;
    	}
    	n/=10;
    }
    cout << "No";

    return 0;
}


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

#include<iostream>
#define ll long long
#define MAXN 55
#define mod 998244353
#define INF 0x3f3f3f3f
#define ld long double
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    #define int ll
    string s;
    cin>>s;
    for(int i=0;i<3;i++){
        if(s[i]=='7'){
            cout<<"Yes"<<endl;return 0;
        }
    }
    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 <iostream>
#include <string>
#include <vector>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: return-statement with no value, in function returning 'int' [-fpermissive]
   11 |             return;
      |             ^~~~~~
Language: C

#include <vector>
#include <stack>
#include <queue>
#include <list>
#include <bitset>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <iomanip>
#include <string>
#include <chrono>
#include <random>
#include <cmath>
#include <cassert>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <functional>
#include <sstream>

using namespace std;


int main(int argc, char** argv) {
    ios::sync_with_stdio(false);
    cin.tie(0);

    int n;
    cin >> n;
    int cnt = 0;
    while (n != 0) {
        if (n % 10 == 7) {
            ++cnt;
        }
        n /= 10;
    }
    if (cnt > 0) {
        cout << "Yes\n";
    } else {
        cout << "No\n";
    }

    return 0;
}

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

#include <bits/stdc++.h>
#define rep(i,l,r) for(int i=l;i<=r;i++)
#define per(i,r,l) for(int i=r;i>=l;i--)
#define IMAX 0x3f3f3f3f
#define LLMAX 0x3f3f3f3f3f3f3f3f
using namespace std;
typedef long long ll;
typedef double db;
inline int read() {
  int x=0,f=1;
  char c=getchar();
  while(!isdigit(c)){if(c=='-')f=-1;c=getchar();}
  while(isdigit(c)){x=x*10+c-'0';c=getchar();}
  return x*f;
}
string s;

signed main() {
  cin>>s;
  rep(i,0,s.length()-1){
    if(s[i]=='7'){
      puts("Yes");
      return 0;
    }
  }
  puts("No");
  return 0;
}

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

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

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


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

#include <iostream>
#include <vector>
#include <cstdio>
#include <string>
#include <cmath>
#include <algorithm>
#include <climits>
#define ll long long
#define MAX 25 * 1e13
#define N  200010

#define SIZE(A) ((int)A.size())
#define LEN(A) ((int)A.length())
#define MP(A,B) make_pair(A,B)
#define PB(X) push_back(X)
#define EB(X) emplace_back(X)
#define REP(i,a) for(int i=0;i<(a);++i)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, n) for (int i = (n) - 1; i >= 0; i--)
#define range(a) a.begin(), a.end()
#define VI vector<int>;

using namespace std;
int MOD = 1000000007;


int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int flag = 0;
  while( n > 0 ){
    int d = n % 10;
    if( d == 7 ) {flag = 1; break;}
    n /= 10;
  }
  if( flag == 1 ) cout << "Yes" << endl;
  else cout << "No" << endl;

  return 0;
}



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

#include <bits/stdc++.h>
using namespace std;
# define fills(x,y) memset(x,y,sizeof x)
# define ALL(v) (v).begin(), (v).end()
# define SZ(x) ((int)(x).size)
# define pb push_back
# define INF (int)1e9
# define EPS 1e-9
# define rep(i,n) for(int i=0;i<n;++i)
# define REP(i,k,n) for(int i=k;i<=n;++i)
# define mod 1000000007

typedef long long ll;
typedef pair<ll, ll> Pll;
typedef vector<ll> Vl;
typedef vector<Vl> VVl;
typedef vector<string> VS;
typedef vector<Pll> Vll;
typedef map<ll,ll> Mll;
typedef set<ll> SETl;


int		main()
{
	int N; cin >> N;
	while (N)
	{
		if (N % 10 == 7)
		{
			cout << "Yes" << endl;
			return 0;
		}
		N /= 10;
	}
	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

a,b,c=list(str(input()))
# print(a)
if a=='7' or b=='7' or c=='7':
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a,b,c=list(str(input()))
      | ^
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=list(str(input()))
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | a,b,c=list(str(input()))
      |     ^
main.c:1:7: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | a,b,c=list(str(input()))
      |       ^~~~
main.c:1:12: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | a,b,c=list(str(input()))
      |            ^~~
main.c:1:16: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a,b,c=list(str(input()))
      |                ^~~~~
main.c:2:3: error: invalid preprocessing directive #print
    2 | # print(a)
      |   ^~~~~
main.c:1:7: error: initializer element is not constant
    1 | a,b,c=list(str(input()))
      |       ^~~~
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if a=='7' or b=='7' or c=='7':
      | ^~
main.c:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Yes')
      |           ^~~~~
main.c:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('No')
      |           ^~~~
Language: C

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

int main() {
    char N[3]; for (int i = 0; i < 3; ++i) cin >> N[i];

    string res = "No";
    for (int i = 0; i < 3; ++i) {
        if (N[i] == '7') res = "Yes";
    }

    cout << res << endl;
    return 0;
}

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

#include <iostream>
#include <string>

using namespace std;
typedef long long ll;

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

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

    cout << "No" << endl;

    return 0;
}

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

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

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


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

#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<vector>
#include<list>
#include<map>
#include<numeric>
#include<iomanip>
#define REP(i,m,n) for(int i=(int)(m);i<(int)(n);i++)
#define rep(i,n) REP(i,0,n)
#define ll long long

using namespace std;

//最大公約数
ll gcd(ll a, ll b) {
	if (b == 0) {
		return a;
	}
	return gcd(b, a % b);
}

//最小公倍数
ll lcm(ll a, ll b) {
	return a * b / gcd(a, b);
}

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


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

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

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

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(){
  stiring S;
  cin >> S;
  if(S.at(0)==7||S.at(1)==7||S.at(2)==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;

typedef long long int ll;

int main()
{
	ll n;
	scanf("%lld",&n);
	ll a=n%10;
	ll b=n/100;
	n=n/10;
	ll c=n/10;
	if(a==7 || b==7 || c==7)
		printf("Yes\n");
	else
		printf("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

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

using namespace std;
int N;

int main() {

  int A, B, C;
  int ret=0;

  cin >> N;

  if (N%7 == 0 || N/10%7 == 0 || N/100%7 == 0)
    printf("Yes\n");
  else
    printf("No\n");

  return 0;
}


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

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

#define lli long long int
#define st first
#define nd second
#define mp make_pair
#define pb push_back
#define INF 1000000007
#define endl "\n"

stirng a;

int main(){
	cin>>a;
	for(int i=0;i<a.size();i++){
		if(a[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>
#include <iomanip>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <cmath>
#include <queue>
#include <set>

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

using namespace std;
typedef long long int ll;
const int INF = 1000000000;

int main()
{
    int n;
    cin >> n;
    bool ans = false;
    rep(i, 3) {
        if (n % 10 == 7) ans = true;
        n = n / 10;
    }
    if (ans) 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 <iostream>

using namespace std;

int main(){
    int n=0;
    //char s[200];
    bool flag = false;
    //vector<int> a(N,0);

    cin >> n;

    if(n%10 == 7)
        flag = true;
    else{
        n /=10;
        if(n%10 == 7)
            flag = true;
        else{
            n /=10;
            if(n%10 == 7)
                flag = true;
        }
    }
    
    //for(int i=0;i<n;i++);


    

    //cout << ans << endl;
    cout << ( (flag) ? "Yes" : "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

N =int(input())
strn = str(N)
if strn[0]=='7' or strn[1]=='7' or strn[2]=='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:4: error: expected expression before 'int'
    1 | N =int(input())
      |    ^~~
Language: C

#include <bits/stdc++.h>

#include <iostream>
using namespace std;
int main() {
  string N_str;
  cin >> N_str;
  bool lucky = false;
  for (auto ni : N_str) {
    if (ni == '7') {
      lucky = true;
      break;
    }
  }
  if(lucky){
    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

s = input()
if "7" in s:
    print("Yes")
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 'if'
    2 | if "7" in s:
      | ^~
Language: C

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

int i;

int main()
{
    string s;
    int count = 0;

    cin >> s;

    for (i = 0; i < 3; i++)
    {
        if (s[i] == '7')
        {
            count++;
        }
    }

    if (count != 0)
    {
        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;

const string YES = "Yes";
const string NO = "No";

void solve(long long N){
    auto s = to_string(N);
    
    if(count(s.begin(), s.end(), '7') == 0){
        cout << NO << endl;
    }else{
        cout << YES << endl;
    }
}

// Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
int main(){
    long long N;
    scanf("%lld",&N);
    solve(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

/*
Date : X/04/2020
Time : 
author - @wayToHell (Avinash Prasad)
Contest Name : Codeforce Round #
Problem id : A
Problem name : Piles With Stones
Problem Link : https://codeforces.com/contest/1013/problem/A
FROM DUST I HAVE COME, DUST I WILL BE....
                           -Anonymous
*/
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math,O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#include <bits/stdc++.h>
#define speed                   \
  ios_base::sync_with_stdio(0); \
  cin.tie(0);                   \
  cout.tie(0);
#include <bits/stdc++.h>
using namespace std ;
#define INF 18446744073709551610
#define MOD 1000000007
#define loop(i,n) for( int i=0;i<n;i++)
#define loopab(i,a,b) for(int i=a;i<=b;i++) 
#define loopr(i,b,a) for(int i=b;i>=a;i--)
#define P first
#define Q second
#define FILL(x,a) memset ( x , a ,sizeof x)
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef long long int lli;
typedef vector<int> vi;
typedef pair <int,int> pii;
typedef vector < pii > vii;
typedef vector < vii > viii;
int main()
{
	speed;
	int n;
	cin >> n;
	bool flag = false;
	while(n)
	{
		if(n%10==7)
		{
			flag = true;
			break;
		}
		n/=10;
	}
if(flag)
	cout <<  "Yes"<< endl;
else
	cout << "No" << endl;
	return 0;
}

Compiler output:
main.c:14:10: fatal error: bits/stdc++.h: No such file or directory
   14 | #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++)

typedef long long ll;
int main(int argc, char const *argv[])
{
    cin.tie(0);
   	ios::sync_with_stdio(false);
    string N; cin >> N;
    bool flag = false;
    for (auto x: N){
        if (x == '7') flag = true;
    }
    if (flag) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}


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

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

// Type alias
using ll=long long;
using ld=double;

using pi=pair<int,int>;
using pll=pair<ll,ll>;
using pld=pair<ld,ld>;
using ti3=tuple<int, int, int>;

using vi=vector<int>;
using vll=vector<ll>;
using vld=vector<ld>;
using vpi=vector<pi>;
using vpll=vector<ll>;
using vpld=vector<ld>;
using vti3=vector<ti3>;

// Constants
const double EPS = 1e-9;
const int inf = numeric_limits<int>::max();

// Macro
#define rep(i,n) for(int i=0;i<int(n);++i)
#define rrep(i,n) for(int i=int(n-1);i>=0;--i)
#define REP(i,a,b) for(int i=int(a);i<int(b);++i)
#define RREP(i,a,b) for(int i=int(b-1);i>=int(a);--i)
#define SHOW(a) cout << #a << " = " << a << endl
#define ARR(a,n) for(int i=0;i<int(n);++i) cout << #a << "[" << i << "]" << " = " << a[i] << endl

#define ALL(a) a.begin(),a.end()

// Precision
// << std::fixed << std::setprecision(7)

// Funtcions
ll pow(ll base, ll i, ll mod){
  ll a = 1;
  while(i){
    if (i & 1) {
      a *= base;
      a %= mod;
    }
    base *= base;
    base %= mod;
    i >>= 1;
  }
  return a;
}
ll gcd(ll a, ll b){
  while(b){
    ll c = a % b;
    a = b;
    b = c;
  }
  return a;
}
ll lcm(ll a, ll b){
  return a / gcd(a, b) * b;
}


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

int main(){
  // FastIO
  //ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  solve();
  return 0;
}

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

#include <iostream>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)

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

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

N = input()

if N[0]=="7" or N[1]=="7" or N[2]=="7":
    print("Yes")
else:
    print("No")

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

/**********************************************************************************************************
***********************************************************************************************************
**********************************************************************************************************/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double db;
/**************************************Define basic function start here***********************************/
ll GCD(ll a, ll b){ll gcd, g;g = __gcd(a, b);return g;}
ll LCM(ll a, ll b){ll gcd, g;g = __gcd(a, b);return (a/g)*b;}
/**********************************************Define basic function end here******************************/
const ll INF_LONG = 1LL<<61;
const unsigned int inf_int = 1<<31;
const ll mod = 1e9+7;
double phi = acos(-1);
/**********************************************************************************************************/

/***********************************************************************************************************/
int main()
{
   string n;
   cin >> n;
   bool ok = false;
   for(int i = 0; i < 3; i++)
   {
       if(n[i] == '7')
       {
           ok = true;
           break;
       }
   }
   if(ok== true)
   {
       cout << "Yes" << endl;
   }
   else
   {
       cout << "No" << endl;
   }
    return 0;
}


Compiler output:
main.c:4:9: 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;
using ll = long long;

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

  bool result = false;
  for(int i=0; i<S.size(); i++){
    if(S[i] == '7'){
      result = true;
    }
  }
  if(result){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

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

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

int main (){
    int n;
    cin>>n;
    bool flag = false;
    while(n){
        int num = n%10;
        n = n/10;
        if(num == 7){
            flag=true;
            break;
        }
    }

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


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

#include <iostream>

using namespace std;

int main() {
    string x;
    bool is=false;
    cin>>x;
    for(auto a:x){
        if(a=='7'){
            is=true;
            break;
        }
    }
    is?cout<<"Yes":cout<<"No";
}

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

<?php

$inp = intval( trim( fgets( STDIN ) ) );

$inp = str_split($inp);
$i = 0;

while(count($inp) !== $i) {
  if ($inp[$i] == 7) {
    echo 'Yes';
    return;
  }
  $i++;
}

echo 'No';

?>

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:5:1: warning: data definition has no type or storage class
    5 | $inp = str_split($inp);
      | ^~~~
main.c:5:1: error: type defaults to 'int' in declaration of '$inp' [-Wimplicit-int]
main.c:5:8: error: implicit declaration of function 'str_split' [-Wimplicit-function-declaration]
    5 | $inp = str_split($inp);
      |        ^~~~~~~~~
main.c:5:8: error: initializer element is not constant
main.c:6:1: warning: data definition has no type or storage class
    6 | $i = 0;
      | ^~
main.c:6:1: error: type defaults to 'int' in declaration of '$i' [-Wimplicit-int]
main.c:8:1: error: expected identifier or '(' before 'while'
    8 | while(count($inp) !== $i) {
      | ^~~~~
main.c:10:10: warning: multi-character character constant [-Wmultichar]
   10 |     echo 'Yes';
      |          ^~~~~
main.c:16:6: warning: multi-character character constant [-Wmultichar]
   16 | echo 'No';
      |      ^~~~
main.c:16:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '\x4e6f'
main.c:18:1: error: expected identifier or '(' before '?' token
   18 | ?>
      | ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

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

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

int main() {
int a,b,c,d;
  cin>>a;
  b=a/100;
  c=(a-b*100)/10;
  d=a%10;
  if(d==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(){
    string N;
    int cnt = 0;
    cin >> N;
    if(N.at(0)=='7'){
        cnt++;
    }
    if(N.at(1)=='7'){
        cnt++;
    }
    if(N.at(2)=='7'){
        cnt++;
    }
    if(cnt >= 1){
    cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
}

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

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

int main()
{
    long long int t;
    cin>>t;
    int check=1;
    while(t)
    {
        int x=t%10;
        if(x==7)
        {
            cout<<"Yes";
            check=0;
            break;
        }
        t=t/10;
    }
  if(check)
   cout<<"No";
    return 0;
}


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

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


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

#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin>>s;
int j=0;
for(int i=0;i<s.size();i++){
    if(s[i]=='7'){
        j=1;
        break;
    }
}
if(j==1){
  cout<<"Yes"<<endl;
}
else if(j==0){
   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.