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

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

int main() {
  int input;
  bool flag = false;
  cin >> input;

  vector<int> number(3); 

  for(int i=0; i<3; i++) {
    number.at(i) = input/pow(10, 2-i);
    input -= number.at(i)*pow(10, 2-i);
  }

  for(num:number) {
    if(num == 7) {
      flag = true;
      cout << "Yes" << endl;
      break;
    }
  }

  if(flag == false) 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<algorithm>
#include<bits/stdc++.h>
using namespace std;
#define mp make_pair
#define pb push_back
#define int long long
#define pi 3.141592653589793238462643383279502
#define M 1000000007
#define F first
#define S second
#define pii pair<int,int>
#define rep(i,n) for(int i=0;i<n;i++)
bool isPowerOfTwo(int n)
{
   if(n==0)
   return false;

   return (ceil(log2(n)) == floor(log2(n)));
}
int power(int x, unsigned int y, int p)
{
    int res = 1;

    x = x % p;
    while (y > 0)
    {
        if (y & 1)
            res = (res*x) % p;

        y = y>>1;
        x = (x*x) % p;
    }
    return res;
}
bool isprime(int x)
{
      if(x<2)
        return false;
    for(int i=2;i*i<=x;i++)
     {
        if (x%i==0)
            return false;
    }
    return true;
}

void solve()
{
int n;
cin>>n;
map<int,int>m;
while(n>0)
{
    m[n%10]++;
    n/=10;
}
if(m[7]>0)
    cout<<"Yes"<<endl;
else
    cout<<"No"<<endl;
}




signed main()
{ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int t;
//cin>>t;
t=1;
while(t--)
{
  solve();
}
}





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

N = input()
for i in range(N):
    if N[i] = '7':
        print('Yes')
        break
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 'for'
    2 | for i in range(N):
      | ^~~
main.c:4:15: warning: multi-character character constant [-Wmultichar]
    4 |         print('Yes')
      |               ^~~~~
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('No')
      |           ^~~~
Language: C

#include<bits/stdc++.h>
#include<cstdio>

using namespace std;

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

int main(){
  string s; cin >> s;
  bool a=false;

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

  if(a){
      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.
Language: C

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef unsigned long long ull;
#define REP(i, n) for(int i=0; i<n; i++)
#define REPi(i, a, b) for(int i=int(a); i<int(b); i++)
#define MEMS(a,b) memset(a,b,sizeof(a))
#define mp make_pair
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 MOD = 1e9+7;

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

    bool valid = false;
    REP(i,3){
        int n = N%10;
        if(n == 7)
            valid = true;
        N /= 10;
    }

    if(valid)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
    return 0;
}


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

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

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


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

#include <bits/stdc++.h>
using namespace std;
int main(void){
    // Your code here!
    int N;
    cin>>N;
    string s = to_string(N);
    for(int i=0;i<3;i++){
        if(s[i]=='7'){
            cout<<"Yes"<<endl;
            break;
        }
        if(i==3-1){
            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>
using namespace std;

#define all(x) x.begin(), x.end()
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef long long ll;

const int mod = 1e9 + 7;
const ll inf = 3e18 + 5;

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

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

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

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

int main()
{
    int T,flag=0;
    cin>>T;
    for(int i=3;i>0;i--)
	{
		if(t%10==7)
		flag=1;
		t=t/10;
	 } 
	 if(flag)cout<<"Yes";
	 else cout<<"No"'
    return 0;
}

Compiler output:
a.cc:16:25: warning: missing terminating ' character
   16 |          else cout<<"No"'
      |                         ^
a.cc:16:25: error: missing terminating ' character
a.cc: In function 'int main()':
a.cc:11:20: error: 't' was not declared in this scope
   11 |                 if(t%10==7)
      |                    ^
a.cc:13:17: error: 't' was not declared in this scope
   13 |                 t=t/10;
      |                 ^
a.cc:16:25: error: expected ';' before 'return'
   16 |          else cout<<"No"'
      |                         ^
      |                         ;
   17 |     return 0;
      |     ~~~~~~
Language: C

#include<bits/stdc++.h>

using namespace std;

int main () {
	ios::sync_with_stdio(0);
   cin.tie(0);
   int n,s1,s2,s3;
	cin >> n;
	s1 = n % 10;
	s2 = (n/10) % 10;
	s3 = (n/100) % 10; 
	if ( s1 == 7 || s2 == 7  || s3 == 7){
		cout << "Yes" << "\n";
	}
	else cout << "No" << "\n";

  return 0;
}

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

//
//  main.cpp
//  beginner20200412_1
//
//  Created by zer0 on 2020/04/12.
//  Copyright © 2020 zer0. All rights reserved.
//

#include <iostream>
#include <string>

int main(int argc, const char * argv[]) {
    
    std::string m;
    std::cin >> m;
    
    if(m.find("7") == std::string::npos){
        std::cout << "No";
    }else{
        std::cout << "Yes";
    }

    return 0;
}


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

#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define OUT(s) cout << s << "\n";

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

}

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

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

//#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <queue>
#include <stack>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
#include <deque>

int main(){
  std::string S;
  std::cin >> S;
  bool ans = false;
  for (int i=0; i<S.length(); i++){
    if (S[i]=='7'){
      ans = true;
    }
  }
  printf("%s\n", ans?"Yes":"No");
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 'string' is not a member of 'std'
   15 |   std::string S;
      |        ^~~~~~
a.cc:12:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
   11 | #include <set>
  +++ |+#include <string>
   12 | #include <deque>
a.cc:16:8: error: 'cin' is not a member of 'std'
   16 |   std::cin >> S;
      |        ^~~
a.cc:12:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
   11 | #include <set>
  +++ |+#include <iostream>
   12 | #include <deque>
a.cc:16:15: error: 'S' was not declared in this scope
   16 |   std::cin >> S;
      |               ^
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: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: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<iostream>

using namespace std;

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

	int i;
	bool res = false;

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

	}

	if (res) cout << "Yes";
	else cout << "No";

	return 0;
}

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

#include<iostream>
using namespace std;
int main() {
	int N;
	cin >> N;
	if (N % 10 == 7 || (N % 100) / 10 == 7 || N / 100 == 7) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	return 0;
}

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

#include <bits/stdc++.h>
#include <string>
#include <stdio.h>
#include <cstdlib>

using namespace std;

int main() {
    int a = 0;
    int b  = 0;
    cin >> a;
    if (a % 10 == 7){
        b = 1;
    }
    a = a / 10;
    if (a % 10 == 7){
        b = 1;
    }
    a = a / 10;
    if (a == 7){
        b = 1;
    }
    if (b == 1){
        cout << "Yes";
    }
    else{
        cout << "No";
    }
}



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

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


int main(int argc, char* argv[])
{
	char N[3];
	scanf("%s", N);

	int flag = 0;
	for(int i; i<3; i++){
		if(N[i] == '7'){
			flag = 1;
			break;
		}
	}

	if(flag==1){
		printf("Yes");
	}else{
		printf("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>

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

using namespace std;

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

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: overloaded function with no contextual type information
    7 |         int n = size.s();
      |                      ^
Language: C

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

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

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

import java.util.*;
public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		String NN = N.toString();
		String ans = "No";
		if(NN.charAt(0) == '7'|| NN.charAt(1) == '7'|| NN.charAt(2) == '7'){
			ans = "Yes";
		}
	}
	System.out.println(ans);
}

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

N=input().split()
for i in N:
    if i=="7":
        print("Yes")
        exit()
print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N=input().split()
      | ^
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().split()
      |   ^~~~~
main.c:1:10: error: request for member 'split' in something not a structure or union
    1 | N=input().split()
      |          ^
main.c:2:1: error: expected ',' or ';' before 'for'
    2 | for i in N:
      | ^~~
Language: C

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

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

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

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

#define fi first
#define se second
#define pb push_back
#define rep(i,n) for(int i=0; i<(int)(n); i++)
#define MOD 1000000007

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

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;

using ll = long long int;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()

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


bool my_cp(pair<int, int> a, pair<int, int> b){
  return (double)b.first / (double)(b.second+1) < (double)a.first / (double)(a.second+1);
}

ll cnt_rep = 0;
ll powmod(ll N, ll P, ll M){
  cnt_rep++;
  if(P == 0) return 1;
  if(P%2 == 0){
    ll t = powmod(N, P/2, M);
    return t*t % M;
  }
  return (N * powmod(N, P-1, M)) % M;
}

int N;

void dfs(string s, char m, int N){

  if(s.length() == N){
    cout << s << endl;
  }else{
    for(char c = 'a'; c <= m; c++){
      dfs(s + c, ((c == m)? (m + 1) : m), N);
    }
  }
}





// substr(start, len)

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

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

  cout << "No" << endl;

  // cout << setprecision(8) << ans << endl;  // For double
// CHECK if it's possible to overflow!!
}

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.at(1)==7||N.at(2)==7||N.at(3)==7){
    cout<<'Yes'<<endl;
  }else{
    cout<<'No'<<endl;
  }
  }

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

#include "iostream"
using namespace std;
 
int main(){
 
  char n[3];
   
  cin >> n[0] >> n[1] >> n[2] ;
  
  if(n[0]='7' || n[0]='7' || n[0]='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>
#define SORT(x) sort((x).begin(), (x).end())
#define RSORT(x) sort((x).rbegin(), (x).rend())
#define ALL(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < n; i++)
#define reps(i, m, n) for (ll i = m; i < n; i++)
#define repr(i, m, n) for (ll i = m; i >= n; i--)
#define de(x) cout << #x << "=" << x << endl;
#define SP << " " <<
template <class T> bool maxi(T &a, const T &b) {
    if (a < b) { a = b; return 1;} return 0;}
template <class T> bool mini(T &a, const T &b) {
    if (b < a) { a = b; return 1;} return 0;}
#define dame {cout<< "-1" <<"\n"; return;}
#define INF2 1000000000000000037
#define INF  1000000007
#define MOD  1000000007
using namespace std;
using ll = long long;
using ld = long double;
using P  = pair<ll,ll>;
//--GLOBAL---------------------------------

//--MAIN-----------------------------------
void Main() {
    string N;
    cin>>N;
    if(N[0]=='7' or N[1]=='7' or N[2]=='7') cout<< "Yes" <<"\n";
    else cout<< "No" <<"\n";

}

//--START----------------------------------
int main() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    cout << fixed << setprecision(15);
    Main();
}
//-----------------------------------------


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 LEN 100005
#define rep(i,n) for(int i=0;i<n;i++)
#define Rep(i,n) for(ll i=0;i<n;i++)
#define For(i,m,n) for(int i=m;i<n;i++)
#define FOR(i,m,n) for(ll i=m;i<n;i++)
using namespace std;
using ll = long long;
double pi() { return 3.14; }
int sum(int a, int b) { return a + b; }
int mul(int a, int b) { return a * b; }
ll LGCD(ll x, ll y) { if (x % y == 0) return y;else return LGCD(y, x % y); }
ll LLCM(ll x, ll y) { return x * y / LGCD(x, y); }

int GCD(int x, int y) { if (x % y == 0) return y;else return GCD(y, x % y); }
int LCM(int x, int y) { return x * y / GCD(x, y); }
ll dpc[10000][10000];

//void nCr(ll n, ll r) {
//	ll ans = 1;
//	for (int i = n; i > n - r; --i) {
//		ans = ans * i;
//	}
//	for (int i = 1; i < r + 1; ++i) {
//		ans = ans / i;
//	}
//	printf("%d",ans);
//}

ll combination(ll n, ll r) {
	if (n == r) { return dpc[n][n] = 1; }
	else if (r == 0) { return dpc[n][0] = 1; }
	else if (r == 1) { return dpc[n][1] = n; }
	else if (dpc[n][r]) { return dpc[n][r]; }
	else { return dpc[n][r] = combination(n - 1, r - 1) + combination(n - 1, r); }
}

//cout << fixed << setprecision(10);



int main() {
	
	int n;
	cin >> n;
	int a, b, c;
	a = n / 100;
	c = n % 10;
	b = n - 100 * a - c;
	b = b / 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 <bits/stdc++.h>
using namespace std;

int main(void){
    string n; cin >> n;
    
    for(int i = 0; i < int(n.size()); i++){
        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<bit/stdc++.h>
using namespace std;
typedef long long ll;

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

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

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

int main() {
  string N;
  cin >> N;
  
  bool flag = false;
  
  rep(i, N.size()){
  	if (N.at(i) == "7"){
    	flag = true;
    }
  }
  if (flag = true){
  	cout << "Yes" << endl;
  }
  else{
  	cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |         if (N.at(i) == "7"){
      |             ~~~~~~~~^~~~~~
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"<<'\n';
  else cout<<"No"<<'\n';

  return 0;
}


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

#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int n;
int main()
{
	scanf("%d",&n);
	while(n)
	{
		if(n%10==7)
		{
			cout<<"Yes";
			return 0;
		}
		n/=10;
	}
	cout<<"No";
	return 0;
} 

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int N;
	cin>>N;
	int a=N/100;
	int b=N%100/10;
	int c=N-a*100-b*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>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define SIZE_OF_ARRAY(array) (sizeof(array) / sizeof(array[0]))
using namespace std;
using ll = long long;
using P = pair<int, int>;

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

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

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

#include <bits/stdc++.h>
#define rep(i, a, b) for (int i = a; i < (int)(b); ++i)
 
using namespace std;
 
vector<int> vec;
 
 
int main(void) {
	string a;
	int b;
	int c;
 
 
	cin >> a;
 
	if (a.find("7") != std::string::npos) {
		cout << "Yes";
	}
	else
	{
		cout << "No";
	}
 
 
}
 
 
#include <bits/stdc++.h>
#define rep(i, a, b) for (int i = a; i < (int)(b); ++i)

using namespace std;

vector<int> vec;


int main(void) {
	string a;
	int b;
	int c;


	cin >> a;

	if (a.find("7") != std::string::npos) {
		cout << "Yes";
	}
	else
	{
		cout << "No";
	}


}


Compiler output:
a.cc:34:13: error: redefinition of 'std::vector<int> vec'
   34 | vector<int> vec;
      |             ^~~
a.cc:6:13: note: 'std::vector<int> vec' previously declared here
    6 | vector<int> vec;
      |             ^~~
a.cc:37:5: error: redefinition of 'int main()'
   37 | int main(void) {
      |     ^~~~
a.cc:9:5: note: 'int main()' previously defined here
    9 | int main(void) {
      |     ^~~~
Language: C

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


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

#include<iostream>
#include<string>
#include <vector>
#include <algorithm>
using ll = long long;
using namespace std;
int main() {
    int n;
    cin >> n;
    
    if (n / 100 == 7 || (n / 10) % 10 == 7 || n % 10 == 7)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;

    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>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define sz(a) (a).size() 
#define all(c) (c).begin(),(c).end()
#define rep(i,n) for(int i=0;i<n;i++)
#define forn(i,n) for(int i=1;i<=n;i++)
#define ford(i,n) for(int i=n;i>=0;i--) 
#define REP(i,a,n) for(int i=a;i<n;i++)
#define foreach(itr,c) for(__typeof((c).begin(),(c).end())itr=c.begin();itr!=c.end();itr++) 
#define fill(a,b) memset(a,b,sizeof(a))
#define re return
#define INF 1e9
#define LINF 1e18
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pi;
typedef vector<int> vi;
typedef vector<pi > vpi; 
int main(){
	string s;
	cin>>s;
	bool f=0;
	rep(i,s.size()){
		if(s[i]=='7'){
			f=1;
		}
	} 
	if(f){
		cout<<"Yes";
	}
	else{
		cout<<"No";
	}
	re 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

A = str(input())
i_count = 0
for i in A:
  if i == int(7):
    i_count = i_count+1

if i_count == 0:
  print("No")
else:
  print("Yes")

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

using namespace std;

#include <cstdint>
#include <cstring>
#include <cmath>
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <stack>

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

    string  N;
    int     n = 0;
    cin >> N;
    int     cnt = 0;
    string  ans;
    for(n = 0; n < N.size(); n++){
        if(N.substr(n,1).compare("7") != 0){
            cnt++;
        }
    }
    if(cnt == N.size()){
        ans = "No";
    }else{
        ans = "Yes";
    }


    cout << ans << "\n";
    return 0;
    
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c:3:10: fatal error: cstdint: No such file or directory
    3 | #include <cstdint>
      |          ^~~~~~~~~
compilation terminated.
Language: C

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

int main() {
    string N;
    cin >> N;
    bool ans = false;

    for(int i = 0; i < N.size(); i++) {
        if(N.at(i) = 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 <iostream>
using namespace std;

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

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

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

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

    ll sum = 0;
    for (int i = 1; i <= N; i++) {
        if ((i % 15 != 0) && (i % 3 != 0) && (i % 5 != 0)){
            sum += i;
        }
    }

    cout << sum << endl;
}


Compiler output:
main.c:2:1: error: unknown type name 'using'
    2 | using namespace std;
      | ^~~~~
main.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    2 | using namespace std;
      |                 ^~~
main.c:3:1: error: unknown type name 'using'
    3 | using ll = long long;
      | ^~~~~
main.c:3:12: error: expected expression before 'long'
    3 | using ll = long long;
      |            ^~~~
main.c: In function 'main':
main.c:8:5: error: 'cin' undeclared (first use in this function)
    8 |     cin >> N;
      |     ^~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:7: error: expected ';' before 'sum'
   10 |     ll sum = 0;
      |       ^~~~
      |       ;
main.c:13:13: error: 'sum' undeclared (first use in this function)
   13 |             sum += i;
      |             ^~~
main.c:17:5: error: 'cout' undeclared (first use in this function)
   17 |     cout << sum << endl;
      |     ^~~~
main.c:17:20: error: 'endl' undeclared (first use in this function)
   17 |     cout << sum << endl;
      |                    ^~~~
Language: C

#include <bits/stdc++.h>
#include <iomanip>
#define ll long long
using namespace std;
 
int main() {
  string S;
  cin >> S;
  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

#include<iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;
#define ll long long

int main()
{

    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);


    
        string s;
        cin >> s;
        bool flag=false;
        for(auto c: s){
            if(c == '7') flag=true;
        }
        if(flag) cout << "Yes";
        else cout << "No";
    

    return 0;
}


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

#include<iostream>
#include<string>
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
    ll n,k=0;
    string s;
    cin>>n;
    s=to_string(n);
    for(int i=0;i<s.size();i++)
    {
        if(s[i]=='7')
        {
            cout<<"yes";
            k=1;
            break;
        }
    }
    if(k==0)
    cout<<"No";
    return 0;
}

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

#include<iostream>
using namespace std;

int main(){
  int N[3];
  int ans = 0;
  for(int i=0;i<3;i++)cin>>N[i];
  for(int i=0;i<3;i++){
    if(N[i] == 7)ans = 1;
  }
  if(ans == 1)cout<<"Yes";
  if(ans == 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 <iostream>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(j, m) for (int j = 0; i < (int)(n); j++)
using ll = long long;
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: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intll int long long
const int INF = 1e9;
const int MOD = 1e9 + 7;

int main() {
  string s ;
  cin >> s ;
  string ans = "No";
  rep(i,3){
    if(s.at(i) == '7')
      ans = "Yes";
  }
  
  cout << ans ;


}


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.h>
#include<string.h>
using namespace std;
int main(){
    string N;
    bool flag = false;
    cin >> N;

    for(int i=0;i<3;i++){
        if(N.at(i) == '7'){
            flag = true;
        }
    }
    if(flag){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}

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

#include <stdio.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <cstdlib>
#include <list>
#include <numeric>
#include <map>	
#include <cmath>
#include <string>
#define rep(i,n) for(ll i=0;i<n;i++)
#define all(x) (x).begin(),(x).end()
#define sz(x) (int)(x).size()
#define Cout(s) cout<<s<<endl
using namespace std;
typedef long long ll;
string Yes(bool b) { if (b) { return "Yes"; } else { return "No"; } }
string YES(bool b) { if (b) { return "YES"; } else { return "NO"; } }
//================================================


ll a = 1, b = 0, c, d, n, k = 0, ans = 0;
string s, t;

int main()
{
	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: iostream: No such file or directory
    2 | #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 ctoi(char c) {
    int n = c - '0';
    return n;
}

int pow_int(int x, int n) {
    if (n == 0) {
        return 1;
    }else {
        int y = x;
        for (int i = 0; i < n-1; i++) {
            x *= y;
        }
        return x;
    }
}


int main() {
    string n;
    cin >> n;
    bool flag = false;
    rep(i, 3) {
        if (n[i] == '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

#pragma GCC optimize("O3")
#pragma GCC target("avx")
#include <bits/stdc++.h>
#define rep(i ,n) for(int i=0;i<(int)(n);++i)
#define repr(i ,n) for(int i=n;i>(int)(n);--i)
#define rep1(i ,n) for(int i=1;i<=(int)(n);++i)
#define ALL(a) a.begin(), a.end()
#define SORT(a) sort(ALL(a))
#define bit_check(bit, i) ((bit>>(i)) & 1)
#define PRINT(x) printf("%d\n",(x));
using namespace std;
typedef long long int int64;
typedef unsigned long long uint64;
template<class T> using V = vector<T>;
using I = int;
using VI = V<I>;
const int INF = 2e9;
const int64 MOD = 1e9 + 7;

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;
    bool f = false;
    int tmp = n;
    tmp %= 10;
    if (tmp == 7) f = true;
    n /= 10;
    tmp = n;
    tmp %= 10;
    if (tmp == 7) f = true;
    n /= 10;
    tmp = n;
    tmp %= 10;
    if( tmp == 7) f =true;
    cout <<( f ? "Yes" : "No") << endl;
}

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

#pragma region Macros
#include <iostream>
#include <array>
#include <algorithm>
#include <map>
#include <vector>
#include <list>
#include <cmath>
#include <stack>
#include <queue>
#include <climits>
#define rep(x,to) for(int (x)=0;(x)<(to);(x)++)
#define rep2(x,fr,to) for(int (x)=(fr);(x)<(to);(x)++)
#define sz(v) (int)(v).size()

using namespace std;
typedef long long ll;
#pragma endregion
int main()
{
	cin.tie(0);
	ios_base::sync_with_stdio(false);

	string N;
	cin >> N;
	string ans = "No";
	rep(i, 3)
	{
		if (N[i] == '7')
			ans = "Yes";
	}
	cout << ans << '\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 <iostream>

#define MAX 3

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: 'i' was not declared in this scope
   12 |   for(i = 0;i < MAX;i++){
      |       ^
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 <bitset>
#include <iomanip>
#include <string>
#include <vector>
#include <cmath>
#include <queue>
#include <algorithm>

using namespace std;

#define ll long long
#define vecll vector<long long>
#define vec2ll vector<vector<long long>>
#define forll(s,a,b) for(long long s = a;s < b;s++)
#define forllde(s,a) for(long long s = a;s > 0;s--)

int main()
{
	ll n;
	string s, ans = "No";

	cin >> s;

	if (s[0] == '7' || s[1] == '7' || s[2] == '7')
		ans = "Yes";


	cout << ans << endl;

}

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



import java.util.*;

public class Main {
	static boolean f;
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		/* 入力の受け取り
		 * String s = sc.next();
		 * int a = sc.nextInt();
		 * long a = sc.nextLong();
		 */
		
		// 文字列(String)を文字(char)に分解
		// char[] s_char = s.toCharArray();
		
		int n = sc.nextInt();
		
		if(n%10==7 || (n/10)%10==7 || n/100==7) 
			System.out.println("Yes");
		else
		 	System.out.println("No");
		
		/*
		 * if(f)
		 *	System.out.println("Yes");
		 * else
		 * 	System.out.println("No");
		 */
	}
}


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

public class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        String S = sc.next();
        if (S.contains("7"))
        {
            System.out.println("yes");
        }else{
            System.out.println("No");
        }
    }
}

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

N = input()

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

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

#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
  int value;
  int a[3];
  cin >> value;
  a[0] = (value % 10);
  value /= 10;
  a[1] = (value % 10);
  value /= 10;
  a[2] = (value % 10);
  value /= 10;
  // cout << a[0] << a[1] << a[2];
  if (a[0] == 7 or a[1] == 7 or a[2] == 7) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}

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

S=input()
for i in range(len(S)):
    if S[i]=="7":
        print("Yes")
        exit()
print("No")

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

#include<stdio.h>

int main (void)
{
 int  a,b,c;

scanf("%d",a);

b=a%10;
c=b%10;

if(a/7==1||b/7==1||c/7==1)

retrun 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:1: error: 'retrun' undeclared (first use in this function)
   14 | retrun 0;
      | ^~~~~~
main.c:14:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:7: error: expected ';' before numeric constant
   14 | retrun 0;
      |       ^~
      |       ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) int((a).size())

int main()
{
    ios_base::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
  
    ll n;
    cin>>n;
    while(n>0)
    {
        ll r = n%10;
        if(r)
    }
}#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) int((a).size())

int main()
{
    ios_base::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
  
    ll n;
    cin>>n;
    while(n>0)
    {
        ll r = n%10;
        if(r == 7) {cout<<"Yes";return 0;}
        n/=10;
    }
    cout<<"No";
}


Compiler output:
a.cc:20:2: error: stray '#' in program
   20 | }#include<bits/stdc++.h>
      |  ^
a.cc: In function 'int main()':
a.cc:19:5: error: expected primary-expression before '}' token
   19 |     }
      |     ^
a.cc: At global scope:
a.cc:20:3: error: 'include' does not name a type
   20 | }#include<bits/stdc++.h>
      |   ^~~~~~~
a.cc:27:5: error: redefinition of 'int main()'
   27 | int main()
      |     ^~~~
a.cc:8:5: note: 'int main()' previously defined here
    8 | int main()
      |     ^~~~
Language: C


import java.util.*;

public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		boolean f = false;
		for(int i=0; i<n.length(); i++) {
			if(n.charAt(i) == '7') {
				f=true;
			}
		}
		if(f) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		sc.close();
	}


}


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

#include<algorithm>
#include<cmath>
#include<cstring>
#include<cstdio>
#include<iostream>
#include<vector>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<string>
#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)n; i++)
#define ll long long 
using namespace std;
int main(){
  int a;
  cin >>a;
  int b=a/100;
  int c=(a%100)/10;
  int d=a%10;
  if(b==7||c==7||d==7){
    cout <<"Yes"<<endl;
  }else{
    cout <<"No"<<endl;
  }
}

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