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

#include <bits/stdc++.h>
using namespace std;
int gcd(int x,int y){
    if(x>y)swap(x,y);
    for(int i=x; i >= 1; i--){
        if(i == 1)return 1;
        else if( x % i  == 0 && y % i == 0)return i;
        //最大公約数、lcm = x*y/gcd 僕のVSCではgcd関数が使えませんでした(泣)だれか教えてください。
    }
}


int main(){ 
    string n;
    cin >> n;
    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<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<cmath>
typedef long long  ll;
typedef long double lb;
using namespace std;
int main() {
       	int a;
 		 cin >> a;
        if (a%10== '7') cout << "Yes";
        else if ((a/10)%10 == '7')cout << "Yes";
        else if (a/100 == '7')cout << "Yes";
        else cout << "No";
    }


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

//Bismillahir Rahmanir Rahim
#include<bits/stdc++.h>
using namespace std;
int main(){

           char st[4];
           gets(st);
           int k=0;
           for(int i=0;st[i]!='\0';i++){

            if(st[i]=='7'){
                k=k+1;
            }
            else{

                k=k+0;

            }

           }
          if(k==0){
            cout<<"No";
          }
          else{
            cout<<"Yes";
          }



}





Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'gets' was not declared in this scope; did you mean 'getw'?
    7 |            gets(st);
      |            ^~~~
      |            getw
Language: C

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

int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	int n;
	cin>>n;
	
	int g,s,b;
	g=n%10;
	s=n/10%10;
	b=n/100;
	
	if(g==7 || s==7 || b==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;
  
  int a = N / 100;
  int b = (N / 10) % 10;
  int c = N % 10;
  
  if( a == 7 || b == 7 || c ==7) {
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc:3:1: error: extended character   is not valid in an identifier
    3 |  
      | ^
a.cc:3:1: error: '\U000000a0' does not name a type
    3 |  
      | ^
Language: C

#include <bits/stdc++.h> 
  
using namespace std; 
int main() 
{ 
    string s;
    cin>>s;
  
    int n = s.length(); 
   
    char arr[n + 1]; 
  
    strcpy(arr, s.c_str()); 
  
    for (int i = 0; i < n; i++) {
    	if(arr[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;

int main() {
  string s;
  bool flag = false;
  cin >> s;
  
  for(int i = 0; i < s.size(); i++){
    if(s.at(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

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

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


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

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

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


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

#include <bits/stdc++.h>
using namespace std;
 
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

//Author: Fuadul Hasan(fuadul202@gmail.com)
//BSMRSTU,Gopalganj
#include<bits/stdc++.h>
using namespace std;int tc = 1;
#define happy ios::sync_with_stdio(false);
#define coding  cin.tie(0);
#define pb  push_back
#define mp make_pair
#define ll long long
#define pr pair<int, int> 
#define vpr vector<pr> 
#define vi std::vector<int>
#define vll std::vector<ll>
#define all(n) n.begin(),n.end()
#define Test printf("Case %d: ",tc++);
#define YES printf("YES\n");
#define NO printf("NO\n");
#define Yes printf("Yes\n");
#define No printf("No\n");
const int mod = 1e9 + 7;
const ll  Inf = (ll)2e18 + 5;
const int N   = 2e5 + 5;

int solve() 
{
	//happy coding

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

	return 0;
}
int main(){
	int test = 1;
	//scanf("%d", &test);
	while (test--)solve();return 0;
}

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

#include <algorithm>
#include <cstdio>
#include <utility>
#include <vector>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  if (n / 100 == 7 || n / 10 % 10 == 7 || n % 10 == 7) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
}

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

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

int main(){
  int 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:
a.cc: In function 'int main()':
a.cc:7:8: error: request for member 'at' in 's', which is of non-class type 'int'
    7 |   if(s.at(0) == 7 || s.at(1) == 7 || s.at(2) == 7){
      |        ^~
a.cc:7:24: error: request for member 'at' in 's', which is of non-class type 'int'
    7 |   if(s.at(0) == 7 || s.at(1) == 7 || s.at(2) == 7){
      |                        ^~
a.cc:7:40: error: request for member 'at' in 's', which is of non-class type 'int'
    7 |   if(s.at(0) == 7 || s.at(1) == 7 || s.at(2) == 7){
      |                                        ^~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
string s=to_string(n);
  for(auto c:s)
    if(c=='7'){
      cout<<"Yes";
      return 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>
using namespace std;
int main(void){
    int a,b,c,d;
    cin>>a;
    b=a/100;
    c=(a-b*100)/10;
    d=(a-b*100-c*10);
    
    if(b==7||c==7||d==7){
        cout<<"Yes";
    }
    else{
        cout<<"No";
    }
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:22: error: 'n' was not declared in this scope
    5 |         vector<int>a(n);
      |                      ^
a.cc:8:7: error: no match for call to '(std::vector<int>) (int&)'
    8 |   if(a(i) == 7) s={"Yes"};
      |      ~^~~
Language: C

#include "iostream"
#include "climits"
#include "list"
#include "queue"
#include "stack"
#include "set"
#include "functional"
#include "algorithm"
#include "string"
#include "map"
#include "unordered_map"
#include "unordered_set"
#include "iomanip"
#include "cmath"
#include "random"
#include "bitset"
#include "cstdio"
#include "numeric"
#include "cassert"
#include "ctime"

using namespace std;

constexpr long long int MOD = 1000000007;
//constexpr int MOD = 1000000007;
//constexpr int MOD = 998244353;
//constexpr long long int MOD = 998244353;
constexpr long double EPS = 1e-8;

long long int N, M, K, L, R, H, W;
//int N, M, K, L, R, H, W;


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

	string s;
	cin >> s;
	if (s.find('7') == s.npos) cout << "No\n";
	else cout << "Yes\n";
}

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

#define _GLIBCXX_DEBUG
#include <iostream>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define dunk(n) cout << n << endl
#define all(a) (a).begin(),(a).end()
int main() {
    string n;
    cin >> n;
    if(n[0] == 7 || n[1] == 7 || n[2] == 7) dunk("Yes");
    else dunk("No");
    return 0;
}

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

    /* C++14 (Clang 3.8.0) for AtCoder */
     
    #include <iostream>
    #include <vector>
    #include <string>
    // #include <cmath>
    // #include <math.h>
    // #include <map>
    // #include <algorithm>
     
    namespace AtCoder {
    	using Str = std::vector<std::string>;
    	using Num = std::vector<int>;
    	using BigNum = std::vector<long long>;
     
    	class InputData {
    	public:
    		void getInput(void);
    		void skipInput(void);
    		Str getStr(void);
    		Num getNum(void);
    		BigNum getBigNum(void);
    	private:
    		Str str;
    		Num num;
    		BigNum bNum;
    	};
    	Str AtCoder::InputData::getStr(void) {
    		return this->str;
    	}
    	Num AtCoder::InputData::getNum(void) {
    		return this->num;
    	}
    	BigNum AtCoder::InputData::getBigNum(void) {
    		return this->bNum;
    	}
    	void AtCoder::InputData::skipInput(void) {
    		std::string buf = "";
    		std::getline(std::cin, buf);
    	}
    	void AtCoder::InputData::getInput(void) {
    		this->str.clear();
    		this->num.clear();
    		this->bNum.clear();
     
    		std::string buf = "", row = "";
    		std::getline(std::cin, buf);
    		for (unsigned int i = 0; i < buf.size(); i++) {
    			if (' ' == buf[i]) {
    				this->str.push_back(row);
    				this->num.push_back(std::atoi(row.c_str()));
    				this->bNum.push_back(std::atoll(row.c_str()));
    				row = "";
    			} else {
    				row += buf[i];
    			}
    		}
    		this->str.push_back(row);
    		this->num.push_back(std::atoi(row.c_str()));
    		this->bNum.push_back(std::atoll(row.c_str()));
    	}
     
    	class Ans {
    	public:
    		void showResult(void);
    		void increment(void);
    		void increment(long long);
    		void decrement(void);
    		void decrement(long long);
    		long long getResult(void);
    	private:
    		long long result;
    	};
    	void Ans::showResult(void) {
    		printf("%lld\n", this->result);
    	}
    	void AtCoder::Ans::increment(void) {
    		this->result++;
    	}
    	void AtCoder::Ans::increment(long long value) {
    		this->result += value;
    	}
    	void AtCoder::Ans::decrement(void) {
    		this->result--;
    	}
    	void AtCoder::Ans::decrement(long long value) {
    		this->result -= value;
    	}
    	long long AtCoder::Ans::getResult(void) {
    		return this->result;
    	}
     
    	void exp(std::string* str,  Str* newStr) {
    		std::string pre = *str;
    		newStr->clear();
    		for (unsigned int i = 0; i < pre.length(); i++) {
    			newStr->push_back(pre.substr(i, 1));
    		}
    	}
    }
     
    int main(void) {
     
    	AtCoder::InputData* data = new AtCoder::InputData();
    	data->getInput();
     
    	AtCoder::Str str = data->getStr();
     
    	AtCoder::exp(&str[0], &str);
    	
    	if ("7" == str[0] ||
    		"7" == str[1] ||
    		"7" == str[2]) {
    		printf("Yes\n");
    	} else {
    		printf("No\n");
    	}
     
    	delete(data);
     
    	return 0;
    }

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

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


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

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

int main(){
  int a,k=0;
  cin >> a;
  for(int i=0;i<a.size();i++){
    if(a.at(i)==7){
      k++
    }
  }
  if(k=0){
    cout <<"No";
  }
  else{
    cout <<"Yes"
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: request for member 'size' in 'a', which is of non-class type 'int'
    8 |   for(int i=0;i<a.size();i++){
      |                   ^~~~
a.cc:9:10: error: request for member 'at' in 'a', which is of non-class type 'int'
    9 |     if(a.at(i)==7){
      |          ^~
a.cc:10:10: error: expected ';' before '}' token
   10 |       k++
      |          ^
      |          ;
   11 |     }
      |     ~     
a.cc:17:17: error: expected ';' before '}' token
   17 |     cout <<"Yes"
      |                 ^
      |                 ;
   18 |   }
      |   ~
Language: C

#include <iostream>

using namespace std;

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

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

#include<bits/stdc++.h>

using namespace std;

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

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

#include<bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int,int> P;
typedef long long ll;
#define rep(i,a,n) for(int i=a;i<n;i++)
#define rrep(i,n,a) for(int i=n;i>=a;i--)
#define FOR(i,n) for(int i=0;i<n;i++)
#define all(s) s.begin(),s.end()
#define lla(s) s.rbegin(),s.rend()
#define pcnt(b) __builtin_popcount(b)
#define vi vector<int>
#define vvi vector<vector<int>>
const int MOD = 1e9 + 7;
//const int MOD = 998244353;
const ll INF = 1e18;


signed main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    string n;
    cin>>n;
    rep(i,0,3){
        if(n[i]=='7'){
            cout<<"Yes"<<endl;return 0;
        }
    }
    cout<<"No"<<endl;return 0;
}

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

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

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

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

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

int main(){
long int N,i,j;
cin >> N;
for(i=0;i<=N;i++){
if(i%3==0 || i%5==0)sum=sum;
else sum += i;
}
cout << sum <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'sum' was not declared in this scope
    8 | if(i%3==0 || i%5==0)sum=sum;
      |                     ^~~
a.cc:9:6: error: 'sum' was not declared in this scope
    9 | else sum += i;
      |      ^~~
a.cc:11:9: error: 'sum' was not declared in this scope
   11 | cout << sum <<endl;
      |         ^~~
Language: C

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

#define ll long long
#define INF 99999999
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()



int main()
{
    int A;

    cin >> A;

    rep(i, 3)
    {
        if( A / 100 == 7 )
        {
            cout << "Yes" << endl;
            return 0;
        }
        else if ( A % 100 / 10 == 7 )
        {
            cout << "Yes" << endl;
            return 0;
        }
        else if ( A % 10 == 7 )
        {
            cout << "Yes" << endl;
            return 0;
        }
        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

// Author: Mrigank
// Science is what we understand well enough to explain to a computer, Art is everything else we do - Donald E. Knuth
#include <bits/stdc++.h>
#include <iostream>
#include <unordered_map>
#include <map>
#include <queue>
#include <stack>
#include <unordered_set>
#include <set>
#include <string> 
#include <vector>
#include <algorithm>
#include <numeric>

using namespace std;

typedef long long int ll;
typedef long double ld;
typedef pair<ll, int> PLI;
typedef pair<int, int> PII;
typedef vector < ll > vl;
typedef vector < int > vi;
typedef vector < bool > vb;
typedef vector < pair < ll , ll > > vpl;
typedef vector < pair < ll , bool > > vpb;
typedef vector < vector < int > > vvi;
typedef vector < vector < ll > > vvl;


#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;i<n;i++)
#define pi pair < ll , ll >
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define clr(x , val) memset(x , val , sizeof(x))
#define deb1(x) cout << x << endl
#define deb2(x , y) cout << x << " " << y << endl
#define deb3(x , y , z) cout << x << " " << y << " " << z << endl
#define all(x) x.begin() , x.end()
#define alls(x , y) x.begin() , x.end() , y
#define fastIO                                                                 \
  ios_base::sync_with_stdio(false);                                            \
  cin.tie(NULL);                                                               \
  cout.tie(NULL);


const ll mxsize = 5e6 + 5;
const ll linf = 1e9;
const ld inf = 10000000000.0;
const ll mod = 1e9 + 7;
 
/******************************************** CODE STARTS FROM HERE *************************************************/ 

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

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

#include <bits/stdc++.h>
using namespace std;
void init(){
    cin.tie(0);
    cin.sync_with_stdio(0);
}
 
int main() {
    init();
    string s;
 cin>>s;
 if(s[0]=='7'||s[1]=='7'||s[2]=='7'){
    cout<<"Yes";
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:14:3: error: expected '}' at end of input
   14 |  }
      |   ^
a.cc:8:12: note: to match this '{'
    8 | int main() {
      |            ^
Language: C

/**
 * code generated by JHelper
 * More info: https://github.com/AlexeyDmitriev/JHelper
 * @author aajisaka
 */

#include<bits/stdc++.h>

using namespace std;

void debug_out() { cerr << endl; }
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << to_string(H);
  debug_out(T...);
}
#ifdef LOCAL
#define debug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define debug(...) 42
#endif

#define SPEED ios_base::sync_with_stdio(false);cin.tie(nullptr)
#define rep(i,n) for(int i=0; i<(int)(n); i++)
#define all(v) v.begin(), v.end()
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; }

using ll = long long;
using P = pair<ll, ll>;

constexpr long double PI = 3.14159265358979323846264338327950288L;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());

class ALucky7 {
public:
    void solve(istream& cin, ostream& cout) {
      SPEED;
      string s; cin >> s;
      rep(i, 3) {
        if (s[i] == '7') {
          cout << "Yes" << endl;
          return;
        }
      }
      cout << "No" << endl;
    }
};

signed main() {
  ALucky7 solver;
  std::istream& in(std::cin);
  std::ostream& out(std::cout);
  solver.solve(in, out);
  return 0;
}

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

#include<iostream>
using namespace std;
int main()
{
    string N;
    cin >> N;
    for(int i = 0; i < (int)N.size(); ++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 <bits/stdc++.h>
using namespace std;

int main() {
  int N, a, b, c, d;
  cin >> N;
  N / 100 == a;
  N - 100 * a == b;
  b / 10 == c;
  b - 10 * c == d;
  
  if(a == 7 || c == 7 || d == 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<stdio.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
 
int main() {
  string s;
  cin >> s;
  if(s[0] == '7' || s[1] == '7' || s[2] == '7'){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
 
  return 0;
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
main.c:4:1: error: unknown type name 'using'
    4 | using ll = long long;
      | ^~~~~
main.c:4:12: error: expected expression before 'long'
    4 | using ll = long long;
      |            ^~~~
main.c:5:1: error: unknown type name 'using'
    5 | using P = pair<int, int>;
      | ^~~~~
main.c:5:11: error: 'pair' undeclared here (not in a function)
    5 | using P = pair<int, int>;
      |           ^~~~
main.c:5:16: error: expected expression before 'int'
    5 | using P = pair<int, int>;
      |                ^~~
main.c: In function 'main':
main.c:8:3: error: unknown type name 'string'; did you mean 'stdin'?
    8 |   string s;
      |   ^~~~~~
      |   stdin
main.c:9:3: error: 'cin' undeclared (first use in this function)
    9 |   cin >> s;
      |   ^~~
main.c:9:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:7: error: subscripted value is neither array nor pointer nor vector
   10 |   if(s[0] == '7' || s[1] == '7' || s[2] == '7'){
      |       ^
main.c:10:22: error: subscripted value is neither array nor pointer nor vector
   10 |   if(s[0] == '7' || s[1] == '7' || s[2] == '7'){
      |                      ^
main.c:10:37: error: subscripted value is neither array nor pointer nor vector
   10 |   if(s[0] == '7' || s[1] == '7' || s[2] == '7'){
      |                                     ^
main.c:11:5: error: 'cout' undeclared (first use in this function)
   11 |     cout << "Yes" << endl;
      |     ^~~~
main.c:11:22: error: 'endl' undeclared (first use in this function)
   11 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C

/* abc161e
 两个程序，sample4 上手算，拍照，发qq群里
homework1
然后
homework2
.。。
11
4 1 3 3 7 8 7 9 10 7 11
3 5 0 -2 5 3 6 7 8 2 4
3
3 7 10
五个程序，在sample1上手算
手算并且会写。
写对AC*/
#include<bits/stdc++.h>
#define fo(i,a,b) for(int i=(a);i<(b);i++)
#define qi queue<int>
#define vi vector<int>
#define ll long long
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define pii pair<int,int>
#define mp make_pair
#define all(a) (a).begin(),(a).end()
#define fi first
#define se second 
#define prq priority_queue
#define foreach(it,c) for(__typeof((c).begin()) it=c.begin();it!=c.end();it++)
//#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0)
using namespace std;
inline ll read(){
	ll x=0;
	int f=1;
	char c=getchar();
	for(;!isdigit(c);c=getchar()) if(c=='-')f=-f;
	for(;isdigit(c);c=getchar())x=x*10+(c-'0');
	return x*f;
}
inline void out(int x){
	if(x>=10)out(x/10);
	putchar(x%10+'0');
}
int main(){
	//freopen("a.in","r",stdin);
	//freopen("a.out","w",stdout);
	string s;
	cin>>s;
	if(s[0]=='7'||s[1]=='7'||s[2]=='7')cout<<"Yes\n";
	else cout<<"No\n";
	return 0;
}

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

#include <fstream>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <cmath>
using namespace std;


int main() {

    cin.tie(0);
    ios::sync_with_stdio(false);
 
    int n, tmp1, tmp2;
    cin >> n;
    string ans="No";
    tmp1 = n % 10;
    tmp2 = n % 100;

    if (n / 100 == 7){
      ans = "Yes";
    }

    if (tmp2 / 10 == 7){
      ans = "Yes";
    }

    if (tmp1 / 10 == 7){
      ans = "Yes";
    }

    cout << ans;    
}


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

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

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

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

#include<<bits/stdc++.h>>
using namespace std;
int main(){
  string str = N;
  cin >> N ;
  bool b = false;
  for(int i = 0; i < 3 ; i++){
    if (str.at(i) == "7"){
      b = true;
    }
    if(b) break;
    
  }
  if(b){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc:1:25: warning: extra tokens at end of #include directive
    1 | #include<<bits/stdc++.h>>
      |                         ^
a.cc:1:9: fatal error: <bits/stdc++.h: No such file or directory
    1 | #include<<bits/stdc++.h>>
      |         ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
using namespace std;

int main() {
	int n;
	cin >> n;
	bool r = false;

	for(int i=0; i<3; i++) {
		if(n % 10 == 7) {
			r = true;
			break;
		}
		n /= 10;
	}

	if(r) {
		cout << "Yes" << '\n';
	} else {
		cout << "No" << '\n';
	}

    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,c=0;
    cin>>n;
    while(n>0)
    {
        int sum=n%10;
        n/=10;
        if(sum==7)
        {
            c=1;break;
        }

    }
    if(c==1)
    {
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl;
}


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

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

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

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

// #include <bits/stdc++.h>
#include <iostream>
#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;
  int len = N.size();
  bool can = false;
  for (int i =0; i < len; i++) {
    if (N.at(i) == '7') {
      can = true;
      break;
    }
  }
  if (can)
    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

//lucky7

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

int main ()
{
	//整数の入力
	int N;
	cin >> N;
	
	int a,b,c
	N = a*100 + b*10 +c

	//出力
	if((a%7 != 0) && (b%7 != 0) && (c%7 != 0)){
		cout << "Yes" << endl;
	}else{
		cout << "No" << endl;
	}

	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int num;
  cin >> num;
  
 
  int count = 0;
  for (int i = 0; i <3; i++){
  if (num.at(i)=7){
  count++;
  }
  }
  if (count > 0){
  cout << "Yes" << endl;
  }
  else {
  cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: request for member 'at' in 'num', which is of non-class type 'int'
   11 |   if (num.at(i)=7){
      |           ^~
Language: C

#include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define fr first
#define sc second
#define clr(a) memset(a, 0, sizeof(a))
#define sz(x) x.size()
#define printarray(arr) for (auto it = arr.begin(); it != arr.end(); ++it) cout<<*it<<" "; cout<<endl;
#define rep(n) for (ll i = 0; i < n; i++)
#define repc(i, n) for (ll i = 0; i < n; i++)
#define FOR(i, x, y) for (int i = x; i < y; i++)
#define DEC(i, x, y) for (int i = x; i >= y; i--)
#define all(v) v.begin(), v.end()
#define min3(a, b, c) min(a, min(b, c))
#define max3(a, b, c) max(a, max(b, c))
#define alla(a, n) a, a + n
#define gcd(a, b) __gcd(a, b)
#define lcm(a, b) (a * b)/gcd(a, b)
#define int long long int
#define ull unsigned long long

using namespace std;
const int MOD = 1e9 + 7;
const int MAXN = 1e5 + 5;

int fastexpo(int b, int exp){
    if(exp == 0) return 1;
    if(exp == 1) return b;
    int ans = (fastexpo(b,exp/2) % MOD);
    ans *= ans;
    ans %= MOD;
    if(exp % 2 == 1){
        ans *= b;
    }
    ans %= MOD;
    return ans;
}

signed main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
   
    string s;
    cin>>s;
    for(char c: s){
    	if(c == '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;

int main(){
	int n,k;
	cin>>n;
	
	while(n!=0){
		k=n%10;
		if(k==7)
		{
			cout<<"Yes"<<endl;
			return 0;
		}	
		else
			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>
using namespace std;

int main() {
  int a , b , c;
  cin >> a , b , c;
  if (a == 7) {
    cout << "YES" << endl;
  }
  else if (b == 7) {
    cout << "YES" << endl;
  }
  else if (c == 7) {
    cout << "YES" << endl;
  }
  else {
    cout << "NO" << endl;
  }
}
    


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

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

int main()
{
    string n;
    cin >> n;
    if (n[0] == '7')
    {
        cout << "Yes" << endl;
    }
    else if (n[1] == '7')
    {
        cout << "Yes" << endl;
    }
    else if (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;
typedef long long ll;
int main(void)
{
  string s;
  cin >> s;
  if(s[0] == '7') cout << "Yes\n";
  else if(s[1] == '7') cout << "Yes\n";
  else if(s[2] == '7') cout << "Yes\n";
  else cout << "No\n";
  return 0;
}


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

#include<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<iostream.h>
#include<conio.h>
void main()
{
  int N;
  cout<<"enter no. between 100 and 999";
  cin>>N;
  
  while(N>0)
  {
    if (N%10==7)
      cout<<"yes";
    N/=10;
  }
  
  cout<<"no";
  getch();
}

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

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

int main() {
  string N;
  cin >> N;
  if(N.at(0) != '7' && N.at(1) != '7' && N.at(2) != '7') cout << "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<cstdio>
#include<queue>
#include<vector>
#include<string.h>
#include<algorithm>
#include <cmath>

using namespace std;

char S[10];

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

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

import java.util.*;
public class AtCoder162 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        boolean isExists = false;
        while(a > 0) {
            if(a%10 == 7) {
                isExists = true;
                break;
            }
            a = a/10;
        }
        if(isExists) {
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }
    }
}

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

#include <bits/stdc++.h>
using namespace std;
typedef long long 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;}
const ll INF = 1LL<<60;
const ll M = pow(10,9)+7;
/*template*/

int main()
{
  ll n;cin>>n;
  ll a=n%10;
  n=n/10;
  ll b=n%10;
  n=n/10;
  ll c=n;
  string ans= a==7 || b==7 || c==7 ? "Yes":"No";
  cout<<ans<<endl;
  return 0;
}


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

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

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

  if (N.find("7") != -1) {
    cout << "Yes";
  } else {
    cout << "No";
  }

  return 0;
}

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

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


int main(){
  string N;
  cin >> N;
  cout << (find(N.begin(), N.end(), '7')!=N.end()?"Yes":"No") << endl;
  return 0;
}


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

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
str N;
cin >> N;
  
if(str.at(0)=="7"){
  cout << "yes" <<endl;
}
  
else if(str.at(1)=="7"){
  cout << "yes" <<endl;
}
  
else if(str.at(2)=="7"){
  cout << "yes" <<endl;
}
  
else{
  cout << "No" << endl;
}
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'str' was not declared in this scope; did you mean 'std'?
    5 | str N;
      | ^~~
      | std
a.cc:6:8: error: 'N' was not declared in this scope
    6 | cin >> N;
      |        ^
Language: C

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int N;
int A;
int B;
int C;
	cin >> N; 
A=N/100;
B=N/10-10*A;
C=N-(100*A+10*B);
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++

/*
                        Author: Ankit Kaul
**********************Code Belongs to Respective Author Only************************************
*/
/*#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")*/
#include <bits/stdc++.h>
#define endl       '\n'
#define PI          3.141592653589
#define jaldi       ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define M           1000000007
#define int         long long int
#define pb          emplace_back
#define pf          emplace_front
#define pii         pair<int,int>
#define vi          vector<int>
#define vii         vector<pii>
#define mi          map<int,int>
#define mii         map<pii,int>
#define all(a)      (a).begin(),(a).end()
#define rall(a)     (a).rbegin(),(a).rend()
using namespace std;
int gcd(int a,int b) { return b == 0 ? a : gcd(b, a % b); }
int power(int x,int n){
    int result=1;
    while(n>0)
        {   if(n % 2 ==1)
            result=(result * x)%M;
            x=(x*x)%M;
            n=n/2;
        }
    return result%M;
}      
bool isPrime(int n)
    {
    if (n <= 1)
        return false;
    if (n <= 3)
        return true;
    if (n % 2 == 0 || n % 3 == 0)
        return false;
    for (int i = 5; i * i <= n; i = i + 6)
        if (n % i == 0 || n % (i + 2) == 0)
            return false;
    return true;
    }
int inv(int a,int m)
{   return power(a,m-2);
}
int lcm(int a,int b)
{   return a*b/(gcd(a,b));
}
signed main()
{   jaldi
    int n;
    cin>>n;
    bool x=false;
    while(n)
    {   int y=n%10;
        if(y==7)
        x=true;
        n=n/10;
    }
    if(y)
    cout<<"Yes";
    else
    cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:66:8: error: 'y' was not declared in this scope
   66 |     if(y)
      |        ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main(void)
{
	char arr[3];
	
	{
		scanf("%s", arr);

	}
	int flag;
	if(arr[0] == '7' || arr[1] == '7' || arr[2] == '7')
		printf("Yes\n");
	else
		printf("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++

using namespace std;

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

void solve(long long N){
    
    std::string ans = NO;

    if(N/100 == 7){
        ans = YES;
    }
    if((N%100)/10 == 7){
        ans = YES;
    }
    if((N%10) == 7){
        ans = YES;
    }

    cout << ans << endl;
}

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


Compiler output:
a.cc:3:7: error: 'string' does not name a type
    3 | const string YES = "Yes";
      |       ^~~~~~
a.cc:4:7: error: 'string' does not name a type
    4 | const string NO = "No";
      |       ^~~~~~
a.cc: In function 'void solve(long long int)':
a.cc:8:10: error: 'string' is not a member of 'std'
    8 |     std::string ans = NO;
      |          ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | using namespace std;
a.cc:11:9: error: 'ans' was not declared in this scope
   11 |         ans = YES;
      |         ^~~
a.cc:11:15: error: 'YES' was not declared in this scope
   11 |         ans = YES;
      |               ^~~
a.cc:14:9: error: 'ans' was not declared in this scope
   14 |         ans = YES;
      |         ^~~
a.cc:14:15: error: 'YES' was not declared in this scope
   14 |         ans = YES;
      |               ^~~
a.cc:17:9: error: 'ans' was not declared in this scope
   17 |         ans = YES;
      |         ^~~
a.cc:17:15: error: 'YES' was not declared in this scope
   17 |         ans = YES;
      |               ^~~
a.cc:20:5: error: 'cout' was not declared in this scope
   20 |     cout << ans << endl;
      |     ^~~~
a.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:20:13: error: 'ans' was not declared in this scope
   20 |     cout << ans << endl;
      |             ^~~
a.cc:20:20: error: 'endl' was not declared in this scope
   20 |     cout << ans << endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc: In function 'int main()':
a.cc:26:5: error: 'scanf' was not declared in this scope
   26 |     scanf("%lld",&N);
      |     ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  cin>> n;
  if (n=7){
    cout<<"yes"<<endl;
  else if(n=7){
    cout<<"no"<<endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected '}' before 'else'
    8 |   else if(n=7){
      |   ^~~~
a.cc:6:11: note: to match this '{'
    6 |   if (n=7){
      |           ^
a.cc:10:4: error: expected '}' at end of input
   10 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

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

int main()
{
    string n;
    cin >> n;
    if(n.find('7') != -1)
        cout << "Yes";
    else
        cout << "No";
    return 0;
}

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

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

int main(){
	cin.tie(0);
   	ios::sync_with_stdio(false);
	
	string N;
	cin>>N;
    string ans = "No";
    rep(i,N.size()){
        if(N[i]=='7'){
            ans = "Yes";
        }
    }
    cout<<ans<<"\n";

	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
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

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

using namespace std;

int main()
{
    
        int count = 0;
        string n;
        cin >> n;

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

        if (count >= 1)
        {
            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<vector>
using namespace std;

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

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

clude <bits/stdc++.h>
using namespace std;
 
int main() {
  bool a;
  bool b;
  bool c;
  bool d;

  string n;
  cin >> n;
  a =(n[0]=="7");
    b=(n[1]=="7");
    c=(n[2]=="7");
  d = a||b;
   if(d||c)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: In function 'int main()':
a.cc:10:3: error: 'string' was not declared in this scope
   10 |   string n;
      |   ^~~~~~
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   cin >> n;
      |   ^~~
a.cc:11:10: error: 'n' was not declared in this scope
   11 |   cin >> n;
      |          ^
a.cc:16:12: error: 'cout' was not declared in this scope
   16 |    if(d||c)cout <<"Yes"<<endl;
      |            ^~~~
a.cc:16:26: error: 'endl' was not declared in this scope
   16 |    if(d||c)cout <<"Yes"<<endl;
      |                          ^~~~
a.cc:17:8: error: 'cout' was not declared in this scope
   17 |   else cout << "No" <<endl;
      |        ^~~~
a.cc:17:23: error: 'endl' was not declared in this scope
   17 |   else cout << "No" <<endl;
      |                       ^~~~