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

#include<bits/stdc++.h>
#define GO ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
using namespace std;
typedef long long ll;
typedef vector<ll> vec;
const int N = 3e4 + 5;
const int M = 1e6 + 5;
const int Mod = 1e9 + 7;


int main()
{
	GO;
	string s;
	cin >> s;
	for (auto i : s)
		if (i == '7')
			return cout << "yes", 0;
	cout << "no";
	return 0;
}

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

#include<iostream>
#include <algorithm>
#include<iomanip>
#include<math.h>
#define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0]))
using namespace std;

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

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

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

int main(){
    string s;
    cin >> s;
    string ans="No";
    for(int i=0; i<s.size(); i++){
        if(s[i]=='7'){
            ans ="Yes";
            break;
        }
    }
    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>
using namespace std;

int n;
int main(){
cin>>n;
bool ok=false;
while (n>0){
   if (n%10==7) {
    ok=true;
    break;
   }
   n/=10;
}
if (ok) 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/stdh++.h>
using namespace std;
int main(){
  int n,ans=0;
  cin>>n;
  int m=10*n;
  for(int i=0;i<3;i++){
    m=m/10;
    if((m-7)%10==0) ans++;
  }
  cout<<ans<<endl;
}

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

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

//using namespace std;
//typedef long long ll;
//
//#define cout (cout << setprecision(12))

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

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

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

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

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

    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define lli long long
#define mp make_pair
#define pb push_back
#define all(v) (v).begin(), (v).end()
#define allr(v) (v).rbegin(), (v).rend()
#define MOAE                 \
    ios::sync_with_stdio(0); \
    cin.tie(0);              \
    cout.tie(0);

int main()
{
    MOAE;
    string s;
    cin >> s;
    bool f = false;
    for (auto it : s)
        if (it == '7')
            f = true;
    cout << (f ? "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: Java

public class Main{
  public static void main(String[] args){
    Scanner a = new Scanner(System.in);
    int f = a.nextInt();
    String s = String.valueOf(f);
    for(int i = 0; i < s.length(); i++){
      if(Character.getNumericValue(s.charAt(i)) == 7){
        System.out.println("Yes");
      }else if(i = s.length()-1 && Character.getNumericValue(s.charAt(i)) != 7){
        System.out.println("No");
      }
    }
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner a = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner a = new Scanner(System.in);
                    ^
  symbol:   class Scanner
  location: class Main
Main.java:9: error: bad operand types for binary operator '&&'
      }else if(i = s.length()-1 && Character.getNumericValue(s.charAt(i)) != 7){
                                ^
  first type:  int
  second type: boolean
Main.java:9: error: incompatible types: int cannot be converted to boolean
      }else if(i = s.length()-1 && Character.getNumericValue(s.charAt(i)) != 7){
                 ^
4 errors
Language: C

#include <bits/stdc++.h>
using namespace std;
#define COUT(x) cout<<(x)<<endl
template<class T> inline void chmax(T& a, T b) {
  if (a < b) a = b;
}

template<class T> inline void chmin(T& a, T b) {
  if (a > b) a = b;
}

const long long INF = 1LL << 60;
int main() {
  string n;
  cin >> n;
  if (n[0] == '7' || n[1] == '7' || n[2] == '7') COUT("Yes");
  else COUT("No");
  return 0;

}

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

n = input()
iii = False
for i in n:
  if i =='7':
     iii = True
if iii:
  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:2:1: error: expected ',' or ';' before 'iii'
    2 | iii = False
      | ^~~
main.c:7:9: warning: multi-character character constant [-Wmultichar]
    7 |   print('Yes')
      |         ^~~~~
main.c:9:9: warning: multi-character character constant [-Wmultichar]
    9 |   print('No')
      |         ^~~~
Language: C

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

#define thegamebegins   ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define fileio          freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout);
#define int             long long
#define float           long double
#define test            int T; cin>>T; while(T--)
#define in(a,n)         for(int i=0; i<n; ++i)  cin>>a[i]
#define r0              return 0
#define E               "\n"
#define S               " "
#define elif            else if 
#define M               1000000007
#define fi(i,x,y)       for(int i=x; i<y; ++i)
#define fa(i,s)         for(auto i:s)
#define fp(i,s)         for(auto i=(s).begin(); i!=(s).end(); ++i)
#define sz(s)           (int)(s).size()
#define vi              vector <int>
#define vpii            vector <pair <int,int> >
#define mii             map <int,int>
#define pii             pair <int,int>
#define seti            set <int>
#define setd            set <int,greater <int> >
#define all(s)          (s).begin(),(s).end()
#define sortd(a,n)      sort(a, a+n, greater<int>())
#define pb              push_back
#define fr              first
#define sc              second
#define lb              lower_bound
#define ub              upper_bound
#define er              equal_range
 
const int INF = 0x3f3f3f3f;

signed main()
{
    thegamebegins

    string s;   cin>>s;
    if(find(all(s),'7')!=s.end())   cout<<"Yes";
    else    cout<<"No";
    r0;
}


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

(if (eval (cons 'or (map 'list (lambda (x) (eq x #\7)) (read-line))))
    (princ "Yes")
  (princ "No"))


Compiler output:
main.c:1:2: error: expected identifier or '(' before 'if'
    1 | (if (eval (cons 'or (map 'list (lambda (x) (eq x #\7)) (read-line))))
      |  ^~
main.c:1:17: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    1 | (if (eval (cons 'or (map 'list (lambda (x) (eq x #\7)) (read-line))))
      |                 ^~~~~~~~~~
main.c:1:50: error: stray '#' in program
    1 | (if (eval (cons 'or (map 'list (lambda (x) (eq x #\7)) (read-line))))
      |                                                  ^
main.c:1:51: error: stray '\' in program
    1 | (if (eval (cons 'or (map 'list (lambda (x) (eq x #\7)) (read-line))))
      |                                                   ^
Language: C

# -*- coding: utf-8 -*-
# A - Lucky 7
# 標準入力の取得
N = input()

# 求解処理
result = False
for n in N:
    if int(n) == 7:
        result = True

# 結果出力
if result:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding: utf-8 -*-
      |   ^
main.c:2:3: error: invalid preprocessing directive #A
    2 | # A - Lucky 7
      |   ^
main.c:3:3: error: invalid preprocessing directive #\U00006a19\U00006e96\U00005165\U0000529b\U0000306e\U000053d6\U00005f97
    3 | # 標準入力の取得
      |   ^~~~~~~~~~~~~~
main.c:4:1: warning: data definition has no type or storage class
    4 | N = input()
      | ^
main.c:4:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:4:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    4 | N = input()
      |     ^~~~~
main.c:6:3: error: invalid preprocessing directive #\U00006c42\U000089e3\U000051e6\U00007406
    6 | # 求解処理
      |   ^~~~~~~~
main.c:4:5: error: initializer element is not constant
    4 | N = input()
      |     ^~~~~
main.c:7:1: error: expected ',' or ';' before 'result'
    7 | result = False
      | ^~~~~~
main.c:12:3: error: invalid preprocessing directive #\U00007d50\U0000679c\U000051fa\U0000529b
   12 | # 結果出力
      |   ^~~~~~~~
Language: C

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

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

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

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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
const ll INF=1LL<<60;
const int inf=1<<30;
const int mod=1e9+7;
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    string s;cin >> s;
    for(int i=0;i<s.size();i++){
        if(s[i]=='7'){
            cout << "Yes" << endl;
            return 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.
Language: C

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

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

#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin>>n;
    if(n/100==7 || (n%100)/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 <iostream>
#include <queue>
#include <vector>
#include <string>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define repp(i,n,m) for (int i = m; i < (n); ++i)
#define repl(i,n) for (long long i = 0; i < (n); ++i)
#define reppl(i,n,m) for (int i = m; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using PL = pair<long long, long long>;
const int INF = 1001001007;
const int mod = 1000000007;

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


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

n=input()
s=str(n)
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 | 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 's'
    2 | s=str(n)
      | ^
Language: C

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int A,B,C,N;

    cin >> N;

    A = N/100;
    B = (N-100*A)/10;
    C = N-100*A-10*B;

    if(A!=7 && B!=7 && C!=7){
        cout << "No" << endl;
    }else{
        cout << "Yes" << 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;

#define ll long long
#define endl "\n"
#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL);
#define M 1000000007

void solve()
{
	ll n,r;
	cin>>n;
	while(n)
	{
		r=n%10;
		n=n/10;
		if(r==7) 
		{
			cout<<"Yes";
			return;
		}
	}
	cout<<"No";
}

int main() 
{
	FAST
	ll t=1;	
	//cin>>t;
	for(ll i=0;i<t;i++) solve();
	return 0;
}
    

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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using p = pair<int, int>;
#define INF 1000000000
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repX(i, n ,x) for (int i = x; i < (int)(n); i++)
#define repM(i, n) for (int i = n; i > 0; i--)

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

    return 0;
}

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

#include <stdio.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
using namespace std;
 
int main(int argc, const char * argv[]) {
 
 
 
    cin.tie(0);
    ios::sync_with_stdio(false);
 
    /////////////////////
    // Write code below /
    /////////////////////
    int n,a,b,c;
    
    cin >> n;
    
    a = n / 100;
    b = n/10;
    b = b % 10;
    c = n % 10;
    
    if(a == 7 || b == 7 || c == 7 )
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}


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

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


int main()
{
  ll n,m,i,j,temp=0,flag=0;
string s;
cin>>n;
while(n>0)
{
    temp=n%10;
    if(temp==7)flag=1;
    n/=10;
}
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>
#include <iostream>
#include <string>

using namespace std;
typedef long long LL;
typedef pair<int,int> pii;

#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define debug(x)  do{cerr<<#x<<": "<<x<<"\n";}while(0)
#define debugv(x) do{cerr<<#x<<": ";for(auto&e: (x))cerr<<e<<" ";cerr<<"\n";}while(0)
#define all(x) (x).begin(), (x).end()
#define fori(i, n) for (int i = 0; i < (int)(n); ++i)
#define ford(i, n, e) for (int i = (int)(n); i >= (int)(e); --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
template<typename T> bool mmax(T &m, const T q) { if (m < q) {m = q; return true;} else return false; }
template<typename T> bool mmin(T &m, const T q) { if (m > q) {m = q; return true;} else return false; }
#define RETURN(x) do{cout << (x) << '\n'; return 0;}while(0)

const int MOD = 1e9+7;
const int MAXN = 5e5+3;
const int INF = 1e9;


int main(int argc, char **argv) {
#ifdef OJ
    freopen("input.txt", "rt", stdin);
    //freopen("output.txt", "wt", stdout);
#endif
    ios::sync_with_stdio(false);
    cin.tie(0);

    string s; cin >> s;
    int ok = 0;
    for(char c: s) ok |= c == '7';
    cout << (ok? "Yes\n" : "No\n");

    return 0;
}


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

#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define INF 100000000
using namespace std;
const int mod = 1000000007;

int main() {

  string N;
  cin>>N;
  if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
  //vector<int> A(N);
  //for(int i=0; i<N; i++){cin>>A[i];}
  //vector<vector<int>> A(N,vector<int>(M));
  //for(int i=0; i<N; i++){for(int j=0; j<M; j++){cin>>A[i][j];}}
  //sort(A.begin(),A.end());
  //for (int i = 0; i < N; i++) { maximum = max(maximum , A[i]);}
  //for (int i = 0; i < N; i++) { minimum = min(minimum , A[i]);}
  //cout <<  << 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;

main()
{
        bool f=false;
        for(int i=0;i<3;i++)
        {
                char c; cin>>c;
                if(c=='7')f=true;
        }
        cout<<(f?"Yes":"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>
#include <algorithm>
using namespace std;


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

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

#include <iostream>

using namespace std;

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

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin >> n;
	bool pres = false;
	while(n > 0)
	{
		int x = n % 10;
		if(x==7)
		{
			pres = true;
			break;
		}
		n = n/10;
	}
	if(pres)
		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

def main():
    N = list(input())
    if "7" in N:
        print("Yes")
    else:
        print("No")
if __name__ == '__main__':
    main()


Compiler output:
main.c:1:1: error: unknown type name 'def'
    1 | def main():
      | ^~~
main.c: In function 'main':
main.c:1:11: error: expected declaration specifiers before ':' token
    1 | def main():
      |           ^
main.c:7:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    7 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(a, b) for(a = 0; a < b; a++)

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

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

#include<bits/stdc++.h>
using namespace std;
char ch[5];

int main(){
	cin>>ch;int fg=0;
	for(int i=0;i<3;++i){
		if(ch[i]-'0'==7){
			puts("Yes");fg=1;
			break;
		}
	}
	if(!fg)puts("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 "pch.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

#include <vector>
#include <set>
#include <map>
#include <iostream>
#include <utility>
#include <queue>
#include <algorithm>
#include <functional>
#include <string>
#include <bitset>
#include <numeric>

#define ll long long
#define fri(n) for(i=0;i<(n);i++)
#define frj(n) for(j=0;j<(n);j++)
#define frk(n) for(k=0;k<(n);k++)
#define frl(n) for(l=0;l<(n);l++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define INF 1000000000000000000//10^18
#define INFINT 2000000001//2*10^9+1
#define MOD 1000000007
#define MODANOTHER 998244353
#define PI acos(-1)

#define vi vector<int>
#define vvi vector<vector<int>>
#define vvvi vector<vector<vector<int>>>
#define vd vector<double>
#define vvd vector<vector<double>>
#define vvvd vector<vector<vector<double>>>


//#define int long long

using namespace std;


const int MAX = 510000;

ll mod_inverse(int a,int M){
	int x=M-2;
	ll temp=a;
	ll ret=1;
	//a^(MOD-1)==1(mod MOD)を利用
	//a^-1==a^(MOD-2) (mod MOD)を繰り返し二乗法で求める

	while(x!=0){
		if(x%2==1){
			ret=(ret*temp)%M;
		}
		temp=(temp*temp)%M;
		x=x/2;
	}
	return ret;
}

long long fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
	fac[0] = fac[1] = 1;
	finv[0] = finv[1] = 1;
	inv[1] = 1;
	for (int i = 2; i < MAX; i++){
		fac[i] = fac[i - 1] * i % MOD;
		inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
		finv[i] = finv[i - 1] * inv[i] % MOD;
	}
}

// 二項係数計算
long long COM(int n, int k){
	if (n < k) return 0;
	if (n < 0 || k < 0) return 0;
	return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

signed compare_int(const void *a, const void *b)
{
	int *A = (int *)a;
	int *B = (int *)b;
	if (*A < *B) return 1;
	if (*A > *B) return -1;
	return 0;
}


int gcd(int a,int b){
	while(1==1){
		if(a==0||b==0){
			return a+b;
		}else if(a>b){
			a %= b;
		}else{
			b %= a;
		}
	}
}

signed main(void)
{
	//変数の宣言
	int n,m,q;
	int h,w;
	static int a[100010];
	static int s[100010];

	//よく使う変数
	int i,j,k,l;
	int flag=0;
	int ans=0;
	int count=0;
	int temp=0;
	int temp1=0;
	int temp2=0;
	int temp3=0;
	vector<int> vec;
	vector<int> vtemp;
	int max=0;
	int min=INFINT;
	int len=0;
	int sum=0;
	int ok=0;
	int ng=0;
	char dummy;
	static char stemp[100010];
	vvi graph;
	
	//データの読み込み


	scanf("%s",&stemp);
	//scanf_s("%s",&stemp,200);


	//scanf("%s",&s);
	//scanf_s("%s",&s,200010);


	/*for(i=0;i<n;i++){
		//scanf("%d",&a[i]);
		scanf_s("%d",&a[i]);
	}

	for(i=0;i<q;i++){
		//scanf("%d",&s[i]);
		scanf_s("%d",&s[i]);
	}*/



	//	printf("nは%dです\n", n);
	//	printf("データの読み込み終了\n");
	//実際の処理

//	clock_t start=clock();
//	COMinit();
	
	if(stemp[0]=='7'||stemp[1]=='7'||stemp[2]=='7'){
		printf("Yes");
	}else{
		printf("No");
	}

//	clock_t end=clock();

	//	printf("計算部分終了\n");

	//出力
	
	//printf("%d",(d[i-1][j-1]+1)/2);

//	printf("time=%lf",(double)(end-start)/CLOCKS_PER_SEC);
	//	printf("結果の出力終了\n");

	return 0;
}



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

#include <iostream>
#include <cstdlib>
#include <cmath>
#include <vector>
#include <algorithm>

using std::cout;
using std::endl;
using std::cin;
using std::string;

int main(){
  string a;
  bool flg=false;
  cin >> a;
  for(int i=0;i<3;i++){
    if(a.substr(i,1)=="7")
      flg=true;
  }
  if(flg)
    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 <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>
using namespace std;


int main()
{
	int N;

	cin >> N;

	if(N/100 == 7){
		cout << "Yes";
	}else if((N/10)%10 == 7){
		cout << "Yes";
	}else if(N%10 == 7){
		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 <iostream>
#include <memory>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <string>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <algorithm>

typedef long long ll;

using namespace std;

int main() {
  string s;
  cin>>s;
  for(auto it=s.begin();it!=s.end();it++){
    if(*it=='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>

using namespace std;

int main()
{
  string N;
  char c[1];
  int n;
  cin >> N;
  for(int i = 0 ; i < 3 ; i++)
  {
    c[0] = N[i];
    n = atoi(c);
    if( n == 7 )
      print("Yes");
    else if( n!= 7 && i==2)
      print("No");
  }
  return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:2:3: error: unknown type name 'string'
    2 |   string n;
      |   ^~~~~~
main.c:3:3: error: 'cin' undeclared (first use in this function)
    3 |   cin >> n;
      |   ^~~
main.c:3:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:7: error: subscripted value is neither array nor pointer nor vector
    5 |   if(n[0] == '7' || n[1] == '7' || n[2] == '7')
      |       ^
main.c:5:22: error: subscripted value is neither array nor pointer nor vector
    5 |   if(n[0] == '7' || n[1] == '7' || n[2] == '7')
      |                      ^
main.c:5:37: error: subscripted value is neither array nor pointer nor vector
    5 |   if(n[0] == '7' || n[1] == '7' || n[2] == '7')
      |                                     ^
main.c:6:5: error: 'cout' undeclared (first use in this function)
    6 |     cout << "Yes" << endl;
      |     ^~~~
main.c:6:22: error: 'endl' undeclared (first use in this function)
    6 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C

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

int main() {
  string a;
  cin>>a;
  if (a[0]==7||a[1]==7||a[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 MOD 1e9 + 7
#define PI 3.141592653589793238
#define pb push_back
#define ALL(V) (V).begin(), (V).end()
#define FOR(i, a, b) for(int i = (a); i < (b); ++i)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long long int lint;
typedef vector<ll> VL;
typedef vector<VL> VVL;
typedef vector<int> VI;
typedef pair<ll, ll> P;
ll gcd(ll a, ll b) { return (a % b == 0 ? b : gcd(b, a % b)); }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
ll char_to_ll(char c) { return (int)(c - '0'); }
ll string_to_ll(string s) { return char_to_ll(atoi(s.c_str())); }
bool is_prime(ll x){ if(x <= 1) return false; for(ll i = 2; sqrt(i) <= x; i++) if(x % i == 0) return false; return true; }


int main() {
    int a;
    bool ans = false;
    cin >> a;
    FOR(i,0,3) {
        if(a % 10 == 7){
            ans = true;
                    }
        a/=10;
    }
    if(ans == 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 <unordered_map>
#include <iterator>
#include <algorithm>
#include <string>
using namespace std;
#define ALL(a) (a).begin(), (a).end()
const int64_t BIG_PRIME = 1000000007;

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

    if(n/100==7 || (n%100)/10==7 || n%10==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;

int main(){
  int n;
  cin >> n;
  
  for(int i = 0; i < 3; ++i){
    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

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[3];
  int b = 0;
  for(int i=0; i<3; i++){
    cin >> a[i];
    if (a[i] == 7){
      b++;
    }
  }
  if(b > 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 <iostream>
using namespace std;
void test_case(){
	int n;
	cin >> n;
	while(n){
		int digit = n%10;
		if(digit == 7){
			cout << "YES";
			return;
		}
		n /= 10;
	}
	cout << "NO";
	
}
int main(){
	cin.tie(0);
	ios_base::sync_with_stdio(false);
	test_case();
}




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

    //Bismillah hirrahmanir Rahim
    #include<bits/stdc++.h>
    #define ll long long
    #define pb push_back
    #define dbug printf("I am here\n");
    #define Fast ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    using namespace std;

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


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

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

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

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

using System;
using static System.Console;
using System.Linq;

namespace Main
{
    class Program
    {
        static void Main(string[] args)
        {
            char[] N = ReadLine().ToCharArray();
            WriteLine(N.Contains('7') ? "Yes" : "No");
        }
    }
}

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

#include <iostream>
using namespace std;

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

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

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

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

/* 162-A.cpp
 *     Created on : Apr 12, 2020 
 *     Time       : 5:59:46 PM
 *     Author     : null_ptr
 */

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

int main()
{
	string str;
	cin>>str;
	bool chk=false;
	for(int i=0;i<(int)str.size();++i)
		if(str[i]=='7')chk=true;

	if(chk)cout<<"Yes\n";
	else cout<<"No\n";
}


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

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, c) for (int i = 0; i < (int)c; i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using P = pair<int, int>;
const int inf = 1000000000; //10^9
const ll MOD = 1e9 + 7;
//加算代入演算子は+=！！！！！
//int 2^31 10^9まで
int main()
{
    string n;
    cin >> n;
    bool ans = false;
    rep(i, 3) {
        if(n[i] == '7') {
            ans = true;
        }
    }
    if (ans) cout << "Yes" << endl;
    else cout << "No" << endl;
    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(){
	int n,a,b,c;
	cin>>n;
	c=n%10;
	n/=10;
	b=n%10;
	a=n/10;
	if(a==7||b==7||c==7) cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
	return 0;
}

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

//#include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define rep(i,n) for(int i = 0; i < (n); ++i)
#define Sort(Array) sort(Array.begin(), Array.end())
#define Reverse(a) reverse(a.begin(), a.end())
#define out(ans) cout << ans << endl;
const int MOD = 1000000007;
const int INF = 2147483647;

//------------↓------------- M -------------- E ---------------- M --------------- O ---------------↓--------------//
// コンパイル 
// g++ -std=c++1z
//
// -------型変換--------
// int を string に変換
// string s = to_string(n);
// string を int に変換
// int n = stoi(s);
//
// -------二分探索---------
// k以上の値が最初に現れる時のイテレータ
// lower_bound(data.begin(), data.end(), k)
// kより大きい値が最初の現れる時のイテレータ O(logN)
// upper_bound(data.begin(), data.end(), k)
// kがdataに存在するかをtrue or falseで返す O(logN)
// binary_search(data.begin(), data.end(), k)
// 
//
//
//
//
//
// 
//------------↑------------- M -------------- E ---------------- M --------------- O ---------------↑--------------//






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:2:10: fatal error: cstdio: No such file or directory
    2 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.
Language: C++

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:28: error: expected ')' before ';' token
   12 |   a = ((N - b*10 - c) / 100;
      |       ~                    ^
      |                            )
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: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;
int a,b,c,d;
cin>>n;
a=n/100;
c=n%10;
d=(n-c)-a*100;
b=d/10;
if(a==7)cout<<"Yes"<<endl;
else if(b==7)cout<<"Yes"<<endl;
else if(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<(n); ++i)
using namespace std;

int main()
{
	string N;
	cin >> N;
	
	bool flag = false;
	
	rep( i, 3 ) {
		if( N.at(i) == '7' ){
			flag = true ;
		}
	}
	
	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

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

int main(){
    const int N == 3;
    int A[N];

    for(int i=0; i<N; i++){
        cin >> A[i];
    }

    int v = 0;

    for(int i=0; i<N; i++){
        if(A[i] == 7){
            v = v+1;
        }else{
            v = v+0;
        }
    }

    if(v == 0){
        cout << "No" << endl;
    }else{
        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 <iostream>


using namespace std;


int main()
{
  int n;
  int a, b, c;
  cin >> n;

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

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

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
using ll = int64_t;
#define rep(i,n) for(int i = 0; i < ((int)(n)); i++)   // 0-indexed昇順

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

using namespace std;

signed main(){
    string str;
    //nums.resize(n);
    cin >> str;
    for(int i=0;i<str.size();i++){
        if(str[i]=='7') {
            cout << "Yes" << endl;
            break;
        }
        else{
            if(i==str.size()-1){
                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 ll int long long
#define dll double long long
#define forei(i,n,x) for(int i=n;i<=x;i++)
#define fored(i,n,x) for(int i=n;i>=x;i--)
#define forni(i,n,x) for(int i=n;i<x;i++)
#define fornd(i,n,x) for(int i=n;i>x;i--)
#define SQ(a) (a)*(a)
#define MOD 1000000007
#define sortvi(v) sort(v.begin(),v.end())
#define sortvd(v) sort(v.rbegin(),v.rend())
#define pb push_back
#define pob pop_back
#define mp make_pair
#define pv(v) for(auto it: v) cout<<it
#define endl '\n'   //Take care in case of interactive problems
#define MAX1 100005
#define MAX2 200005
#define max3(a,b,c) max(a,max(b,c))
#define min3(a,b,c) min(a,min(b,c))

typedef pair<ll,ll> pl;
typedef pair<int,int> pi;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;

int countdigits(int n)
{
    int sum=0;
    sum+=n%10;
    n=n/10;
    sum+=n%10;
    n=n/10;
    sum+=n;
    return sum;
}

int main() 
{ 
   
    int n;
    cin>>n;
    if(countdigits(n)==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 S,a="No";cin>>S;
  if(S[0]=='7'||S[1]=='7'||S[2]=='7')a="Yes";
  cout<<a<<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,chk;
    cin>>n;
    chk=n/100;
    if(chk==7)
    {
        cout<<"Yes"<<endl;
        return 0;
    }
    n=n%100;
    chk=n/10;
    if(chk==7)
    {
        cout<<"Yes"<<endl;
        return 0;
    }
    n=n%10;
    if(n==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 <iostream>
#include <string.h>
#include<algorithm>
#include<math.h>

using namespace std;

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


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

    #include <bits/stdc++.h>
    #define rep(i,n) for(int i = 0; i < (n); i++)
     
    using namespace std;  
    using ll = long long;
    using P = pair<int,int>; 
    
    int main() {
   
     int n;
     cin >> n;
     int a = n/100;
     int b = (n-a*100)/10;
     int c =n%10 ;
     if(a==7 || b == 7 || c == 7)	cout << "Yes" <<'\n';
     else cout << "No"<<'\n';
     return 0;
    }

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

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

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

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

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

int main() {
  string s;
  cin >> s;
  string ans = "No";
  rep(i,3){
    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<bits/stdc++.h>
#define rp(i,n) for(int i=0; i<n; i++)
using namespace std;
using ll=long long;
int main(){
    string  n;
    cin >> n;
    if(n.at(0)=='7'||n.at(1)=='7'||n.at(2)=='7')
    puts("Yes");
    else puts("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.