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

#include <iostream.h>
using namespace std;

int main() {
  char A,B,C;
  cin>>A>>B>>C;
  if(A!=='7' && B!=='7' && C!=='7'){
        cout >>"No">>endl;
  }
  else{
    cout>> "Yes">>endl;
    
  

    
  }


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 c;
  cin>>c;
  if(c.at(0)=='7'){
    cout<<"Yes"<<endl;
  }else if(c.at(1)=='7'){
    cout<<"Yes"<<endl;
  }else if(c.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;
 
int main() {
  string str1;
  cin >> str1;
  
  if((str1[0] == '7')||(str1[1] == '7')||(str1[2] == '7')) cout << "Yes" << 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>
using namespace std;

int main() {
	// your code goes here
	int n;
	cin >> n;
	if(((n/100)-7)*(((n/10)%10)-7)*((n%10)-7)==0){
		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

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

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

#include<vector>
#include<cmath>
#include<map>
#include<cstdlib>
#include<iostream>
#include<sstream>
#include<fstream>
#include<string>
#include<algorithm>
#include<cstring>
#include<cstdio>
#include<set>
#include<stack>
#include<bitset>
#include<functional>
#include<ctime>
#include<queue>
#include<deque>
#include<complex>
#include<cassert>
using namespace std;
#define pb push_back
#define pf push_front
typedef long long lint;
typedef complex<double> P;
#define mp make_pair
#define fi first
#define se second
typedef pair<int,int> pint;
#define All(s) s.begin(),s.end()
#define rAll(s) s.rbegin(),s.rend()
#define REP(i,a,b) for(int i=a;i<b;i++)
#define rep(i,n) REP(i,0,n)
//問題文および制約はちゃんと確認しよう！
//サイズは10^5じゃなくて2×10^5とかかもしれないし、重要な制約・条件を見落としているかも
//とりあえずサンプルを読んでから解法を考えよう？
string cal(){
	string s;cin>>s;
	rep(i,3){
		if(s[i]=='7') return "Yes";
	}
	return "No";
}
int main()
{
	cout<<cal()<<endl;
}


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

#define TRUE 1
#define FALSE 0

int judgeSeven_100(int input){
	int hundredsPlace = input / 100;
  	int isSeven = FALSE;
  
  if(hundredsPlace == 7){
  	isSeven = TRUE;
  }
  	
  return isSeven;
}

int judgeSeven_10(int input){
	int tensPlace = (input % 100) / 10;
	int isSeven = FALSE;
  
  if(tensPlace == 7){
    isSeven = TRUE;
  }
  
	return isSeven;
}

int judgeSeven_1(int input){
	int onesPlace = (input % 10);
  int isSeven = FALSE;
  
  if(onesPlace == 7){
  	isSeven = TRUE;
  }

  return isSeven;
}

int main(void){
  int input;
  string output = "No";
  
  cin >> input;
  
  if(judgeSeven_100() == true){
    output = "YES";
  }
  else if(judgeSeven_10() == true){
  	output = "YES";
  }
  else if(judgeSeven_1() == true){
    output = "YES";
  }
  
  cout << output;
  
  return 0;
}  


Compiler output:
main.c: In function 'main':
main.c:39:3: error: unknown type name 'string'
   39 |   string output = "No";
      |   ^~~~~~
main.c:39:19: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
   39 |   string output = "No";
      |                   ^~~~
main.c:41:3: error: 'cin' undeclared (first use in this function)
   41 |   cin >> input;
      |   ^~~
main.c:41:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:43:6: error: too few arguments to function 'judgeSeven_100'
   43 |   if(judgeSeven_100() == true){
      |      ^~~~~~~~~~~~~~
main.c:4:5: note: declared here
    4 | int judgeSeven_100(int input){
      |     ^~~~~~~~~~~~~~
main.c:43:26: error: 'true' undeclared (first use in this function)
   43 |   if(judgeSeven_100() == true){
      |                          ^~~~
main.c:1:1: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
  +++ |+#include <stdbool.h>
    1 | #define TRUE 1
main.c:44:12: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
   44 |     output = "YES";
      |            ^
main.c:46:11: error: too few arguments to function 'judgeSeven_10'
   46 |   else if(judgeSeven_10() == true){
      |           ^~~~~~~~~~~~~
main.c:15:5: note: declared here
   15 | int judgeSeven_10(int input){
      |     ^~~~~~~~~~~~~
main.c:47:16: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
   47 |         output = "YES";
      |                ^
main.c:49:11: error: too few arguments to function 'judgeSeven_1'
   49 |   else if(judgeSeven_1() == true){
      |           ^~~~~~~~~~~~
main.c:26:5: note: declared here
   26 | int judgeSeven_1(int input){
      |     ^~~~~~~~~~~~
main.c:50:12: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
   50 |     output = "YES";
      |            ^
main.c:53:3: error: 'cout' undeclared (first use in this function)
   53 |   cout << output;
      |   ^~~~
Language: C

num = str(input(''))
if int(num) in range(100, 999):
    if int(num[0]) == 7 or int(num[1]) == 7 or int(num[2]) == 7:
        print("Yes")
    else:
        print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | num = str(input(''))
      | ^~~
main.c:1:1: error: type defaults to 'int' in declaration of 'num' [-Wimplicit-int]
main.c:1:7: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | num = str(input(''))
      |       ^~~
main.c:1:11: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | num = str(input(''))
      |           ^~~~~
main.c:1:17: error: empty character constant
    1 | num = str(input(''))
      |                 ^~
main.c:1:7: error: initializer element is not constant
    1 | num = str(input(''))
      |       ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if int(num) in range(100, 999):
      | ^~
Language: C++

#include<bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef tuple<int,int,int> T;
typedef vector<P> vp;
typedef vector<T> vt;

int main(void) {
  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:
a.cc: In function 'int main()':
a.cc:20:25: error: expected ';' before '}' token
   20 |     cout << "No" << endl
      |                         ^
      |                         ;
   21 |   }
      |   ~
Language: C++

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

int main() {
  int 999>=N>=100;
  
  cin >>N>>;

  if ((N/100）＝＝7) {
    cout <<Yes<< endl;
  }
 else if (((N-N/100*100)/10)==7) {
    cout <<Yes<< endl;
  }
 else if (((N-N/100*100-N/10*10)==7){
    cout <<Yes<< endl;
 else {
    cout <<NO<<endl;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected unqualified-id before numeric constant
    5 |   int 999>=N>=100;
      |       ^~~
a.cc:7:9: error: 'N' was not declared in this scope
    7 |   cin >>N>>;
      |         ^
a.cc:7:12: error: expected primary-expression before ';' token
    7 |   cin >>N>>;
      |            ^
a.cc:9:10: error: unable to find numeric literal operator 'operator""\U0000ff09\U0000ff1d\U0000ff1d7'
    9 |   if ((N/100）＝＝7) {
      |          ^~~~~~~~~~
a.cc:9:21: error: expected ')' before '{' token
    9 |   if ((N/100）＝＝7) {
      |      ~              ^~
      |                     )
a.cc:19:3: error: expected statement at end of input
   19 |  }
      |   ^
a.cc:19:3: error: expected '}' at end of input
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include <bits/stdc++.h>
//#define inf 0x3f3f3f3f3f3f3f3f
#define inf 0x3f3f3f3f
#define debug(...) fprintf(stderr, __VA_ARGS__)
#define inv(x) Power(x, mod - 2)
#define fi first
#define se second
#define MP make_pair
#define PB push_back

using namespace std;
typedef pair<int,int> Pair;
typedef long double ld;
typedef long long ll;

const int mod = 998244353, MAX = 1e5, N = 50005;
//template{{{
const long double Pi = 3.14159265358979323846l;
inline int add(int x, int y) { x += y; return x >= mod ? x - mod : x; };
inline void inc(int &x, int y) { x += y; x -= (x >= mod ? mod : 0); }
inline int mul(int x, int y) { return 1ll * x * y % mod; }
inline int Power(int x, int y) {
	int ans = 1;
	while (y) {
		if (y & 1) ans = mul(ans, x);
		x = mul(x, x), y >>= 1;
	} return ans;
}

/*char buf[1<<23],obuf[1<<23],*p1=buf,*p2=buf, *O = obuf;
#define getchar() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<21,stdin),p1==p2)?EOF:*p1++)
void print(int x) {
    if(x > 9) print(x / 10);
    *O++=x%10+'0';
} */

template <class T> inline T	input() {
	T x; char ch; bool flag = false;
	while (!isdigit(ch = getchar())) flag |= ch == '-';
	for (x = ch ^ 48; isdigit(ch = getchar()); x = x * 10 + (ch ^ 48));
	return flag ? -x : x;
}

template <class T> inline bool chkmin(T &x, T y) { x = x < y ? x : y; return x == y; }
template <class T> inline bool chkmax(T &x, T y) { x = x > y ? x : y; return x == y; }
template <class T> inline T gcd(T x, T y) { return !y ? x : gcd(y, x % y); }
template <class T> inline T sqrm(T x) { return (ll) x * x % mod; }
template <class T> inline T sqr(T x) { return x * x; }

struct {
	inline operator int () { return input<int>(); }
	inline operator long long () { return input<long long>(); }
	template <class T> inline void operator () (T &x) { x = *this; }
	template<class T, class ...A> inline void operator () (T &x, A &...a)
	{ x = *this; this -> operator ()(a...); }
} read; //}}}

int n;

int main() {
#ifdef local
	freopen("in", "r", stdin);
	freopen("out", "w", stdout);
	freopen("log", "w", stderr);
#endif

	cin >> n;
	puts(n % 10 == 7 || n / 10 % 10 == 7 || n / 100 == 7 ? "Yes" : "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/stdtr1c++.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:9:8: error: lvalue required as left operand of assignment
    9 |       n/100=k;
      |       ~^~~~
a.cc:10:18: error: lvalue required as left operand of assignment
   10 |         (n-k*100)/10=l;
      |         ~~~~~~~~~^~~
a.cc:11:17: error: lvalue required as left operand of assignment
   11 |         (n-k*100-l*10)=o;
      |         ~~~~~~~~^~~~~~
a.cc:12:18: error: lvalue required as left operand of assignment
   12 |       if(k=7||l=7||o=7){
      |                 ~^~~
Language: C

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

int main() {
  int 999>=N>=100;
  
  cin >>N>>;

  if((N/100)＝＝7){
    cout <<Yes<< endl;
  }
 else if(((N-N/100*100)/10)==7){
    cout <<Yes<< endl;
  }
 else if(((N-N/100*100-N/10*10)==7){
    cout<<Yes<<endl;
 else {
    cout<<NO<<endl;
 }


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

#include<iostream>
using namespace std;
int main()
{
  char a,b,c;
  gets(a);
  gets(b);
  gets(c);
  if(a=='7'||b=='7'||c=='7')
    cout<<"Yes";
  else
    cout<<"No";
  return 0;
}

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

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

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


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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const int MOD = 1000000007;

//↓combination(ll a, ll b) でaCr計算。
//------------------------------------------------------------------------------------------
ll mpow(ll x, ll n){
    ll ans = 1;
    while(n != 0){
        if(n&1) ans = ans*x % MOD;
        x = x*x % MOD;
        n = n >> 1;
    }
    return ans;
}
ll kj(ll x){
    ll s = 1;
    for(ll i = 1; i <= x; i++){
        s = s * i % MOD;
    }
    return s;
}
ll combination(ll a, ll b){
    if(a == 0 && b == 0) return 1;
    if(a < b || a < 0) return 0;
    return (kj(a) * mpow(kj(b), MOD-2) % MOD) * mpow(kj(a-b), MOD-2) % MOD;
}
//---------------------------------------------------------------------------------------------
//↑combination(ll a, ll b) でaCr計算。

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

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

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

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

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

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

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

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

int main() {
  char A,B,C;
  cin>>A>>B>>C;
  if(A!=='7' && B!=='7' && C!=='7'){
        cout >>"No">>endl;
  }
  else{
    cout>> "Yes">>endl;
    
  

    
  }


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

#include<iostream>
using namespace std;
int main(){
int a;
cin>>a;
  if(a>699&&a<800){cout<<"Yes";return 0;}
  else if(a%10==7){cout<<"Yes";return 0;}
    else if(a%100-a%10=70){cout<<"Yes";return 0;}
  cout<<"No";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: lvalue required as left operand of assignment
    8 |     else if(a%100-a%10=70){cout<<"Yes";return 0;}
      |             ~~~~~^~~~~
Language: C

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

int main() {
  int 999>=N>=100;
  
  cin >>N>>;

  if ((N/100）＝＝7) {
    cout <<Yes<< endl;
  }
 else if (((N-N/100*100)/10)==7) {
    cout <<Yes<< endl;
  }
 else if (((N-N/100*100-N/10*10)==7){
    cout <<Yes<< endl;
 else {
    cout <<NO<<endl;
 }

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

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | N = int(input())
      |     ^~~
main.c:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner scn = new Scanner(System.in);
      String N = scn.next();
      scn.close();
      int s;
      for(int i = 0; i<3 ; i++){
      if(N.charAt(i) == '7'){
      s +=1;
      }
      }
  	if(s>0){
    System.out.println("Yes");
    }else{
    System.out.println("No");
    }
    }
}


Compiler output:
Main.java:10: error: variable s might not have been initialized
      s +=1;
      ^
Main.java:13: error: variable s might not have been initialized
  	if(s>0){
  	   ^
2 errors
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:
main.c:2:10: fatal error: bits/stdc++.h: No such file or directory
    2 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main(){
int a;
cin>>a;
  if(a>699&&a<800){cout<<"Yes";return 0;}
  else if(a%10==7){cout<<"Yes";return 0;}
    else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
  cout<<"No";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: lvalue required as left operand of assignment
    8 |     else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
      |                        ^
Language: Java

    import java.util.*;
     
    	public static void main(String[] args) {
    		Scanner sc = new Scanner(System.in);
    		int x = sc.nextInt();
    		boolean y=false;
    		for(int i=0;i<3;i++){
    			if(x/100==7){
    				y=true;
    				break;
    			}else if((x%100)/10==7) {
    				y=true;
    				break;
    			}else if(x%10==7) {
    				y=true;
    				break;
    			}
    		}
    		if(y) {
    			System.out.print("Yes");
    		}else {
    			System.out.print("No");
    		}
    		
     
    	}

Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
    	public static void main(String[] args) {
    	              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++


using namespace std;

int main() {
  char A,B,C;
  cin>>A>>B>>C;
  if(A!=='7' && B!=='7' && C!=='7'){
        cout >>"No">>endl;
  }
  else{
    cout>> "Yes">>endl;
    
  

    
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>A>>B>>C;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | 
a.cc:7:9: error: expected primary-expression before '=' token
    7 |   if(A!=='7' && B!=='7' && C!=='7'){
      |         ^
a.cc:7:20: error: expected primary-expression before '=' token
    7 |   if(A!=='7' && B!=='7' && C!=='7'){
      |                    ^
a.cc:7:31: error: expected primary-expression before '=' token
    7 |   if(A!=='7' && B!=='7' && C!=='7'){
      |                               ^
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout >>"No">>endl;
      |         ^~~~
a.cc:8:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:22: error: 'endl' was not declared in this scope
    8 |         cout >>"No">>endl;
      |                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | 
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout>> "Yes">>endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:19: error: 'endl' was not declared in this scope
   11 |     cout>> "Yes">>endl;
      |                   ^~~~
a.cc:11:19: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:16:4: error: expected '}' at end of input
   16 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

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

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

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

int main(){
    int N,A,B,C;
    cin >> N;
    A = N/100;
    B = (N - 100*A)/10;
    C = (N - 100*A - 10*B);
    if(A ==7 || B == 7 || C == 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

def main():
    n = input()
    for c in n:
        if c == '7':
            print('Yes')
            return

    print('No')

if __name__ == '__main__':
    main()


Compiler output:
main.c:1:1: error: unknown type name 'def'
    1 | def main():
      | ^~~
main.c: In function 'main':
main.c:1:11: error: expected declaration specifiers before ':' token
    1 | def main():
      |           ^
main.c:5:19: warning: multi-character character constant [-Wmultichar]
    5 |             print('Yes')
      |                   ^~~~~
main.c:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('No')
      |           ^~~~
main.c:10:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   10 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: lvalue required as left operand of assignment
    8 |     else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
      |                        ^
Language: C

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

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

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

import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int m=0;
		for(int i = 0;i<2;i++){
			if((N%10)!=7){
				N = (N-(N%10))/10;
				m++;
			}			
		else{
    		System.out.println("Yes");
			break;
        }
		if(m==3){
			System.out.println("No");
		}
		}
		}
	}
}


Compiler output:
Main.java:22: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

    import java.util.*;
     
    	public static void main(String[] args) {
    		Scanner sc = new Scanner(System.in);
    		int x = sc.nextInt();
    		boolean y=0;
    		for(int i=0;i<3;i++){
    			if(x/100==7){
    				y=true;
    				break;
    			}else if((x%100)/10==7) {
    				y=true;
    				break;
    			}else if(x%10==7) {
    				y=true;
    				break;
    			}
    		}
    		if(y) {
    			System.out.print("Yes");
    		}else {
    			System.out.print("No");
    		}
    		
     
    	}

Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
    	public static void main(String[] args) {
    	              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

n = int(input())
a = n%10 
if a == 7:
    print("yes")
else:
    print("No")

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

#include "bits/stdc++.h"
using namespace std;
int main() {
	string n;

	cin >> n;

	if (n[0] == 7 || n[1] == 7 || n[2] == 7) {
		cout << "Yes" << 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>
using naamespace std;
int main(){
int a;
cin>>a;
  if(a>699%a<800){cout<<"Yes";return 0;}
  else if(a%10==7){cout<<"Yes";return 0;}
    else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
  cout<<"No";
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'naamespace'
    2 | using naamespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin>>a;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:19: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(a>699%a<800){cout<<"Yes";return 0;}
      |                   ^~~~
      |                   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:20: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else if(a%10==7){cout<<"Yes";return 0;}
      |                    ^~~~
      |                    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:24: error: lvalue required as left operand of assignment
    8 |     else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
      |                        ^
a.cc:8:29: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     else if(a%100-a%10=7=0){cout<<"Yes";return 0;}
      |                             ^~~~
      |                             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout<<"No";
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

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

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


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

import java.util.*;

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		boolean y=0;
		for(int i=0;i<3;i++){
			if(x/100==7){
				y=true;
				break;
			}else if((x%100)/10==7) {
				y=true;
				break;
			}else if(x%10==7) {
				y=true;
				break;
			}
		}
		if(y) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}
		

	}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:3:15: error: expected ';' before 'static'
    3 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               ;
main.c:3:33: error: unknown type name 'String'
    3 |         public static void main(String[] args) {
      |                                 ^~~~~~
Language: C

#include <bits/stdc++.h>

using namespace std;

int main() {

	// freopen("input.txt", "r", stdin);
	// freopen("output.txt", "w", stdout);

	string s;
	cin >> s;
	if (s.find('7') != string::npos) 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<iostream>
using namespace std;
int main()
{
  int a;
  cin>>a;
  if(a==700||a==117||a==127||a==137||a==147||a==157a==167||a==177||a==187||a==197||a==207||a==217||a==227||a==237||a==247||a==257||a==267||a==277||a==287||a==297||a==307||a==317||a==327||a==337||a==347||a==357||a==367||a=377||a==387||a==397||a==407||a==417)
  	cout<<"Yes";
  else
  	cout<<"No";
  if(a==427||a==437||a==447||a==457||a==467||a==477a==487||a==497||a==507||a==517||a==517||a==527||a==537||a==547||a==557||a==567||a==577||a==587||a==597||a==607||a==617||a==627||a==637||a==647||a==657||a==667||a==677||a=687||a==697||a==707||a==717||a==727)
  	cout<<"Yes";
  else
  	cout<<"No";
  if(a==700||a==117||a==127||a==137||a==147||a==157a==167||a==177||a==187||a==197||a==207||a==217||a==227||a==237||a==247||a==257||a==267||a==277||a==287||a==297||a==307||a==317||a==327||a==337||a==347||a==357||a==367||a=377||a==387a==397||a==407||a==417)
  	cout<<"Yes";
  else
  	cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:49: error: unable to find numeric literal operator 'operator""a'
    7 |   if(a==700||a==117||a==127||a==137||a==147||a==157a==167||a==177||a==187||a==197||a==207||a==217||a==227||a==237||a==247||a==257||a==267||a==277||a==287||a==297||a==307||a==317||a==327||a==337||a==347||a==357||a==367||a=377||a==387||a==397||a==407||a==417)
      |                                                 ^~~~
a.cc:11:49: error: unable to find numeric literal operator 'operator""a'
   11 |   if(a==427||a==437||a==447||a==457||a==467||a==477a==487||a==497||a==507||a==517||a==517||a==527||a==537||a==547||a==557||a==567||a==577||a==587||a==597||a==607||a==617||a==627||a==637||a==647||a==657||a==667||a==677||a=687||a==697||a==707||a==717||a==727)
      |                                                 ^~~~
a.cc:15:49: error: unable to find numeric literal operator 'operator""a'
   15 |   if(a==700||a==117||a==127||a==137||a==147||a==157a==167||a==177||a==187||a==197||a==207||a==217||a==227||a==237||a==247||a==257||a==267||a==277||a==287||a==297||a==307||a==317||a==327||a==337||a==347||a==357||a==367||a=377||a==387a==397||a==407||a==417)
      |                                                 ^~~~
a.cc:15:230: error: unable to find numeric literal operator 'operator""a'
   15 |   if(a==700||a==117||a==127||a==137||a==147||a==157a==167||a==177||a==187||a==197||a==207||a==217||a==227||a==237||a==247||a==257||a==267||a==277||a==287||a==297||a==307||a==317||a==327||a==337||a==347||a==357||a==367||a=377||a==387a==397||a==407||a==417)
      |                                                                                                                                                                                                                                      ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'n' was not declared in this scope
    8 |   if ((n[0]==n[1]==n[2]==7) || (n[0]==7) || (n[0]==n[1]==7) ||
      |        ^
a.cc:10:16: error: expected ')' before '{' token
   10 |       (n[2]==7){
      |                ^
      |                )
a.cc:8:6: note: to match this '('
    8 |   if ((n[0]==n[1]==n[2]==7) || (n[0]==7) || (n[0]==n[1]==7) ||
      |      ^
a.cc:16:1: error: expected primary-expression before '}' token
   16 | }
      | ^
Language: C++

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

int main(int argc, char const *argv[]) {
    ios::sync_with_stdio(false);
    cin.tie(0);

    string a;
    cin>>a;
    bool flag = false;
    for(int i = 0; i < a.length(); i++)
        if(a[i] == "7")
        {
            flag = true;
            break;
        }
    if(flag)
        cout<<"Yes\n";
    else
        cout<<"No\n";
    return 0;
}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:12:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |         if(a[i] == "7")
Language: C

#include<bits/stdc++.h>
#define endl "\n" 
using namespace std; 

vector<int>v;
void primeGenerate()
{
    int n=10000000;
    for(int i=0; i<n; i++)
    v.push_back(1);
    v[0]=v[1]=0;
    for(int i=2; i<sqrt(n); i++)
    {
        if(v[i]==1)
        for(int j=2; j*i<=n; j++)
        {
            v[i*j]=0;
        }
    }
}
typedef long long int ll; 
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(NULL);
	#ifndef ONLINE_JUDGE 
    freopen("input.txt", "r", stdin); 
    freopen("output.txt", "w", stdout); 
    #endif
    int n,cnt=0;
    cin>>n;
    while(n!=0)
    {
        if(n%10==7)
        {
            cnt=1;
            break;
        }
        n/=10;
    }
    if(cnt==0)
    cout<<"No"<<"\n";
    else
    cout<<"Yes"<<"\n";
        
    return 0;
}

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


#include <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:9:8: error: lvalue required as left operand of assignment
    9 |       n/100=k;
      |       ~^~~~
a.cc:10:18: error: lvalue required as left operand of assignment
   10 |         (n-k*100)/10=l;
      |         ~~~~~~~~~^~~
a.cc:11:17: error: lvalue required as left operand of assignment
   11 |         (n-k*100-l*10)=o;
      |         ~~~~~~~~^~~~~~
a.cc:12:18: error: lvalue required as left operand of assignment
   12 |       if(k=7||l=7||o=7){
      |                 ~^~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: request for member 'at' in 'x', which is of non-class type 'int'
    8 |   if (x.at(0)=7||x.at(1)=7||x.at(2)=7) {
      |         ^~
a.cc:8:20: error: request for member 'at' in 'x', which is of non-class type 'int'
    8 |   if (x.at(0)=7||x.at(1)=7||x.at(2)=7) {
      |                    ^~
a.cc:8:31: error: request for member 'at' in 'x', which is of non-class type 'int'
    8 |   if (x.at(0)=7||x.at(1)=7||x.at(2)=7) {
      |                               ^~
Language: C

#include<stdio.h>
int main(void){
	int number;
	scanf("%d", &number);
  	
  	han_num = number / 100;
  	ten_num = (number - han_num * 100) / 10;
  	one_num = number - (han_num * 100) - (ten_num * 10)
  
  	if (han_num == 7 || ten_num == 7 || one_num == 7){
    	printf("Yes\n");
    } else {
    	printf("No\n")
    }
}
#include<stdio.h>
int main(void){
	int number, han_num, ten_num, one_num;
	scanf("%d", &number);
  	
  	han_num = number / 100;
  	ten_num = (number - han_num * 100) / 10;
  	one_num = number - (han_num * 100) - (ten_num * 10)
  
  	if (han_num == 7 || ten_num == 7 || one_num == 7){
    	printf("Yes\n");
    } else {
    	printf("No\n")
    }
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: 'han_num' undeclared (first use in this function)
    6 |         han_num = number / 100;
      |         ^~~~~~~
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:9: error: 'ten_num' undeclared (first use in this function)
    7 |         ten_num = (number - han_num * 100) / 10;
      |         ^~~~~~~
main.c:8:9: error: 'one_num' undeclared (first use in this function)
    8 |         one_num = number - (han_num * 100) - (ten_num * 10)
      |         ^~~~~~~
main.c:8:60: error: expected ';' before 'if'
    8 |         one_num = number - (han_num * 100) - (ten_num * 10)
      |                                                            ^
      |                                                            ;
    9 | 
   10 |         if (han_num == 7 || ten_num == 7 || one_num == 7){
      |         ~~                                                  
main.c: At top level:
main.c:17:5: error: redefinition of 'main'
   17 | int main(void){
      |     ^~~~
main.c:2:5: note: previous definition of 'main' with type 'int(void)'
    2 | int main(void){
      |     ^~~~
main.c: In function 'main':
main.c:23:60: error: expected ';' before 'if'
   23 |         one_num = number - (han_num * 100) - (ten_num * 10)
      |                                                            ^
      |                                                            ;
   24 | 
   25 |         if (han_num == 7 || ten_num == 7 || one_num == 7){
      |         ~~
Language: C

l = input()
print("Yes" if l[2]==7 else "No")

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

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

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

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


#include <bits/stdc++.h>
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){
      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:13: error: lvalue required as left operand of assignment
   10 |       if(k=7||l=7){
      |            ~^~~
Language: C

#include<iostream>
using naamespace std;
int main(){
int a;
cin>>a;
  if(a>699%a<800){cout<<"Yes";return 0;}
  else if(a%10==7){cout<<"Yes";return 0;}
    else if(a%100-a%10=7=0){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>
// #include <vector.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;

int main()
{
  int n;
  cin >> n;
  bool f = 0;
  rep(i, 3){
    if(n % 10 == 7) f = 1;
    n /= 10;
  }
  if(f) 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>

int main(){
  char str[4];
  std::cin >> n;
  for(int i = 0 ; i < 3; i++){
    if(str[i]==7){
      std::cout << "Yes" << std::endl;
      return 0;
    }
  }
  std::cout << "No" << std::endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: 'n' was not declared in this scope
    5 |   std::cin >> n;
      |               ^
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner scn = new Scanner(System.in);
      int N = scn.nextInt();
      scn.close();
      int s;
      for(int i = 0; i<3 ; i++){
      if(N.charAt(i) == '7'){
      s +=1;
      }
      }
  	if(s>0){
    System.out.println("Yes");
    }else{
    System.out.println("No");
    }
    }
}


Compiler output:
Main.java:9: error: int cannot be dereferenced
      if(N.charAt(i) == '7'){
          ^
1 error
Language: C++

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

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

}


Compiler output:
a.cc:3:9: error: 'Long' does not name a type; did you mean 'long'?
    3 | typedef Long Long ll;
      |         ^~~~
      |         long
a.cc: In function 'int main()':
a.cc:6:3: error: 'll' was not declared in this scope
    6 |   ll N;
      |   ^~
a.cc:7:5: error: expected ';' before 'sum'
    7 |   ll sum=0;
      |     ^~~~
      |     ;
a.cc:8:10: error: 'N' was not declared in this scope
    8 |   cin >> N;
      |          ^
a.cc:9:9: error: expected ';' before 'i'
    9 |   for(ll i=1;i<=N;i++){
      |         ^~
      |         ;
a.cc:9:14: error: 'i' was not declared in this scope
    9 |   for(ll i=1;i<=N;i++){
      |              ^
a.cc:10:25: error: 'sum' was not declared in this scope
   10 |     if(i%3!=0 && i%5!=0)sum+=i;
      |                         ^~~
a.cc:12:11: error: 'sum' was not declared in this scope
   12 |   cout << sum << endl;
      |           ^~~
Language: C

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

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

    string s;
    cin >> s;
    if(s[0] == '7' || s[1] == '7' || s[2] == '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>
#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;

    bool isSeven = false;

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

    if (isSeven) {
        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: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int m=0;
for(int i = 0;i<2;i++){
if((N%10)!=7){
N = (N-(N%10))/10;
m++;
}
else{
System.out.println("Yes");
break;
if(m==3||m==2){
System.out.println("No");
}
}
}
}
}


Compiler output:
Main.java:15: error: unreachable statement
if(m==3||m==2){
^
1 error
Language: C

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

int main() {
  int N;
  cin >> N;
  bool answer = false;
  if (N <= 999 && N >= 100) {
  if (N % 10 == 7 || (N % 100) / 10 == 7 || N / 100 == 7) {
    answer = true;
    if (answer) {
      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 = list(input())
print('Yes' if '7' in n else '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 'print'
    2 | print('Yes' if '7' in n else 'No')
      | ^~~~~
main.c:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if '7' in n else 'No')
      |       ^~~~~
main.c:2:30: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if '7' in n else 'No')
      |                              ^~~~