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

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    String ans = 'No';
    int a = sc.nextInt();
    
    String as = String.valueOf(a);
    String x = as.substring(0, 1);
    String y = as.substring(1, 2);
    String z = as.substring(2, 3);

    if (x == '7' || y == '7' || z == '7') {
      ans = 'Yes';
    }

    System.out.println(ans);
  }
}

Compiler output:
Main.java:6: error: unclosed character literal
    String ans = 'No';
                 ^
Main.java:6: error: unclosed character literal
    String ans = 'No';
                    ^
Main.java:6: error: not a statement
    String ans = 'No';
                   ^
Main.java:15: error: unclosed character literal
      ans = 'Yes';
            ^
Main.java:15: error: unclosed character literal
      ans = 'Yes';
                ^
Main.java:15: error: not a statement
      ans = 'Yes';
              ^
6 errors
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

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

  for(i=0;i<3;i++)
  {
    if(X%10 == 7)
    {
      printf("Yes\n");
      break;
    }
    else
    {
      X /= 10;
    }

    if(i==2)
    {
      printf("No\n");
    }
  }

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:7: error: 'i' undeclared (first use in this function)
   10 |   for(i=0;i<3;i++)
      |       ^
main.c:10:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<iostream>
#include<stdio.h>
#include<string>
using namespace std;
int main()
{int n;
cin>>n;
while(n>0)
{if(n%10==7)
{cout<<"Yes";
return 0;
}
n=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

N = input()

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

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

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

int main(){
    int n;
    cin>>n;
    bool b=0;
    while(n>0)
    {
        if(n%10 == 7 )
        {
            b=1;
            break;
        }
        n/=10;
    }
    if(b) 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>
#include <algorithm>
#define _GLIBCXX_DEBUG
#define rep(i,n) for(int i=0;i<(n);++i)
#define all(x) (x).begin(), (x).end()
#define PB(x) push_back(x)
#define MP(x,y) make_pair(x,y)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;


int main() {
    
    string s;
    cin >> s;
    int n = s.size();
    rep(i,n) {
        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<iostream.h>
int main()
{
  int n,c=0;
  cin>>n;
  while(n>0)
  {
    n=n%10;
    if(n==7)
      cout<<"Yes"<<endl;
    else if(n==0)
      cout<<"No";
     
    else 
       n=n/10;
  }
  
}


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

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

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

// #include <bits/stdc++.h>
#include <iostream>
#include <vector>
#define rep(i,s,n) for (int i=s;i<n;++i)
#define drep(i,s,n) for (int i=n;i>=s;--i)
#define all(x) (x).begin(),(x).end()
#define RALL(a) (a).rbegin(),(a).rend()
#define print(x) cout<<(x)<<endl
using namespace std;
typedef long long ll;

int gcd(int a,int b)
{if (a%b == 0) return(b);
 else          return(gcd(b,a%b));}
int lcm(int a,int b)
{return a*b/gcd(a,b);}
void printv(vector<auto> v) {cout<<'[';rep(i,0,v.size()){cout<<v[i]<<',';}cout<<']'<<endl;}
void printvv(vector<vector<auto>> vv)
{
  cout<<'['<<endl;
  rep(q,0,vv.size()){cout<<'[';rep(p,0,vv.at(q).size())cout<<vv.at(q).at(p)<<',';cout <<']'<<endl;}
  cout<<']'<<endl;
}
void solve(); int main(){cin.tie(0);ios::sync_with_stdio(0);solve();}
int step_x[] = {-1,0,0,1};
int step_y[] = {0,-1,1,0};
//------------------------------------------------------------
// ll n,t,m;
string n;
bool bl=false;

void solve() {
  cin>>n;

  rep(i,0,3) 
  {
    if(n[i]=='7') bl = true;
  }

  if(bl) print("Yes");
  else print("No");
  return;
}


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

#include<stdio.h>
int main()
{
  int N;
  scanf("%d",&N);
  int flag=0;
  if(N%10==7){
    flag=1;
  }
  else{
    N=N/10;
    if(N%10==7){
      flag=1;
    }
    else{
      N=N/10;
      if(N%10=7){
        flag=1;
      }
    }
  }
  if(flag=0){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:17:14: error: lvalue required as left operand of assignment
   17 |       if(N%10=7){
      |              ^
Language: C

#include<bits/stdc++.h>

using namespace std;

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

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

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

int main() {
	// your code goes here
	int n;
	cin>>n;
	
	int a=n%10;
	int b=(n%100);
	
	if((n>699  && n<800) || (a==7) || (b>69 && b<80))
	cout<<"Yes";
	else
	cout<<"No"
	
	return 0;
}

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

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

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    int n;
    cin>> n;
    while ( n!=0) {
        int x =  n%10;
        if ( x == 7) {
            cout << "Yes" << endl;
            return 0;
        }
        n = 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 <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower

using namespace std;

void Main()
{
    int64_t N;
    cin >> N;
    if(N % 10 == 7)
    {
        cout << "Yes" << endl;
        return;
    }
    if(N % 100 == 7)
    {
        cout << "Yes" << endl;
        return;
    }
    if(N % 1000 == 7)
    {
        cout << "Yes" << endl;
        return;
    }

    cout << "No" << endl;
}

int main()
{
    Main();
}


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

n = input()
for i in n:
    if i=="7":
        print("Yes")
        exit()
print("No")


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n = input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'for'
    2 | for i in n:
      | ^~~
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,flag=0;
  cin >> n;
  while(n>0){
    int temp = n%10;
    if(temp==7){
      cout << "Yes";
      flag = 1;
      break;
    }
    n= n/10;
  }
  if(flag==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 <bits/stdc++.h>

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

using namespace std;
using ll = long long;

int main(){

	int N; cin >> N;
	
	int first = N, tenth = N, third = N;


	first /= 1; first %= 10;v
	tenth /= 10; tenth %= 10;
	third /= 100; third %= 10;

	if(first == 7 || tenth == 7 || third == 7){
		cout << "Yes" << endl;
	} else{
		cout << "No" << endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:33: error: 'v' was not declared in this scope
   16 |         first /= 1; first %= 10;v
      |                                 ^
Language: C++

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

int main()
{
    cin.tie(0);
    ios_base::sync_with_stdio(0);
    #ifdef acm
    freopen("a.in","r",stdin);
    #endif // acm

    char n[10];
    cin >> n;

    int ok;
    for( int i = 0; i < 3; i++ )
        if( n[i] == '7' )
            ok = 1;

    if( ok )cout << "Yes\n";
    else cout << "No\n"
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:24: error: expected ';' before 'return'
   21 |     else cout << "No\n"
      |                        ^
      |                        ;
   22 |     return 0;
      |     ~~~~~~
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int third=(int)(N/100);
    N-=third*100;
    int second =(int)(N/10);
    N-=second*10;
    int first=N%10;
    if(third==7||second==7||first=7){
      System.out.println("YES");
    }else{
      System.out.ptintln("NO");
    }
    
  }
}
    

Compiler output:
Main.java:12: error: bad operand types for binary operator '||'
    if(third==7||second==7||first=7){
                          ^
  first type:  boolean
  second type: int
Main.java:15: error: cannot find symbol
      System.out.ptintln("NO");
                ^
  symbol:   method ptintln(String)
  location: variable out of type PrintStream
2 errors
Language: C

#include<iostream>
#include<string>
using namespace std;
 
int main(void){
   string s;
   
   cin >> s;
   
   for(int i = 0; i < s.length(); i++){
       if(s[i] == '7'){
           cout << "Yes" << endl;
           return 0;
       }
   }
 
    cout << "No" << endl;
    return 0;
}


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

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

int main() {
  string a;
  cin>>a;
  rep(i,3){
   if(a[i]=="7"){
     cout<<"Yes";
   }
    else if(i==3){
     cout<<"No";
    }
    else{
      continue;
    }
}


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;
  x=n%10;
  y=n%100;
  z=n%1000;
  if(x==7) {
    cout << "Yes" << endl;}
  else if(y>=70 && y<80) {
    cout << "Yes" << endl;}
  else if(z>=700 && z<800) {
    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() {
  vector<char> n(3);
  for(int i=0; i<3; i++){
    cin >> n.at(i);
  }
  for(int i=0; i<3; 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<bits/stdc++.h>
using namespace std;

main()
{int n;
 while(n>0)
 {
   if(n%10==7)
   {
     cout<<"Yes"<<endl;
     break;}
   else
   {
     n/=10;
 }
   cout<<"No"<<endl;
  
}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {int n;
      | ^
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;
typedef unsigned long long ull;
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;
//unsigned long long n = 0;
//	cin >> n;
//
//	//3,5,15の倍数を除けば良い
//
//	unsigned long sum = 0;
//	for (unsigned long long i = 0; i < n; i++)
//	{
//		if (i % 3 != 0 || i % 5 != 0)sum += i;
//	}
//	std::cout << sum << std::endl;


}

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(void) {
	char N[3];
	int flag = 0;
	for (int i = 0; i < 3; i++) {
		cin >> N[i];
		if (N[i] == '7') flag = 1;
	}
	
	if (flag) 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;

int main(){
  int N;
  int keta;
  bool ans=false;
  cin >> N;
  while(N>0){
    keta = N%10;
    if(keta==7){
      ans = true;
      break;
    }
    N=N/10;
  }
  if(ans){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
  return 0;
}


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

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

string s;

int main()
{
	cin >> s;
	for (int i = 0; i < 3; i++)
	{
		if (s[i] == '7')
		{
			cout << "Yes" << endl;
			exit(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;
#define ll long long int
#define pb push_back
#define eb emplace_back
#define precision(n) cout << fixed << setprecision(n);
#define fast {ios_base::sync_with_stdio(false);cin.tie(NULL);}
int main()
{
    fast;
    int f=0;
    string n;
    cin>>n;
    for(int i=0;i<n.size();i++)
    {
        if(n[i]=='7')
        {
            f=1;
        }
    }
    if(f==1)
    {
        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>
#define rep(i,n) for (ll i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using ull = long long unsigned;
using P = pair<int,int>;
const int INF=1001001001;
const int NMAX=8;
const int MOD=1000000007;
const int dbase=80*160;


int main(){
	string s;
	cin>>s;
	string ans="No";
	rep(i,s.size()){
		if (s[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<bits/stdc++.h>
using namespace std;
#define Fast ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define int long long
typedef vector<int>Vl;
typedef pair<int,int>pii;
typedef vector<pii>Vll;
typedef vector<pair<int,pii> >Vlll;
typedef priority_queue<int>PQL;
typedef map<int,int>M;
#define S second
#define F first
#define mp make_pair
#define ms(x,y) memset(x,y,sizeof(x))
#define pb push_back
#define sl(n) cin>>n
#define pl(n) cout<<n
const int mod=1e9+7;
const int sze=1e5+2;
const int inf= (int)(1e19+10LL);
void solve()
{
  int n;
  sl(n);
  string str=to_string(n);
  for(int i=0;i<3;i++){
	  if(str[i]=='7'){
		  cout<<"YES"<<endl;
		  return;
	  }
  }
  cout<<"NO"<<endl;

		
}
 
signed main(){
   int test=1;
   //sl(test);
   while(test--){
      solve();
 
   }
  return 0;
}


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

#include <bits/stdc++.h>
int main()
{
    using namespace std;
    int N, bits(0);
    cin >> N;
    while (N >= 10)
    {
        if (N % 10 == 7)
        {
            bits = 1;
        }
        N /= 10;
    }
    if (bits == 0)
    {
        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 <iostream>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <string>
#include <cmath>
using namespace std;
typedef long long ll;
const ll MOD = 1000000007;
int A[4005]={0};

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

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

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

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

#include <iostream>
using namespace std;

int main(){
 int N;
 cin >> N;
 
  bool flag = false;
  
  for (i=0;i<3;i++) {
    if (N%10==7) {
      flag = true;
      break;
    }
    N=N/10;
  }
  
  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 <iostream>
using namespace std;

#define ll long long
#define ull unsigned long long

#define min(a, b) ((a) > (b) ? (b) : (a))
#define max(a, b) ((a) > (b) ? (a) : (b))

bool isPalindrome(string s) {
    string t(s.rbegin(), s.rend());
    return s == t;
}

int main(void) {
    string a;
    cin >> a;
    if(a[0] == '7' || a[1] == '7' || a[2] == '7') puts("Yes");
    else puts("No");
    return 0;
}


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

#include<iostream>
#include <numeric>
// #include<string>
#include<vector>
#include <algorithm>
#include <cmath>
// #include <functional>

using namespace std;

int main()
{
    // Input
    string a;
    cin >> a;

    if (a[0] == "7" || a[1] == "7" || a[2] == "7") {
        cout << "Yes";
    } else {
        cout << "No";
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |     if (a[0] == "7" || a[1] == "7" || a[2] == "7") {
a.cc:17:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |     if (a[0] == "7" || a[1] == "7" || a[2] == "7") {
a.cc:17:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |     if (a[0] == "7" || a[1] == "7" || a[2] == "7") {
Language: C

#include <bits/stdc++.h>

using namespace std;

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


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

#include<iostream>
using namespace std;

int main(){
  long N;
  int a,b,c;
  cin >> N;
  a = N%10;
  c = N/100;
  b = (N%100)/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: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
import java.math.*;
import java.io.*;
public class Main{
	public static void main(String[] args){
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      	String str = br.readLine();
      	if(str.contains("7"))
    		System.out.println("Yes");
      	else
          	System.out.println("No");
    
    }

}

Compiler output:
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
      	String str = br.readLine();
      	                        ^
1 error
Language: C

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

int main(){
  string N;
  cin>> N;
  int ans =0;
  if (N.at(0) == '7'){
    ans =1;
  }
  if (N.at(1) == '7'){
    ans =1;
  }
  if (N.at(2) == '7'){
    ans =1;
  }
  if (ans == 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;
    cin >> N;
    Ans = "No";
    if(N%10 == 7)Ans = "Yes";
    N /= 10;
        if(N%10 == 7)Ans = "Yes";
    N /= 10;
        if(N%10 == 7)Ans = "Yes";

        cout >> Ans >> endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'Ans' was not declared in this scope
    8 |     Ans = "No";
      |     ^~~
Language: C

#include<cstdio>
#include<algorithm>
#include<stack>
#include<queue>
using namespace std;

int main(void){
        char a[10];
        scanf("%s",a);
        if(a[0]!='7' && a[1]!='7' && a[2]!='7'){
                printf("No\n");
        } else {
                printf("Yes\n");
        }
	return 0;

       
}



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

#include <stdio.h>

int main(void){
    char c=getchar();
    if(c=='7'){
        printf("YES\n");
        break;
    }
    else if(c=="EOF"){
        printf("NO");
        break;
    }
    else{
        c++;
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: break statement not within loop or switch
    7 |         break;
      |         ^~~~~
main.c:9:14: warning: comparison between pointer and integer
    9 |     else if(c=="EOF"){
      |              ^~
main.c:11:9: error: break statement not within loop or switch
   11 |         break;
      |         ^~~~~
Language: C

// atcoder/abc162/A/main.cpp
// author: @___Johniel
// github: https://github.com/johniel/

#include <bits/stdc++.h>

#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))

using namespace std;

template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "," << p.second << ")"; return os; }
template<typename P, typename Q> istream& operator >> (istream& is, pair<P, Q>& p) { is >> p.first >> p.second; return is; }
template<typename T> ostream& operator << (ostream& os, vector<T> v) { os << "("; for (auto& i: v) os << i << ","; os << ")"; return os; }
template<typename T> istream& operator >> (istream& is, vector<T>& v) { for (auto& i: v) is >> i; return is; }
template<typename T> ostream& operator << (ostream& os, set<T> s) { os << "#{"; for (auto& i: s) os << i << ","; os << "}"; return os; }
template<typename K, typename V> ostream& operator << (ostream& os, map<K, V> m) { os << "{"; for (auto& i: m) os << i << ","; os << "}"; return os; }

template<typename T> inline T setmax(T& a, T b) { return a = std::max(a, b); }
template<typename T> inline T setmin(T& a, T b) { return a = std::min(a, b); }

using lli = long long int;
using ull = unsigned long long;
using point = complex<double>;
using str = string;
template<typename T> using vec = vector<T>;

constexpr array<int, 8> di({0, 1, -1, 0, 1, -1, 1, -1});
constexpr array<int, 8> dj({1, 0, 0, -1, 1, -1, -1, 1});
constexpr lli mod = 1e9 + 7;

int main(int argc, char *argv[])
{
  std::ios_base::sync_with_stdio(0);
  std::cin.tie(0);
  std::cout.setf(std::ios_base::fixed);
  std::cout.precision(15);

  str s;
  while (cin >> s) {
    cout << (s[0] == '7' || s[1] == '7' || s[2] == '7' ? "Yes" : "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 <iostream>
#include<string>
#include<time.h>
#include<math.h>
#include<stdlib.h>
#include<map>
using namespace std;

int main() {
	int N;
	cin >> N;
	int a, b, c, d,e;
	a = N % 100;
	b = N % 10;
	c = a - b;
	d = N - a ;
	e = a - b;
	if (e == 70 || b == 7 || d== 700) 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() {
	char*N = new char[3];

	cin >> N;

	if (N[0] == '7' || N[1] == '7' || N[2] == '7') {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}

	return 0;
}

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

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

using namespace std;

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


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

#include<bits/stdc++.h>

using namespace std;

int main(){
  string N;
  cin >> N;
  string answer = "No" ;
  
  if(N.at(0) == '7' || N.at(1) == '7' || N.at(2) == '7'){
    answer = "Yes";
  }
  
  cout << answer << 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>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;

const int INF = 1001001001;

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

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

Compiler output:
main.c:1: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%10 == 7) {
    cout << "Yes" << endl;
  }
  else if (N/100 == 7) {
    cout << "Yes" << endl;
  }
  else if ((N/10)%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<algorithm>
#include<iostream>
#include<iomanip>
#include<cstring>
#include<cstdlib>
#include<utility>
#include<string>
#include<cstdio>
#include<vector>
#include<bitset>
#include<cmath>
#include<ctime>
#include<queue>
#include<deque>
#include<stack>
#include<map>
#include<set>
using namespace std;
const int inf=2147483647,dx[]={-1,0,1,0},dy[]={0,-1,0,1};// 上 左 下 右
const int N=100005,M=1000005,K=200005,mod=1000000007;
const long long llinf=9223372036854775807ll;
//int & long long
char a,b,c;
int main(){
	cin>>a>>b>>c;
	if(a=='7'||b=='7'||c=='7')
		cout<<"Yes";
	else
		cout<<"No";
	return 0;
}

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

#include <bits/stdc++.h>

using namespace std;

#define FOR(i,a,b) for(int i=a;i<=b;i++)

int main()
{
  	string s;
    cin >> s;
    FOR(i,0,s.length()-1)
      if (s[i]=='7') {cout << "Yes";exit(0);}
    cout << "No";
}

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

#include<bits/stdc++.h>
#define ll long long
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define pii pair<int,int>
#define pll pair<ll,ll>
#define vii vector<pii>
#define vll vector<pll>
#define all(v) v.begin(),v.end()
#define mem(v,x) memset(v,x,sizeof(v))
#define N 100005
 
using namespace std;
 
int main(){
	ios_base::sync_with_stdio(0);
	cin.tie(NULL);
    string n;
    cin>>n;
    if(n[0]=='7'||n[1]=='7'||n[2]=='7'){
        cout<<"Yes";
    }
    else
        cout<<"No";
	return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:27:18: error: expected '}' at end of input
   27 |         return 0;
      |                  ^
a.cc:17:11: note: to match this '{'
   17 | int main(){
      |           ^
Language: C

#include<iostream>

using namespace std;
int main() {
	string n;
	cin >> n;

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

	}

	cout << "No" << endl;

	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() {

	char* N = new char[3];
	cin >> N;

	if (N[0] == '7' || N[1] == '7' || N[2] == '7') {
		cout << "Yes" << endl;
		return 0;
	}

	cout << "No" << endl;

	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string S="787";
  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: Java

import java.util.*; 
import java.lang.*; 

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

		String N = scan.next();

		for (int i = 0; i <= 2; i++){
			char N = str.charAt(i);
			if(N=='7'){
				System.out.println("Yes");
				System.exit(0);
			}
		}
		
		System.out.println("No");
	}
}

Compiler output:
Main.java:11: error: variable N is already defined in method main(String[])
			char N = str.charAt(i);
			     ^
Main.java:11: error: cannot find symbol
			char N = str.charAt(i);
			         ^
  symbol:   variable str
  location: class Main
2 errors
Language: C

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

int main(){
    cin >> N;
    int count=0;
    for(int i=0;i<N.length();i++)
        if(N[i] == '7'){
            count++;
        }
    if(count == 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()
{
	ios_base::sync_with_stdio(false);	
	cin.tie(NULL);
	string s="";
	cin>>s;
	int flag=1;
	for(int i=0;i<s.length();++i)
	{
		if(s[i]=='7')
		{
		flag=1;
		break;
		}
	}
	if(flag==1)
	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

a=str(input())
if '7' in a:
    print("Yes")
else:
    print("No")

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:3: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | a=str(input())
      |   ^~~
main.c:1:7: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a=str(input())
      |       ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | a=str(input())
      |   ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if '7' in a:
      | ^~
Language: C

#include <bits/stdc++.h>
#include<vector>
using namespace std;
#define rep(i, n)        for(int i=0; i<(int)(n); ++i)
int main() {
  string a;
  cin>>a;
  rep(i,a.size()){
    if(a[i]=='7'){
      cout<<"Yes";
      return 0;
    }
  }
  cout<<"No";
}


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

clude<bits/stdc++.h>
using namespace std;
#define Endl '\n'
typedef long long int lli;
typedef pair<int, int> ii;
void solve();
int main(int argc, char const *argv[]){
 	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
  solve();
}
void solve(){
  int n;
  cin>>n;
  if(n%10 == 7 || n%100 == 7 ||n%1000 == 7){
    cout<<"YES"<<Endl;
  }else{
    cout<<"NO"<<Endl;
  }
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<bits/stdc++.h>
      | ^~~~~
a.cc:5:9: error: 'pair' does not name a type
    5 | typedef pair<int, int> ii;
      |         ^~~~
a.cc: In function 'int main(int, const char**)':
a.cc:8:9: error: 'ios_base' has not been declared
    8 |         ios_base::sync_with_stdio(false);
      |         ^~~~~~~~
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin.tie(NULL);
      |         ^~~
a.cc:9:17: error: 'NULL' was not declared in this scope
    9 |         cin.tie(NULL);
      |                 ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | clude<bits/stdc++.h>
a.cc: In function 'void solve()':
a.cc:14:3: error: 'cin' was not declared in this scope
   14 |   cin>>n;
      |   ^~~
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout<<"YES"<<Endl;
      |     ^~~~
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<"NO"<<Endl;
      |     ^~~~
Language: C

#include <iostream>
using namespace std;
/*void fast(){
cin.tie(0);
cin.sync_with_stdio(0);
}*/
int main()
{
    //fast();
    int n;
    cin>>n;
   for(int i=0;i<7;i++)
   {
       if (n%10==7){cout<<"YES";return 0;}
       n/=10;
   }
   cout<<"NO";
return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> P;

int main() {
  int n;
  cin >> n;
  string x = to_string(n);
  for (int i = 0; i < x.size(); i++) {
    if (x.at(i) == '7') {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  
}

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

#include <bits/stdc++.h>
#define all(v) (v).begin(), (v).end()
#define INF 1e9
#define pb push_back
using namespace std;
typedef long long ll;
using pii = pair<ll, ll>;

int main() {
    string S;
    cin >> S;
    if(S.find("7") == string::npos) {
        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

//****************************//
/**********  main *************/
//****************************//
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <iomanip>
 
using namespace std;
typedef long long ll;
 
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define REP(i,n) for(i=0;i<n;i++)
#define FOR(i,a,b) for(i=a;i<b;i++)
#define ALL(x) (x).begin(),(x).end()
#define SIZE(x) ((ll)(x).size())


int main() {

	std::cin.tie(0);

    string n;
    cin >> n ;
    int tmp;

    // string str = std::to_string(n);

    tmp = n.find("7");

    ( tmp>=0 && tmp < 3) ? (cout << "Yes" << endl) : cout << "No" << endl;

    // if(n[0]==7 || n[1]==7 || n[2]==7 ) {
    //     cout << "Yes" << endl;
    //     return 0;
    // }

    // cout << "No" << endl;

    return 0;
}

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

#include <bits/stdc++.h>

#define endl '\n'

using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    string number;
    cin >> number;
    if(number.find("7") != string::npos)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
    return 0;
}

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

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

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



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

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

    int n;
    cin>>n;

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

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

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


int main(){
    string n;
	cin >> n;
	if (s.find("7") != std::string::npos) {
          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

s=input()
flag = 0
for i in range(len(s)):
	if s[i]=='7':
		flag=1

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s=input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1: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 'flag'
    2 | flag = 0
      | ^~~~
main.c:8:15: warning: multi-character character constant [-Wmultichar]
    8 |         print('Yes')
      |               ^~~~~
main.c:10:15: warning: multi-character character constant [-Wmultichar]
   10 |         print('No')
      |               ^~~~
Language: C

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

int main()
{
  string number;
  bool judge = false;

  cin >> number;

  int n = number.length();

  for (int i = 0; i < n; i++)
  {
    if (number[i] == '7')
    {
      judge = true;
    }
  }

  if (judge)
  {
    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() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	string s;
	cin >> s;
	bool flag = 0;
	for (int i = 0; i < 3; i++) {
		if (s[i] == '7') {
			flag = 1;
			break;
		}
	}
	if (flag) cout << "Yes\n";
	else cout << "No\n";
	return 0;
}

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

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

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

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

n=int(input())

if n//100==7:
  print("Yes")
  exit()
if (n%100)//10==7:
  print("Yes")
  exit()
if n%10==7:
  print("Yes")
  exit()
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:3: error: expected expression before 'int'
    1 | n=int(input())
      |   ^~~
Language: C

//#include<bits\stdc++.h>
#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstring>
#include<string>
#include<ctime>
#include<cmath>
#include<cctype>
#include<cstdlib>
#include<queue>
#include<deque>
#include<stack>
#include<vector>
#include<algorithm>
#include<utility>
#include<bitset>
#include<set>
#include<map>
#define ll long long
#define db double
#define INF 1000000000
#define ldb long double
#define pb push_back
#define get(x) x=read()
#define gt(x) scanf("%d",&x)
#define put(x) printf("%d\n",x)
#define putl(x) printf("%lld\n",x)
#define gc(a) scanf("%s",a+1)
#define rep(p,n,i) for(RE ll i=p;i<=n;++i)
#define go(x) for(ll i=lin[x],tn=ver[i];i;tn=ver[i=nex[i]])
#define fep(n,p,i) for(RE ll i=n;i>=p;--i)
#define pii pair<ll,ll> 
#define mk make_pair
#define RE register
#define P 1000000007
#define S second
#define gf(x) scanf("%lf",&x)
#define pf(x) ((x)*(x))
#define ull unsigned long long
#define mod 998244353
using namespace std;
char buf[1<<15],*fs,*ft;
inline char getc()
{
    return (fs==ft&&(ft=(fs=buf)+fread(buf,1,1<<15,stdin),fs==ft))?0:*fs++;
}
inline ll read()
{
    register ll x=0,f=1;register char ch=getc();
    while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getc();}
    while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getc();}
    return x*f;
}
const ll MAXN=200010;
ll n,ans,top;
ll f[MAXN],g[MAXN],s[MAXN];
struct wy
{
	ll x,y;
	inline ll friend operator <(wy a,wy b){return a.x<b.x;}
}t[MAXN];
int main()
{
	//freopen("1.in","r",stdin);
	get(n);
	while(n)
	{
		if(n%10==7){puts("Yes");return 0;}
		n=n/10;
	}
	puts("No");
	return 0;
}


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

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

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

    if (N / 100 == 7) {
        cout << "Yes" << endl;
        return 0;
    }

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

    if (N % 10 == 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>
#include<vector>
#include<string>
#include<sstream>
#include<chrono>
#include<algorithm>
#include<functional>
#include<cstdlib>
#include<queue>
#include<stack>
using namespace std;
typedef unsigned long long ull;
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;
//unsigned long long n = 0;
//	cin >> n;
//
//	//3,5,15の倍数を除けば良い
//
//	unsigned long sum = 0;
//	for (unsigned long long i = 0; i < n; i++)
//	{
//		if (i % 3 != 0 || i % 5 != 0)sum += i;
//	}
//	std::cout << sum << std::endl;


}

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

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

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