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

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

int main () {

    int N;
    cin>>N;

    int A=N/100;
    int O=N%100;
    int B=O/10;
    int P=O%10;

    if (A==7||B==7||O==7||P==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>
#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:2:10: fatal error: string: No such file or directory
    2 | #include <string>
      |          ^~~~~~~~
compilation terminated.
Language: C

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

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

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

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

int main() {
 int n;
 cin >> n;
 long int sum = 0;
 while (n > 0)
 {
     if(n % 3 == 0 || N % 5 == 0){
         sum += 0;
     }
     else sum += n;
     n--;
 }
 cout << sum << endl;
 }

  

  


Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: 'N' was not declared in this scope
   10 |      if(n % 3 == 0 || N % 5 == 0){
      |                       ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
  cin>>N;
  cout<<0.5*N*(N+1)-(1.5*(N/3)((N/3)+1))-(2.5*(N/5)*((N/5)+1))+(7.5*(N/15)((N/15)+1))<<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.h>
using namespace std;
#define lli long long int


int main () {
	lli n, flag = 0;
  cin  >> n;
  while(n) {
  	int x = n % 10;
    if(x == 7){
    flag++;
    }
    n = n/10;
  }
  if(flag != 0){
  cout << "Yes" << endl;}
  else cout << "No";
}


Compiler output:
a.cc:1:10: 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 a;
  cin>>a;
  rep(i,3){
   if(a[i]=="7"){
     cout<<"Yes";
   }
    else if(i==3){
     cout<<"No";
    }
    else{
      continue;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'i' was not declared in this scope
    7 |   rep(i,3){
      |       ^
a.cc:7:3: error: 'rep' was not declared in this scope
    7 |   rep(i,3){
      |   ^~~
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected unqualified-id before '=' token
    7 |   for (int = 0; i < 3; i++){
      |            ^
a.cc:7:11: error: expected ';' before '=' token
    7 |   for (int = 0; i < 3; i++){
      |           ^~
      |           ;
a.cc:7:12: error: expected primary-expression before '=' token
    7 |   for (int = 0; i < 3; i++){
      |            ^
a.cc:7:17: error: 'i' was not declared in this scope
    7 |   for (int = 0; i < 3; i++){
      |                 ^
a.cc:7:22: error: expected ')' before ';' token
    7 |   for (int = 0; i < 3; i++){
      |       ~              ^
      |                      )
a.cc:7:24: error: 'i' was not declared in this scope
    7 |   for (int = 0; i < 3; i++){
      |                        ^
Language: C

n = input()
num = 0
for i in range(3):
  if n[i] == "7":
    num += 1
if num > 0:
  print("Yes")
else:
  print("No")

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

#pragma warning(disable:4996)

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

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

	char buff[10];
	itoa(N, buff, 10);

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

	cout << "No" << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: 'itoa' was not declared in this scope
   16 |         itoa(N, buff, 10);
      |         ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  string 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:4:16: error: 'N' was not declared in this scope
    4 |   string str = N;
      |                ^
Language: C++


#include <stdio.h>
#include <stdlib.h>
#include <iterator>
#include <algorithm>
#include <map>
#include <string.h>
#include <vector>
#include <cmath>
#include <deque>
#include <iomanip>

using namespace std;
#define range(a) a.begin(), a.end()
#define rep(i, c) for(int i = 0; i < (int)c; i++)
typedef long long ll;

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


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

  // int n;
  // ll ans = 0;
  // cin >> n;
  // for(int i = 1; i <= n; i++){
  //   if(i % 3 == 0 || i % 5 == 0){
  //     continue;
  //   }else{
  //     ans += i;
  //   }
  // }
  // cout << ans << endl;






  char a[3] = {0};
  cin >> a;
  rep(i, 3){
    if(a[i] == '7'){
      cout << YES << endl;
      return 0;
    }
  }
  cout << NO << endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:24:3: error: 'cin' was not declared in this scope
   24 |   cin.tie(0);
      |   ^~~
a.cc:12:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
   11 | #include <iomanip>
  +++ |+#include <iostream>
   12 | 
a.cc:47:7: error: 'cout' was not declared in this scope
   47 |       cout << YES << endl;
      |       ^~~~
a.cc:47:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:51:3: error: 'cout' was not declared in this scope
   51 |   cout << NO << endl;
      |   ^~~~
a.cc:51:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

#include <iostream>

using namespace std;

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

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

#include<bits/stdc++.h>
#define del(a,i) memset(a,i,sizeof(a))
#define ll long long
#define inl inline
#define il inl void
#define it inl int
#define ill inl ll
#define re register
#define ri re int
#define rl re ll
#define mid ((l+r)>>1)
#define lowbit(x) (x&(-x))
#define INF 0x3f3f3f3f
using namespace std;
template<class T>il read(T &x){
	int f=1;char k=getchar();x=0;
	for(;k>'9'||k<'0';k=getchar()) if(k=='-') f=-1;
	for(;k>='0'&&k<='9';k=getchar()) x=(x<<3)+(x<<1)+k-'0';
	x*=f;
}
template<class T>il _print(T x){
	if(x/10) _print(x/10);
	putchar(x%10+'0');
}
template<class T>il print(T x){
	if(x<0) putchar('-'),x=-x;
	_print(x);
}
ll mul(ll a,ll b,ll mod){long double c=1.;return (a*b-(ll)(c*a*b/mod)*mod)%mod;}
it qpow(int x,int m,int mod){
	int res=1,bas=x;
	while(m){
		if(m&1) res=(1ll*res*bas)%mod;
		bas=(1ll*bas*bas)%mod,m>>=1;
	}
	return res;
}
int n;
int main(){
//	freopen(".in","r",stdin);
//	freopen(".out","w",stdout);
	read(n);
	while(n){
		if(n%10==7) return puts("Yes"),0;
		n/=10;
	}
	puts("No");
	return 0;
}

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int n;
  cin>>n;bool ans=0;
  while(n)
  {
  	int x=n%10;
  	if(x==7)ans=1;
  	n/=10;
  }
  if(ans)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 <stdio.h>
#include <stdlib.h>
 
using namespace std;
 
int main() {
	int n;
	bool ret = false;
	cin >> n;
	while (1) {
		if ((n) % 10 == 7) {
			ret = true;
			break;
		}
		if (n / 10 < 1) n /= 10;
		else {
			ret = false;
			break;
		}
	}
	if (ret) printf("Yes\n");
	else printf("No");
	return 0;
}

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

N = list(input())
sum_v = 1
for i in N:
    sum_v = sum_v *i

if sum_v % 7 ==0:
    print("Yes")
else:
    print("No")


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

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

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


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

#include<iostream>
#include<string>
#include<cstring>
#include<algorithm>
#include<vector>
#include<map>
#include<cmath>
#include<string>
#include<bitset>
#include <sstream>
#include<queue>
#include<set>
#include<iomanip>
#define rep(i,n) for(ll i=0;i<(n);++i)
using namespace std;
typedef long long ll;
typedef pair<int,int>P;
const ll INF=1e18;

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

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
typedef pair<int,P> P1;
typedef pair<P,P> P2;
#define pu push
#define pb push_back
#define mp make_pair
#define eps 1e-7
#define INF 1000000000
#define fi first
#define sc second
#define rep(i,x) for(int i=0;i<x;i++)
#define repn(i,x) for(int i=1;i<=x;i++)
#define SORT(x) sort(x.begin(),x.end())
#define ERASE(x) x.erase(unique(x.begin(),x.end()),x.end())
#define POSL(x,v) (lower_bound(x.begin(),x.end(),v)-x.begin())
#define POSU(x,v) (upper_bound(x.begin(),x.end(),v)-x.begin())

const int MAX = 510000;
const int MOD = 1000000007;

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

}


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

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


int main() {
    ll n;
    cin >> n;
    string ans = "No";
    while (n > 0){
        if (n%10 == 7) ans = "Yes";
        n /= 10;
    }
    cout << ans << endl;
}

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

#include <iostream>
using namespace std;
int K,N,C;
bool flag=false;
int main()
{
  cin>>N;
  for(int i=0;i<3;i++){
    if(N%10==7){
      flag=true;
      break;
    }
  }
  if(flag){
    cout<<"Yes";
  }else{
    cout<<"No";
  }
  return 0;
}




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

#include <iostream>
using namespace std;
 
int main() {
  int N,a,b,c;
  cin >> N;
  a = N/100;
  b = N%100/10;
  c = N%10;
  if(a%7==0||b%7==0||c%7==0){
    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 <iostream>
using namespace std;

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

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

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

int main() {
    string N;
    cin >> N;
    bool ans = false;
    for (int i = 0; i < 3; i++) {
        if (N.at(i) == '7') {
            ans = true;
        }
    }

    if (ans) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}

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

#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
#include <cmath>
#include <utility>
#include <map>
#include <unordered_map>
#define rep(i,n) for(int i=0;i<n;++i)
using namespace std;
typedef long long int ll;

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


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

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

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:7:19: error: request for member 'size' in 'a', which is of non-class type 'int'
    7 |   for(int i=0;i<a.size();i++){
      |                   ^~~~
a.cc:8:10: error: request for member 'at' in 'a', which is of non-class type 'int'
    8 |     if(a.at(i)==7){
      |          ^~
Language: C

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

Compiler output:
main.c:3:1: error: expected identifier or '(' before '{' token
    3 | {
      | ^
Language: C++

#include <sstream>
//#include <fstream>
//#include <deque>
//#include <queue>
//#include <stack>
//#include <set>
//#include <list>
//#include <map>
//#include <unordered_map>
//#include <functional>
//#include <utility>
//#include <bitset>
//#include <cstdlib>
//#include <ctime>
//#include <cstdio>
 
 
#include <stdlib.h>
#include <iostream>
//#include <chrono> //clock
#include <vector>
#include <string>
//#include <iomanip>  //setprecision function
//#include <cmath>	//math
//#include <cstdio>
//#include <vector>	//vector array
//#include <algorithm>	//STL algorithm
//#include <set> //STL library set
//#include <sstream> // for stringstream
 
 
using namespace std;
//using namespace std::chrono; 
 
 
int main() {
	//stringstream ss;
	//ss<<"akhil";
	//cout<<ss.str()<<endl;
	//cout<<setprecision(16);
	ios::sync_with_stdio(0);
	cin.tie(0);
	
	
	 // TESTCASE KO DEKH KA BHAUT SARA CONDITION GENERATE MAT KRO 
	 // PAPER PD CONFIRM HO JAO THORA JADA TIME HI KYU NA LGA
	
	ll N;
	cin>>N;
	while(N!=0){
		if(N%10==7) break;
		N=N/10;
	}
	
	if(N%10==7) cout<<"YES"<<endl;
	else cout<<"NO"<<endl;
	
	
 
	return 0;
}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Compiler output:
a.cc: In function 'int main()':
a.cc:48:9: error: 'll' was not declared in this scope
   48 |         ll N;
      |         ^~
a.cc:49:14: error: 'N' was not declared in this scope
   49 |         cin>>N;
      |              ^
Language: C

#include <iostream>
#include <vector>
#include <string>
#include <math.h>
#include <algorithm>
#include <functional>
 
using namespace std;
 
 
int main()
{
	int N, a, b, c;

    cin >> N;

    a = N / 100;
    b = (N / 10) % 10;
    c = N % 10;  

 
    if(a == 7 || b == 7 || c == 7)
        cout << "Yes";
    else
        cout << "No";
 
	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
#define m0(x) memset(x,0,sizeof(x))
const int INF = 1000000001;

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


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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
 
int main(){
  string N;
  cin >> N;
  bool flag = false;
  for(int i=0;i<N.size();++i){
    if(N[i]=='7') flag = true;
  }
  if(flag) cout << "Yes" << endl;
  else cout << "No" << endl;
}

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

using namespace std;
#define rep(i,n) for(int(i) = 0;(i) < (n); (i)++)
typedef long long ll;
#include <algorithm>
 #include <bitset>
 #include <complex>
 #include <deque>
 #include <exception>
 #include <functional>
 #include <iomanip>
 #include <ios>
 #include <iosfwd>
 #include <iostream>
 #include <istream>
 #include <iterator>
 #include <limits>
 #include <list>
 #include <locale>
 #include <map>
 #include <memory>
 #include <numeric>
 #include <ostream>
 #include <queue>
 #include <set>
 #include <sstream>
 #include <stack>
#include <stdexcept>
 #include <streambuf>
 #include <string>
 #include <typeinfo>
 #include <utility>
 #include <valarray>
 #include <vector>
 #include <array>
 #include <atomic>
 #include <chrono>
 #include <condition_variable>
#include <forward_list>
 #include <future>
 #include <initializer_list>
 #include <random>
 #include <ratio>
 #include <regex>
 #include <system_error>
 #include <thread>
 #include <tuple>
 #include <typeindex>
 #include <type_traits>
 #include <unordered_map>
 #include <unordered_set>
int main(){
     string N;
     int l = 0;
     cin >> N;
    rep(i,N.size()){
        if(N.at(i) == '7') {
        l++;
        }
    }
        if(l >= 1){
            cout << "Yes" <<endl;
        }else{
            cout << "No" << endl;
        }
    }

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

#include <stdio.h>
int main(void){
  int n = 0;
  scanf("%d",&n);
  int x = n / 100;
  if(x != 7){
    int y = (n - x*100) / 10;
    if (y != 7){
      int z = (n - X*100 - y*10);
      if(z != 7){
        printf("no");
        return 0;
      } else {
        printf("yes");
        return 0;
      }
    } else {
      printf("yes");
      return 0;
    }
  } else {
    printf("yes");
    return 0;
  }
}


Compiler output:
main.c: In function 'main':
main.c:9:20: error: 'X' undeclared (first use in this function)
    9 |       int z = (n - X*100 - y*10);
      |                    ^
main.c:9:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<iostream>
#include<cstring>
using namespace std;
int main()
{
  char ch[1000];
  cin>>ch;
  if(ch=='7')
  {
	cout<<"YES"<<endl;
  }
  else
  {
    cout<<"NO"<<endl;
  }
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(ch=='7')
      |      ~~^~~~~
Language: C

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

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

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

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

  // ここにプログラムを追記
  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;
    int a, b, c;
    a=n%10;
    b=(n/10)%10;
    c=(n/100)%10;
    if(a==7 || b==7 || c==7){
        cout << "Yes" << "\n";
    }else{
        cout << "No" << "\n";
    }
    return 0;
}

Compiler output:
a.cc:1:2: error: extended character 　 is not valid in an identifier
    1 | #include　<iostream>
      |  ^
a.cc:1:2: error: invalid preprocessing directive #include\U00003000
    1 | #include　<iostream>
      |  ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> n;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include　<iostream>
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "Yes" << "\n";
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout << "No" << "\n";
      |         ^~~~
a.cc:14:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

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

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

    int check =0;

    for(int i=0;i<3;i++){
        int a =N[i];
        if(a==55){check=1;}
    }

    if(check==1)cout << "Yes" << endl;
    if(check==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>

using namespace std;

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


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

#include<iostream>
#include<string>
#include<vector>
#include<utility>
#include<algorithm>
#include<map>
#include<cstdlib>
#include<cmath>
using namespace std;
using ll =long long;
int main() {/*
	ll N;
	ll sum=0;
	cin >> N;
	for (int i = 1; i <= N; i++) {
		if (i % 5 != 0&& i % 3 != 0) {
 
 
			sum += i;
		}
	}
	cout << sum;
}*/
	
	int N;
	cin >> N;
	if (N / 100 == 7 || N % 100 / 10 == 7 || N % 10 == 7) {
 
 
		cout << "Yes";
		return 0;
		}
	cout << "No";
 
}

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

#include <bits/stdc++.h>
using namespace std;
int main() {
  char x, y, z; cin >> x >> y >> z;
  cout << ((x == '7' || y == '7' || z == '7') ? "Yes" : "No") << endl;
}

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: 'S' was not declared in this scope
    5 |    for(int i=0;i<S.size();++i){
      |                  ^
a.cc:9:17: error: 'S' was not declared in this scope
    9 |   for(int i=0;i<S.size();++i){
      |                 ^
Language: C

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

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

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

/*
*          Name : chaitanya
*
*     Institute : ANITS,Visakhapatnam
*
*/
#include<cstdio>
#include<iostream>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<algorithm>
#include<cmath>
#include<complex>
#include<cstring>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<bitset>
#include<numeric>
#include<limits>
#include<climits>
#include<cfloat>
#include<functional>
#include<iterator>
#include <random>
#define inf  1000000000
#define all(x) begin(x),end(x)
#define ll long long int
#define ff first
#define ss second
#define pb push_back
const ll mod = 1000000007;
#pragma GCC optimization ("O3")
const int N = 1000010;
using namespace std;
int main()
{
 
    // freopen("input.txt","r",stdin);
    // freopen("output.txt","w",stdout);
     //ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    string s;
    cin >> s;
    if( !(s[0]== '7' || s[1] == '7' || s[2] == '7') )
        cout << "No";
    else
        cout << "Yes"; 
    return 0;
} 


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

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


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

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

int main() {
  int64_t N,sum=0;
  cin >> N;
  for(int i=1;i<=N;i++){
    if(i%3!=0&&i%5!=0){
      sum+=i;
    }
  }
  cout << sum << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
  int main(){
     int a,b,c;
     a = a % 10;
     a /= 10;
     b = a % 10;
     a /= 10;
    int c = a;

     if(a == 7 || b == 7 || c == 7) {
        cout << "Yes";
     }else {
        cout << "No";
     }

 return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: redeclaration of 'int c'
    9 |     int c = a;
      |         ^
a.cc:4:14: note: 'int c' previously declared here
    4 |      int a,b,c;
      |              ^
Language: C

#include <bits/stdc++.h>
#include <stdio.h>
#include <math.h>
#include <cmath>
using namespace std;
#define vsort(vec) sort(vec.begin(), vec.end())
#define vreverse(vec) reverse(vec.begin(), vec.end())
using ll =long long;
using ull =unsigned long long;
const ll INF =1001001001;

//10億7。　　　100000007

//最大公約数
ll gcd(ll a, ll b){
   if (a%b==0){
       return(b);
   }else{
       return(gcd(b,a%b));
   }
}
//最小公倍数
ll lcm(ll a, ll b){
   return a*b/gcd(a,b);
}


int main(){
cout<<fixed<<setprecision(10);
//cin.tie(0); ios::sync_with_stdio(false);

int N;
  cin>>N;

  bool OK=false;
  if(N%10==7)OK=true;
   if((N%100-N%10)==70)OK=true;
 if((N-N%100)/100==7)OK=true;
  
  if(OK){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
}



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

n = eval(input("enter a number: "))
sum = 0
for i in range(n):
    rem = n%10
    sum +=rem
    n = n//10
if sum >= 7:
    print("Yes")
else:
    print("No")

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

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

Compiler output:
a.cc: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,k,l,o;
      cin>>n;
      n/100=k;
        (n-k*100)/10=l;
        (n-k*100-l*10)=o;
      if(k=7||l=7||o=7){
      cout<<"Yes"<<endl;
      }
      else{cout<<"No"<<endl;}
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: lvalue required as left operand of assignment
    7 |       n/100=k;
      |       ~^~~~
a.cc:8:18: error: lvalue required as left operand of assignment
    8 |         (n-k*100)/10=l;
      |         ~~~~~~~~~^~~
a.cc:9:17: error: lvalue required as left operand of assignment
    9 |         (n-k*100-l*10)=o;
      |         ~~~~~~~~^~~~~~
a.cc:10:18: error: lvalue required as left operand of assignment
   10 |       if(k=7||l=7||o=7){
      |                 ~^~~
Language: C

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a;
    cin >> a;
    // スペース区切りの整数の入力
    int b,c;
    cin >> b >> c;
    // 文字列の入力
    string s;
    cin >> s;
    // 出力
    cout << (a+b+c) << " " << s << 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;
  cin >> N;
  
  while(N){
    if(N%10==7){
      cout << "Yes" << endl;
    }
    int a = N/10;
    else if(a%10==7){
      cout << "Yes" << endl;
    }
    int b = a/10;
    else if(b%10==7){
      cout << "Yes" << endl;
    }
      else{
       cout << "No" << endl;
      }
    }
      return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else if(a%10==7){
      |     ^~~~
a.cc:17:5: error: 'else' without a previous 'if'
   17 |     else if(b%10==7){
      |     ^~~~
Language: C

# https://atcoder.jp/contests/abc162/tasks/abc162_a

N = int(input())
if '7' in str(N):
    print('Yes')
else:
    print('No')


Compiler output:
main.c:1:3: error: invalid preprocessing directive #https
    1 | # https://atcoder.jp/contests/abc162/tasks/abc162_a
      |   ^~~~~
main.c:3:1: warning: data definition has no type or storage class
    3 | N = int(input())
      | ^
main.c:3:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:3:5: error: expected expression before 'int'
    3 | N = int(input())
      |     ^~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('Yes')
      |           ^~~~~
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('No')
      |           ^~~~
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:
a.cc: In function 'int main()':
a.cc:10:8: error: 'i' was not declared in this scope
   10 |   for (i=0;i<3;i++) {
      |        ^
Language: C++

include<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: 'include' does not name a type
    1 | include<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 | include<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
#define rep(i,n) for (int i = 0; i < (n);; ++i)
using namespace std;
using ll = long long;
using p = pair<int, int>;
int x, a, b, c, d;
int main() {
	cin >> x;
	a= x / 100;
	b = x % 100;
	c = b / 10; 
	d = b % 10;
	if (a == 7 || d == 7 || c == 7) {
		cout << "Yes";
	}else cout << "No";
	return 0;
}

Compiler output:
main.c:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include iostream
      |          ^~~~~~~~
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:9: error: 'cin' undeclared (first use in this function)
    8 |         cin >> x;
      |         ^~~
main.c:8:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:17: error: 'cout' undeclared (first use in this function)
   14 |                 cout << "Yes";
      |                 ^~~~
Language: Java

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

Compiler output:
Main.java:12: error: <identifier> expected
	System.out.println(ans);
	                  ^
Main.java:12: error: <identifier> expected
	System.out.println(ans);
	                      ^
2 errors
Language: C

#include<stdio.h>

int main()
{
  int num, dig, tmp;
  scanf("%d",&num);
  while(num){
    dig = num%10;
    if(dig == 7){
      printf("Yes");
      tmp++
      break
    }
  }
  if(tmp == 0){
    printf("No");
   }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:12: error: expected ';' before 'break'
   11 |       tmp++
      |            ^
      |            ;
   12 |       break
      |       ~~~~~
Language: C

#include<bits/stdc++.h>

using namespace std;

int main(){
    string s;
    cin >> s;
    for (int i = 0; i < 3; i++)
    {
        if(s[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 <stdio.h>

void    lucky(int a)
{
    int handred;
    int ten;
    int one;

    handred = a / 100;
    ten = a % 100 / 10;
    one = a % 10;

    if (100 <= a && a <= 999)
    {
        if (handred == 7 || ten == 7 || one == 7)
            printf("%s\n", "yes");
        else
            printf("%s\n", "no");
    }
}


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
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>
using namespace std;
int main()
{
    string str;
    cin>>str;
    if(str[0]=='7'||str[1]=='7'||str[2]=='7')
        cout<<"Yes";
    else
        cout<<"No";
    cout<<endl;
}


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

#include <iostream>
using namespace std;

int main(){
 int N;
 cin >> N;
 
  bool flag = false;
  
  for (int 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<algorithm>
#include<bitset>
#include<cmath>
#include<cstdlib>
#include<iomanip>
#include<iostream>
#include<map>
#include<queue>
#include<set>
#include<string>
#include<utility>
#include<vector>

using namespace std;
 
typedef long long ll;

#define PB push_back
#define MP make_pair
#define F first
#define S second

template<typename T,typename U>
bool chmax(T& max, const U& x){
	if(max<x){
		max = x;
		return true;
	}
	return false;
}

template<typename T,typename U>
bool chmin(T& min, const U& x){
	if(min>x){
		min = x;
		return true;
	}
	return false;
}


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



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;
int main(){
  string str = N;
  cin >> N ;
    if (str[0] == "7"){
      cout << "Yes" << endl ;
    }
    else if (str[1] == "7"){
      cout << "Yes" << endl ;
    }
    else if (str[2] == "7"){
      cout << "Yes" << endl ;
    }
    else{
      cout << "No" <<endl;
    }
  }
  

Compiler output:
a.cc: In function 'int main()':
a.cc:4:16: error: 'N' was not declared in this scope
    4 |   string str = N;
      |                ^
a.cc:6:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |     if (str[0] == "7"){
a.cc:9:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     else if (str[1] == "7"){
a.cc:12:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |     else if (str[2] == "7"){
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:22:28: error: expected '}' at end of input
   22 |  else cout << "No" << endl;
      |                            ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include <iostream>
using namespace std;

int main() {
    string N;
    cin >> N;
    bool ans = false;
    for (int i = 0; i < 3; i++) {
        if (N.at(i) == '7') {
            ans = true;
        }
    }

    if (ans) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}

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

/* 
 * Author: pawanmsr
 */

#include <bits/stdc++.h>

using namespace std;
typedef long long int ll;

// Macro //
#define X first
#define Y second
#define pii pair<int,int>
#define pll pair<ll,ll>

// Global //
int n;

// Functions //

// Main //
int main(int argc, char const *argv[])
{
    // ios_base::sync_with_stdio(false);
    // cin.tie(NULL);
    
    /* code */
    cin >> n;
    bool seven = false;
    while (n) {
        if (n%10 == 7) {
            seven=true;
            break;
        }
        n /= 10;
    }
    if (seven) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}


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

//
//  main.cpp
//  ProgrammingContestChallengeBook2
//
//  Created by Hisaki Kobayashi on 2020/04/04.
//  Copyright © 2020 Hisaki Kobayashi. All rights reserved.
//

//#include <iostream>
#include <stdio.h>
#include <string>
#include <bits/stdc++.h>
#include <stdlib.h>
//#include "mylibrary.hpp"

int gcd(int a, int b)
{
   if (a%b == 0)
   {
       return(b);
   }
   else
   {
       return(gcd(b, a%b));
   }
}

using namespace std;
int main(){
    int N; cin >> N;

    int hyaku=(N/100)%10,zyu=(N/10)%10,iti=N%10;

//    cout << hyaku << " " << zyu << " " << iti << endl;
    if(hyaku==7 || zyu == 7 || iti == 7)
        cout << "Yes" << endl;
    else{
        cout << "No" << endl;
    }


    
    
//    long N; cin >> N;
//
//    vector<int> A(7,0);
    
//    int div=1;
//    long sum=0;
//    for(int i=1;i<=N;i++){
//        if(i%3!=0 && i%5!=0){
//            sum+=i;
//        }
//    }
//    cout << sum << endl;
    
    
//    int a, b, c,K;
//      cin >> K;
//
//    a=100;
//    b=50;
//    c=7;
//
//     cout << "abcの最大公約数:" << gcd(gcd(a, b),c) << endl;
//
    
    
    return 0;
 
}


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

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

int main(){
    int N;
    cin >> N;
    int A[3];
    int i=0;
    while(N>0){
        A[i] = N%10;
        N /= 10;
        i++;
    }
    int ans =0;
    for(int i=0;i<3;i++){
        if(A[i]==7)  ans++;
    }
    if(ans >0) 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;
    int a, b, c;
    a=n%10;
    b=(n/10)%10;
    c=(n/100)%10;
    if(a==7 || b==7 || c==7){
        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(){
	string N;
	cin >> N;
	bool is_seven = false;

	for(int i = 0; i < 3; i++){
		if(N.at(i) == '7'){
			is_seven = true;
		}
	}

	if(is_seven){
		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.