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

/*

Coded and Decoded by : Yash Kapoor

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

#define ll          long long
#define ld          long double
#define pb          push_back
#define pf          push_front
#define mp          make_pair
#define pll         pair<ll,ll>
#define vl          vector<ll>
#define sl          set<ll> 
#define vll         vector<pll>
#define ml          map<ll,ll>
#define mll         map<pll,ll>
#define all(a)      a.begin(),a.end()
#define x           first
#define y           second
#define sz(x)       (ll)x.size()
#define dl          '\n'
//#define why         (ll)1000000007
#define why         (ll)998244353
#define lp(i,a,b)   for(ll i=a;i<b;++i)
#define lpr(i,a,b)  for(ll i=a;i>=b;i--)
#define lpd(i,x)    for(auto i:x)
#define ios         ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
ll inf = 1e18;
ld pi = 3.141592653589;
ll mod = why;
ll fast_power(ll base,ll power,ll mod)
{
    ll result=1;
    while(power)
    {
        if(power%2)
        result=(result*base)%mod;
        base=(base*base)%mod;
        power/=2;
    }
    return result;
}

ll inverse(ll base,ll mod)
{
    return fast_power(base,mod-2,mod);
}

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

int main(){
    ios
    ll t=1; 
    //cin>>t;
    while(t--){
        solve();
    }
}

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

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

int main(){
  string N;
  cin >> N;
  bool judge = false;
  for(int i = 0; i < N.size(); i++){
    if(N.at(i) == '7') judge = true;
  }
  if(judge) cout << "Yes" << endl;
  else cout << "No" << endl;
  
}

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

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

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


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

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(x) (x).begin(), (x).end()
using namespace std;
using VI = vector<int>;
using VB = vector<bool>;
using Graph = vector<vector<int>>;
using ll = long long;
using P = pair<int, int>;

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

  int n;
  cin >> n;

  vector<int> a;

  int value = n;
  while (value)
  {
    a.push_back(n % 10);
    value /= 10;
  }
  for (auto i : a){
    if (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 <iostream>

#define u unsigned
#define s short
#define ll long long
#define REP(i, a, b) for (int i = (a); i < (b); i++)
#define REPR(i, a, b) for (int i = (a-1); i >= (b); i--)

using namespace std;

bool hasSeven(string N);

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

    string N;

    cin >> N;

    cout << (hasSeven(N) ? "Yes" : "No") << "\n";

    return 0;
}

bool hasSeven(string N)
{
    REP(i, 0, 3)
        if (N[i] == '7')
            return true;

    return false;
}

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<queue>
using namespace std;
#define REP(i,n) for(int i=0;i<n;i++)
#define REP1(i,n) for(int i=1;i<=n;i++)

typedef long long int ll;
typedef pair<int,int> P;
typedef pair<ll,ll> Pll;
typedef pair<string,string> Pstring;
typedef pair<double,double> Pdouble;



int main() {

  bool flag = false;
  REP(i,3){
    char s;
    cin >> s;
    if(s=='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<vector>
#include<string>
#include<sstream>
#include<chrono>
#include<algorithm>
#include<functional>
#include<cstdlib>
#include<queue>
#include<stack>
using namespace std;

int main()
{

	std::string s;
	cin >> s;
	bool flag = false;
	for (char c : s)
	{
		if (c == '7') {
			flag = true;
			break;
		}

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

}

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

n = list(input())

a = 0
for i in range(3):
  if n[i] == '7':
    print('Yes')
    a += 1
    break
    
if a == 0:
  print('No')

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

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

int main() {
  string s;
  cin >> s;
  int f = (int)(s[0]-'7')*(int)(s[1]-'7')*(int)(s[2]-'7');
  if (!f) printf("Yes");
  else printf("No");
  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;
#define ll long long int 
#define f first
#define s second
#define pb push_back
#define mod 1000000007
#define mp make_pair
#define fast 
#define f first
#define s second
#define endl "\n"
#define pie 3.1415926535

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

    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 <cmath>
#include <vector>
#include <algorithm>
#include <functional>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <cctype>

using namespace std;
// for loop
#define F(i, L, R) for(int i = L; i < R; i++)
#define FE(i, L, R) for(int i = L; i <= R; i++)
// for (reversed)
#define FR(i, L, R) for(int i = L; i > R; i--)
#define FRE(i, L, R) for(int i = L; i >= R; i--)

// data types
#define ul unsigned long
#define ll long long
#define ull unsigned long long
#define ui unsigned int
#define us unsigned shoft

// vectors
typedef vector<int> vi;
typedef vector<long> vl;
typedef vector<vi> vvi;
typedef pair<int, int> ii;
#define ALL(c) (c).begin(),(c).end()
#define last(vec) vec.size()-1
#define lastEle(vec) vec[last(vec)]
#define pb push_back
#define InputV(a, n) F(i,0,n){long l; cin >> l; a.pb(l);}

// debug
#define DBG(vari) cerr<<#vari<<" = "<<(vari)<<endl;
#define printA(a, L, R) FE(i, L, R) cout << a[i] << (i==R?'\n':' ')
#define printAF(a, L) printA(a, 0, L-1)
#define printV(a) printA(a, 0, a.size()-1)

// utils
#define char2int(c) (c-'0')
#define bit(x, i) (x&(1<<i))
#define space ' '
#define PI 3.14159265358979323

int main() {
    string str;
    bool flag = false;
    cin >> str;
    F(i, 0, 3){
       char c = str[i];
       if(c == '7')flag = true;
    }
    if(flag){
        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;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)


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

#include <iostream>
#include <algorithm>
#include <functional>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <string>

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

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

int main(){
  int n; cin >> n;
  int c = (n % 100) % 10;
  int b = ((n % 100) - c ) / 10;
  int a = (n - 10 * b - c) / 100;
  if (a == 7 || b == 7 || c == 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 <iostream>
#include <string>

using namespace std;


int main(void)
{
    string n;
    cin >> n;
    
    if (n.find('7') == string::npos)
    {
        cout << "No" << endl;
    }
    else
    {
        cout << "Yes" << endl;
    }
}


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

#include <bits/stdc++.h>
#define REP(i, a, b) for (long long i = a; i <= b; ++i)
using namespace std;

string s;

inline void work(){
	cin >> s;
	REP(i, 0, s.size() - 1)
		if (s[i] == '7'){
			puts("Yes");
			exit(0);
		}
	puts("No");
}

int main(){
	work();
	return 0;
}

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

N = int(input())
if(N%10 == 7 or (N//10)%10 == 7 or (N//100)%100 == 7):
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | N = int(input())
      |     ^~~
Language: C

N = str(input())

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = str(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 'str' [-Wimplicit-function-declaration]
    1 | N = str(input())
      |     ^~~
main.c:1:9: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = str(input())
      |         ^~~~~
main.c:1:5: error: initializer element is not constant
    1 | N = str(input())
      |     ^~~
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if '7' in N:
      | ^~
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 <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <utility>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <numeric>
#include <string.h>
#define rep(i, x) for (int i = 0; i < (int)(x); i++)
#define repn(i, x) for (int i = 1; i <= (int)(x); i++)
#define repr(i, x) for (int i = ((int)(x) - 1); i >= 0; i--)
#define reprn(i, x) for (int i = ((int)(x)); i > 0; i--)
#define all(x) (x).begin(),(x).end()
using namespace std;
typedef long long int64;
const double PI = 3.14159265358979323846;
const double EPS = 1e-12;
const int INF = 1<<29;
const long long  INFL = 1e18;
const int MOD = 1000000007;
void solve() {
	string n; cin >> n;
	if (n[0] == '7' || n[1] == '7' || n[2] == '7') cout << "Yes" << endl;
	else cout << "No" << endl;
	return;
}

int main() {
	solve();
  return 0;
}

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

a = int(input())
b = str(a)
count = 0
for i in b:
  if i=='7':
      count = count + 1
if count>=1:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | a = int(input())
      |     ^~~
Language: C

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

int main(int, char**)
{
    string s;

    cin >> s;

    bool result = false;
    for (int i = 0; i < s.length(); i++)
        if (s[i] == '7') result = true;

    if (result) cout << "Yes" << endl;
    else cout << "No" << endl;

    cin >> s;
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string n;
    cin>>n;
    if(n[0]=='7'||n[1]=='7'||n[2]=='7') cout<<"Yes";
    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: Java

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

public class forces {

    public static void main(String[] args) {
        FastReader rv = new FastReader();
        int n;
        n=rv.nextInt();
        int i;
        int p=0;
        for(i=n;i>0;i=i/10)
        {
            int d=i%10;
            if(d==7)
            {
                p=-1;
                break;
            }
        }
        if(p==-1)
            System.out.println("Yes");
        else
            System.out.println("No");

    }

    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }
}

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

N = input()

if N.count('7') > 0:
    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.count('7') > 0:
      | ^~
Language: C

#include <iostream>
#include <iomanip>
#include <algorithm>
using namespace std;
#include <cstdio>
#include <tuple>
#include <string>
#include <vector> 
#include <set>
#include <string.h>
#include <map>
#include <cmath>
#include <deque>
using ll = long long;
using Graph = vector<vector<int>>;
#include <queue>
#include <stack>

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

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

}

//前後を比較
bool compare(int pos,vector<int>& a){
    if(a[pos] == a[pos + 1]) return true;
    else return false;
}

int main(){

    string s;
    cin >> s;
    bool f = false;
    for(int i=0;i < 3;i++) {
        if(s[i] == '7'){
            f = true;
            break;

        }
        
    }

    if(f) cout << "Yes" << endl;
    else cout << "No" << endl;
    

}

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

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define pb push_back
#define mp make_pair

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

    ll t=1;
    //cin>>t;
    while(t--)
    {
        ll n;
        cin>>n;
        while(n!=0)
        {
            if(n%10==7){cout<<"Yes"<<endl;return 0;}
            n=n/10;
        }
        cout<<"No"<<endl;
        return 0;

    }


    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() {
    vector<char> S(3);


    cin >> S.at(0)>> S.at(1) >> S.at(2);
    
    if(S.at(0)=='7'||S.at(1)=='7'||S.at(2)=='7'){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }





}

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

N=input()
res=N.find("7")
if res!=-1:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N=input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1: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 'res'
    2 | res=N.find("7")
      | ^~~
Language: C

#include <bits/stdc++.h>
#define rep(i,n) for(ll (i)=0;(i)<(n);(i)++)
#define repi(i,a,b) for(ll (i)=(a);(i)<(b);(i)++)
#define FOR(i, s, e) for (int i = (int)(s); i <= (int)(e); i++)
#define printYesNo(is_ok) puts(is_ok ? "Yes" : "No");
#define SORT(v) sort(v.begin(), v.end());
#define RSORT(v) sort(v.rbegin(), v.rend());
#define REVERSE(v) reverse(v.begin(), v.end());
typedef long long ll;
using namespace std;
const ll mod = 1e9+7;


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 <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
	string N;
	cin >> N;
	bool flg = false;
	for(char s: N){
		if(s == '7'){
			flg = true;
			break;
		}
	}
	cout << (flg?"Yes":"No") << endl;

	return 0;	
}

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

#include <iostream>
#include <string>
#include <vector>

using namespace std;

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

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

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    while (N>0) {
      if (N % 10 == 7) {
        System.out.println("Yes");
        break;
      }
      N /= 10;
    }
    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:3:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
Language: C

#include <algorithm>     //sort,二分探索,など
#include <bitset>        //固定長bit集合
#include <cmath>         //pow,logなど
#include <complex>       //複素数
#include <deque>         //両端アクセスのキュー
#include <functional>    //sortのgreater
#include <iomanip>       //setprecision(浮動小数点の出力の誤差)
#include <iostream>      //入出力
#include <map>           //map(辞書)
#include <numeric>       //iota(整数列の生成),gcdとlcm(c++17)
#include <queue>         //キュー
#include <set>           //集合
#include <stack>         //スタック
#include <string>        //文字列
#include <unordered_map> //イテレータあるけど順序保持しないmap
#include <unordered_set> //イテレータあるけど順序保持しないset
#include <utility>       //pair
#include <vector>        //可変長配列

using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int mod = 1e+9 + 7;

//マクロ
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = (ll)(n)-1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = (a); i <= (b); i++)
#define FORD(i, a, b) for (ll i = (a); i >= (b); i--)
#define ALL(x) (x).begin(), (x).end() //sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size())      //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x))
#define INF 1000000000000
#define MOD 10000007
#define PB push_back
#define MP make_pair
#define F first
#define S second

template <class T>
bool contain(const std::string &s, const T &v)
{
  return s.find(v) != std::string::npos;
}

int main()
{
  int n;
  cin >> n;
  string str = to_string(n);
  if (contain(str, "7"))
  {
    cout << "Yes" << endl;
  }
  else
  {
    cout << "No" << endl;
  }
  return 0;
}

Compiler output:
main.c:1:10: fatal error: algorithm: No such file or directory
    1 | #include <algorithm>     //sort,二分探索,など
      |          ^~~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
#include<string>
#include<vector>
#include<utility>
#include<algorithm>
#include<map>
#include<cstdlib>
#include<cmath>
using namespace std;
using ll =long long;
int main() {
	int N;
	cin >> N;
	if (N / 100 == 7 || N % 100 / 10 == 7 || N % 10 == 7) {


		cout << "Yes";
		return 0;
		}
	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;
  cin >> n;
  while(n)
  {
    if(n % 10 == 7)
    {
      cout << "Yes";
      return 0;
    }
    n /= 10;
  }
  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>
#include<chrono>
using namespace std;
using ll = long long;

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

N = input()

ans = 'No'
for i in range(3):
    if(N[i-1] == '7'):
        ans = 'Yes'

print(ans)

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 'ans'
    3 | ans = 'No'
      | ^~~
main.c:3:7: warning: multi-character character constant [-Wmultichar]
    3 | ans = 'No'
      |       ^~~~
main.c:6:15: warning: multi-character character constant [-Wmultichar]
    6 |         ans = 'Yes'
      |               ^~~~~
Language: C

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

int main(){
    int N;
    cin>>N;
    int n = N/100;
    bool flag = false;
    if(N%10==7){
        flag = true;
    }else if(N/100==7){
        flag = true;
    }else if((N-100*n)/10==7){
        flag = true;
    }
    
    if(flag){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
}


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

#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REP1(i,n) for(int i = 1; i < n+1 ;i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
#define SZ(x) ((int)(x).size())
#define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0]))
using namespace std;
typedef long long ll;
using p = pair<int, int>;
using P = pair<ll, ll>;
using V = vector<int>;
using VV = vector<vector<int>>;
using VVV = vector<vector<vector<int>>>;
using VL = vector<ll>;
using VVL = vector<vector<ll>>;
using VVVL = vector<vector<vector<ll>>>;
using Graph = VV;


int main(){
    ios::sync_with_stdio(false); cin.tie(0);
    string s;
    cin >> s;
    if(s.at(0)!='7' and s.at(1)!= '7' and s.at(2) != '7'){
        cout << "No" << endl;
    }
    else cout << "Yes" << 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;
//#define in freopen("in.txt","r",stdin)
//#define out freopen("out.txt","w",stdout) 
#define N 1e9+10;
ll n,m,i,j,k,t,l,r;
ll a,b,c,d;
char A,C,X,Y,Z;
ll ans,MAX,MIN,sum;
ll ax[2000500];
char cx[500];
ll dx[12];
ll bx[500];


int main()
{
    t=1;
    //scanf("%lld",&t);
    while(t--)
    {
        cin >> n;
        int flag=0;
        while(n/10)
        {
            if(n%10==7)
            {
                flag=1;
                break;
            }
        }
        if(flag) 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;
#define int long long int




signed main(){
	ios_base::sync_with_stdio(0);
	cin.tie(NULL);
	char a,b,c;
	cin >> a >> b >> c;
	cout << ((a=='7' || b=='7' || c=='7') ? "Yes" : "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;
int main(){int n,i,c=0;
cin>>n;
if(n%10==7)c++;
n/=10;
if(n%10==7)c++;
n/=10;
if(n==7)c++;
if(c){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;

int main(){
  string s;
  cin >> s;
  bool judge = false;
  for (char x:s){
     if (x == '7'){
       judge = true;
       break;
     }
  }
  if (judge){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
      
}


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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define endl "\n"
#define all(v) v.begin(),v.end()
#define mp make_pair
#define mm(a) memset(a,0,sizeof(a))
#define rep(i,a,b) for(ll i = a; i < b; i++)
#define repn(i,a,b) for(ll i = a; i >= b; i--)
#define pb push_back
#define ff first
#define ss second
#define in_edges(m) repp(i, 1, m){ ll a, b; cin >> a >> b; adj[a].pb(b), adj[b].pb(a);}
#define debug(this) cerr<<"> "<<#this<<" : "<<this<<"\n"
#define MOD 1000000007
//atoi() = char to int
// stoi() = int to char
//string g(1,"1"); char to string
//f[stoi(g)] = '0';
//cout.precision(14);
ll power(ll x,ll y);
int main()
{
	    // freopen("in.txt","r",stdin);
	    // freopen("out","w",stdout);
		ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	    ll t;t=1;
	    // cin >> t;
	    while(t--)
	    {
            string s;
            cin >> s;
            ll flag = 0;
            rep(i,0,s.size())
            if(s[i] == '7')
           flag = 1;
           if(flag)cout <<"Yes";
           else cout <<"No";
        
}
// wooooowooooowwwoowwo

Compiler output:
a.cc: In function 'int main()':
a.cc:40:2: error: expected '}' at end of input
   40 | }
      |  ^
a.cc:23:1: note: to match this '{'
   23 | {
      | ^
Language: C

#include<bits/stdc++.h>

using namespace std;

int main(void){
    int n;
    cin >> n;
    bool ans = false;
    if(n % 10 == 7){
        cout << "Yes" << endl;
        return 0;
    }
    n /= 10;
    if(n % 10 == 7){
        cout << "Yes" << endl;
        return 0;
    }
    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 <bits/stdc++.h>
using namespace std ;
 
int main() {
  
 string s;  
  cin >> s; 
  int f=  0 ; 
  for (int i = 0; i < s.size() ; i ++ )
    if ( s[i] == '7' )
    {
      f = 1 ; 
      break ; 
    }
  if ( f == 1 )
    	cout << "Yes" << endl; 
 	else 
      	cout << "No" << endl ; 
  
}
  



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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n,flag=0;
	scanf("%d",&n);
	while(n>0)
	{
		int x=n%10;
		if(x==7)
		flag=1;
		n/=10;
	} 
	if(flag)
	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<bits/stdc++.h>
  using namespace std;
  #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  #define endl "\n"
  #define ll long long
  #define int long long 
  #define double long double
  #define max(a,b) (a>b?a:b)
  #define min(a,b) (a<b?a:b)
  #define mkp make_pair
  #define pb push_back
  #define inf INT_MAX

  int32_t main()
  { 
  
    #ifndef ONLINE_JUDGE
       freopen("in.txt","r",stdin);
       freopen("out.txt","w",stdout);
    #endif
    IOS
    string s;
    cin>>s;
    for(int i=0;i<s.length();i++)
    {
      if(s[i]=='7')
      {
        cout<<"Yes"; return 0;
      }
    }
    cout<<"No";
    return 0;
   
}

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

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

int main()
{
    int n;cin>>n;
    bool marc=0;
    while(n>0){
        if((n%10)==7){
            marc=1;
            break;
        }
        n/=10;
    }
    if(marc==1) 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

#define ll long long
#define rep(i,n) for(ll i=0;i<n;i++)
#define rep2(i,a,b) for(ll i=a;i<=b;++i)
#define rep3(i,a,b) for(ll i=a;i>=b;i--)
#include <bits/stdc++.h>
 
using namespace std;
 
int main(void) {
    string n;
    cin >> n;
    if(n[0] == '7' or n[1] == '7' or n[2] == '7'){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}

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

#include<bits/stdc++.h>
#define assn(n,a,b) assert(n<=b && n>=a)
using namespace std;
#define pb push_back
#define mp make_pair
#define clr(x) x.clear()
#define sz(x) ((int)(x).size())
#define F first
#define S second
#define REP(i,a,b) for(i=a;i<b;i++)
#define rep(i,b) for(i=0;i<b;i++)
#define rep1(i,b) for(i=1;i<=b;i++)
#define pdn(n) printf("%d\n",n)
#define sl(n) scanf("%lld",&n)
#define sd(n) scanf("%d",&n)
#define pn printf("\n")
typedef pair<int,int> PII;
typedef vector<PII> VPII;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef long long LL;
#define MOD 1000000007
LL mpow(LL a, LL n)
{LL ret=1;LL b=a;while(n) {if(n&1)
    ret=(ret*b)%MOD;b=(b*b)%MOD;n>>=1;}
return (LL)ret;}
#define MAXK 100000
#define MAXN 1000000000
int ar[MAXK];
int get(int n, int k){
    int i=0;
    while(i<k and ar[i]<=n)i++;
    return n-i;
}
typedef unsigned long long int ULL;
#define SSTR( x ) static_cast< std::ostringstream & >( \
        ( std::ostringstream() << std::dec << x ) ).str()
 
bool isSafe(int r, int c, vector<vector<int> > arr) {
	int n = arr.size();
	int m = arr[0].size();
	return (r>=0 && r<n && c>=0 && c<m);
}
 
/////////////////////////////////////////////////////////////
bool func(pair<LL,LL> a, pair<LL,LL> b) {
	if(a.first < b.first) return true;
	else {
		if(a.second>b.second) return true;
		else return false;
	}
}

int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    LL t,i,n,a,b,ans,mn;
    cin>>n;
    bool flag= false;
	while(n) {
		if(n%10 == 7)  {
			flag= true;
			break;
		}
		n/=10;
	}     
	cout<<(flag ? "Yes" : "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

#pragma GCC optimize("Ofast")
#include<bits/stdc++.h>
using namespace std;
struct __INIT{__INIT(){cin.tie(0);ios::sync_with_stdio(false);cout<<fixed<<setprecision(15);}} __init;
#define max3(a,b,c) max(a,max(b,c))
#define min3(a,b,c) min(a,min(b,c))
const int MOD=1000000007;
#define INF (1<<30)
#define LINF (lint)(1LL<<56)
#define endl "\n"
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define reprev(i,n) for(int (i)=(n-1);(i)>=0;(i)--)
#define Flag(x) (1<<(x))
#define Flagcount(x) __builtin_popcount(x)
#define pint pair<int,int>
#define pdouble pair<double,double>
#define plint pair<lint,lint>
#define fi first
#define se second
typedef long long lint;
int dx[8]={1,1,0,-1,-1,-1,0,1};
int dy[8]={0,1,1,1,0,-1,-1,-1};
const int MAX_N=2e5+5;

int main(void){
    string S;
    cin >> S;
    bool ans=false;
    rep(i,3) if(S[i]=='7') ans=true;
    if(ans) 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<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
   /* ll t;
    cin>>t;
    while(t--)*/
    {


        ll n,m,sum=0;
       cin>>n;
       while(n>0)
       {m=n%10;
       if(m==7)
       {
           cout<<"Yes"<<endl;
           return 0;
       }
           n=n/10;
       }
       cout<<"No"<<endl;1171
       
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:29: error: expected ';' before '}' token
   23 |        cout<<"No"<<endl;1171
      |                             ^
      |                             ;
   24 | 
   25 |     }
      |     ~
Language: C

#include <iostream>
#include <cmath>
#include <iomanip>
#include <cstring>
using namespace std;


int main(){
    char N[4];
    cin >> N;

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

    cout << "No";
    



    return 0;
}

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

public class Main {
    public static void main(String args[])
    {
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        int input = Integer.parseInt(str);
        if(str.indexOf("7") != -1)System.out.println("Yes");
        else System.out.println("No");
    }
}

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

#include<iostream>
using namespace std;
long long arr[1000000];
int main()
{
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL);   
    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: 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 p=0;
    while(n>0)
    {
        int x=n%10;

        if(x==7)
        {
            p=1;
            break;

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

using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;


#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define all(x) (x).begin(),(x).end()
#define m0(x) memset(x,0,sizeof(x))

int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1};


int main()
{
    int n;
    cin>>n;
    bool ok=false;
    while(n>0)
    {
        if(n%10==7)
        {
            ok=true;
            break;
        }
        n/=10;
    }
    if(ok) 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 ll;
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
typedef set<int> si;
typedef map<string, int> msi;
#define REP(i,a,b) \
for(int i=int(a);i<=int(b);i++)
#define DEP(i,a,b) \
for(int i=int(a);i>=int(b);i--)
#define TRvi(c, it) \
for (vi::iterator it = (c).begin(); it != (c).end(); it++)
#define TRvii(c, it) \
for (vii::iterator it = (c).begin(); it != (c).end(); it++)
#define TRmsi(c, it) \
for (msi::iterator it = (c).begin(); it != (c).end(); it++)



int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	
	int T,i,f=0;
	cin>>T;
	string s=to_string(T);
	REP(i,0,s.length()-1){
		if(s[i]=='7'){
			f=1;
		}
	}
	if(f)
		cout<<"YES";
	else
		cout<<"NO";
	return 0;
}


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

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

int main(){
    int N;
    cin >> N;
    int a = N / 100;
    int b = N - a * 100;
    int c = b / 10;
    int d = b - c * 10;
    if(a == 7 || c == 7 || d == 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 <iostream>
#include<stdio.h>
using namespace std;

int main()
{
    char s[5];
    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: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

void solve(std::istream &ist, std::ostream &ost)
{
    /* ------- 宣言と入力 ------- */

    int N;

    ist >> N;

    /* ------- 計算 ------- */

    while (N != 0)
    {
        if (N % 10 == 7)
        {
            ost << "Yes" << endl;
            return;
        }
        N /= 10;
    }

    ost << "No" << endl;
}

#ifndef WOMAIN
int main()
{
    solve(std::cin, std::cout);
    return 0;
}
#endif


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 <string>
#include <iostream>

int main() {
    std::string N;
    std::cin >> N;
    for (auto c : N) {
        if (c == '7') {
            std::cout << "Yes" << std::endl;
            return 0;
        }
    }
    std::cout << "No" << std::endl;
}


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

N = input()
n = 0
if N[0] =="7":
	n += 1
if N[1] == "7":
	n +=1
if N[2} == "7":
	n += 1

if n > 0:
	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 'n'
    2 | n = 0
      | ^
main.c:7:9: error: expected identifier or '(' before '==' token
    7 | if N[2} == "7":
      |         ^~
Language: C

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

int main() {
  
  int N; cin >> N;
  if(N/100 == 7 || N%10 == 7 || (N%100)/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>
using namespace std;
using ll = long long;

int main() {
  string s;
  cin >> s;
  bool istrue = false;
  for(int i = 0; i < s.size(); i++) {
    if(s[i] == '7') {
      istrue = true;
    }
  }
  if(istrue) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}


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

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
	int n;
	cin>>n;
	bool flag = false;
	while(n%10 != 7){
		n = n/10;
		if(n == 0){
			cout<<"No"<<endl;
			return 0;
		}
	}
	if(n%10 == 7){
		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 rep(i,n) for(ll i=0;i<(n);++i)
using ll = int_fast64_t;
using pll = pair<ll,ll>;
constexpr ll INF = 1LL<<60;
constexpr ll MOD = 1e9+7;
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(a>b){a=b;return 1;}return 0;}
#if loc||local
void dump(){cerr<<endl;}
template<class T,class... Ts> void dump(T&& h, Ts&&... t){cerr<<h<<", ";dump(forward<Ts>(t)...);}
#else
void dump(){}
template<class T,class... Ts> void dump(T&& h, Ts&&... t){}
#endif
template<class T> istream &operator>>(istream&is,vector<T>&v){for(auto &elemnt:v)is>>elemnt;return is;}
template<class T,class U> istream &operator>>(istream&is,pair<T,U>&p){is>>p.first>>p.second;return is;}
template<class T> ostream &operator<<(ostream& os,vector<T>const& v){for(auto const& vi:v)os<<vi<<" ";return os;}
template<class T,class U> ostream &operator<<(ostream& os,pair<T,U>const& p){os<<p.first<<","<<p.second;return os;}
template<class T>vector<T> vec(size_t a){return vector<T>(a);}
template<class T, class... Ts>auto vec(size_t a, Ts... ts){return vector<decltype(vec<T>(ts...))>(a, vec<T>(ts...));}

signed main(){

  string s;
  cin>>s;
  bool ok = false;
  int n = s.size();
  rep(i,n){
    if(s[i]=='7')o=true;
  }
  cout<<(o?"Yes":"No")<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:18: error: 'o' was not declared in this scope
   32 |     if(s[i]=='7')o=true;
      |                  ^
a.cc:34:10: error: 'o' was not declared in this scope
   34 |   cout<<(o?"Yes":"No")<<endl;
      |          ^
Language: C

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

int main(){
	string n;
	cin >> n;
	bool ans=false;
	for(int i=0;i<3;i++){
		if(n[i]=='7')ans=true;
	}
	if(ans){
		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.