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

#include <bits/stdc++.h>

bool judgeSeven_100(int input){
	int hundredsPlace = input / 100;
  	bool isSeven = false;
  
  if(hundredsPlace == 7){
  	isSeven = true;
  }
  	
  return isSeven;
}

bool judgeSeven_10(int input){
	int tensPlace = (input % 100) / 10;
  bool isSeven = false;
  
  if(tensPlace == 7){
    isSeven = true;
  }
  
	return isSeven;
}

bool judgeSeven_1(int input){
	int onesPlace = (input % 10);
  bool 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: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 gcd(int a, int b) 
{ 
    if (a == 0) 
        return b; 
    return gcd(b % a, a); 
} 
int main(){
  int n;
  long int sum=0;
  cin>>k;
  for(int i=1;i<=k;i++){
    for(int j=1;j<=k;j++){
      for(int l=1;l<=k;l++){
        sum+=gcd(i,gcd(j,l));
      }
     }
   }
   cout<<sum;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: 'k' was not declared in this scope
   12 |   cin>>k;
      |        ^
Language: C++

#include<iostream>
#include<sstream>

using namespace std;

int main() {

	int n;
	cin >> n;
	int a;
	a = n - 700;
	if (a >= 0) {
		if (a < 100) {
			cout << "Yes" << endl;
			return ;
		}
	}

	a = n % 100;
	a = a - 70;
	if (a >= 0) {
		if (a < 10) {
			cout << "Yes" << endl;
			return ;
		}
	}

	a = n % 10;
	a = a - 7;
	if (a == 0) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}


	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   15 |                         return ;
      |                         ^~~~~~
a.cc:24:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   24 |                         return ;
      |                         ^~~~~~
Language: C

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


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

#include<iostream>
using namespace std;
int gcd(int a, int b) 
{ 
    if (a == 0) 
        return b; 
    return gcd(b % a, a); 
} 
int main(){
  int k;
  long int sum=0;
  cin>>k;
  for(int i=1;i<=k;i++){
    for(int j=1;j<=k;j++){
      for(int l=1;l<=k;l++{
        sum+=gcd(i,gcd(j,l));
      }
     }
   }
   cout<<sum;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ')' before '{' token
   15 |       for(int l=1;l<=k;l++{
      |          ~                ^
      |                           )
Language: C++

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

#define ll long long int
#define str string
#define ALL(a)  (a).begin(),(a).end()
#define P pair<ll,ll>

using Graph = vector<vector<int>>;

const int dy[] = { 0, 0, 1, -1 }, dx[] = { 1, -1, 0, 0 };
ll INFL = 1ll << 60, INF = 1 << 30, mod = 1e9 + 7, Min = INFL, Max = -1;
ll a, b, c, n, sum, A[500010], B[500000], rui[500000], dp[5000];
str S, T, U; bool check = true;	vector<ll> R,G,B;



int main() {
	//Code Line
cin >> S;
if(S[0] == '7')check = false;
if(S[1] == '7')check = false;
if(S[2] == '7')check = false;
if(check)cout << "No" << endl;
else cout << "Yes" << endl;

	return 0;
}


Compiler output:
a.cc:14:48: error: conflicting declaration 'std::vector<long long int> B'
   14 | str S, T, U; bool check = true; vector<ll> R,G,B;
      |                                                ^
a.cc:13:32: note: previous declaration as 'long long int B [500000]'
   13 | ll a, b, c, n, sum, A[500010], B[500000], rui[500000], dp[5000];
      |                                ^
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:15: error: unreachable statement
if(m==3){
^
1 error
Language: C

s = input()
if "7" in s:
	print("Yes")
else:
	print("No")

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

#include "stdc++.h"
//#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 n;
int main() {
	cin >> n;
	vector<int> a(n);
	rep(i, n) {
		a[i] = i + 1;
	}
	rep(i, n) {
		if ((a[i] % 3) == 0)a[i] = 0;
		if ((a[i] % 5) == 0)a[i] = 0;
	}
	int s = 0;
	rep(i, n) s += a[i];
	int ans;
	ans = s;
	cout << ans;
	
	return 0;
}

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>
#include<string>
#include<algorithm>
#include<iomanip>
#include<vector>

using namespace std;


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




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

import java.util.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

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:
      | ^~
Language: C

#include<bits/stdc++.h>
#define  forn(i, n)  for(int i=0; i < (int)n; i++)
using namespace std ;
// #define INPUT_OUTPUT { \
//  freopen("input.txt","r",stdin) ; \
//  freopen("output.txt","w",stdout) ; \
// }
void solve() {
  string s ;
  cin >> s ;
  for(char c : s) {
    if(c == '7'){ 
      cout << "Yes" ;
      return;
    }
  }
  cout << "No" ;
}
int main() {
  // INPUT_OUTPUT ;
  int t=1;
  //cin >> t ;
  while(t--) solve() ;
  return 0 ;
}

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

#include <iostream>

using namespace std;

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

   bool here = true;

   for (int i = 0; i < s.length(); i++) {

    if (s[i] == '7')
    here = false;

   }

   if (here == false)
    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() {
  int N;
  cin >> N;
  bool answer = false;
  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

#include <iostream>
//#include <typeinfo>
using namespace std;

int main(int argc,char *argv[]){
    int i;
    cin >> i;
    string a;
    a = to_string(i);

  //  cout << a << endl;
    
    const char* s = a.c_str();

    //cout << s << endl;
    //cout << *s << endl;
    //cout << &s << endl;

    //cout << typeid(s[2]).name() << endl;
    //cout << s[1] << endl;


    /*if('7' == s[2]){
        cout << "aaaaaaaaaaaa" << endl;
    }


*/
    int count = 0;


    for(int i = 0 ;i <= 2;i++){
  //      cout << "bbbbb" << endl;
   //     cout << typeid(s[i]).name() << endl;
        if('7' == s[i]){
            count ++;
     //       cout << "true" << endl;
        }
    
    }

    cout << count << endl;


    return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
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:8: error: unexpected type
if((N%10)=!7){
     ^
  required: variable
  found:    value
Main.java:8: error: bad operand type int for unary operator '!'
if((N%10)=!7){
          ^
2 errors
Language: C



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: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: In function 'main':
main.c:8:7: error: 'cin' undeclared (first use in this function)
    8 |       cin>>n;
      |       ^~~
main.c:8:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:7: error: 'cout' undeclared (first use in this function)
   13 |       cout<<"Yes"<<endl;
      |       ^~~~
main.c:13:20: error: 'endl' undeclared (first use in this function)
   13 |       cout<<"Yes"<<endl;
      |                    ^~~~
Language: C

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

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


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

#include <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<bits/stdc++.h>
using namespace std;
int main(){	
    char a[105];
    gets(a);
    int s,flag=0;
    s=strlen(a);
    for(int i=0;i<s;i++){
    	if(a[i]==55){
    		flag=1;
    		cout<<"Yes"<<endl;
    		break;
		}
	}
	if(flag==0) cout<<"No"<<endl;
    return 0;
}

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

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

int main() {
  string Ans = "No";  // 回答：

  string N;cin >> N;  //
  if ( N.at(0) == '7' ) { Ans = "Yes";}
  if ( N.at(1) == '7' ) { Ans = "Yes";}
  if ( N.at(2) == '7' ) { Ans = "Yes";}

  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 <bits/stdc++.h>
using namespace std;
 
int main() {
 
 int s;
 cin >> s;
  
 if ( s==107 ||s==117 ||s==127 ||s==137 ||s==147 ||s==157 || s==167 ||s==187 ||s==197 ||
      (s>=170 && s<=179) ||
      s==207 ||s==217 ||s==227 ||s==237 ||s==247 ||s==257 ||s==267 ||s==287 ||s==297 || 
      (s>=270 && s<=279) ||
      s==307 ||s==317 ||s==327 ||s==337 ||s==347 ||s==357 ||s==367 ||s==387 ||s==297 ||
      (s>=370 && s<=379) ||
      s==407 ||s==417 ||s==427 ||s==437 ||s==447 ||s==457 ||s==467 ||s==487 ||s==497 ||
      (s>=470 && s<=479) ||
      s==507 ||s==517 ||s==527 ||s==537 ||s==547 ||s==557 ||s==567 ||s==587 ||s==597 ||
      (s>=570 && s<=579) ||
      s==607 ||s==617 ||s==627 ||s==637 ||s==647 ||s==657 ||s==667 ||s==687 ||s==697 ||
      (s>=670 && s<=679) ||
      (s>=700 && s<=799) ||
      s==807 ||s==817 ||s==827 ||s==837 ||s==847 ||s==857 ||s==867 ||s==887 ||s==897 ||
      (s>=870 && s<=879)||
      s==907 ||s==917 ||s==927 ||s==937 ||s==947 ||s==957 ||s==967 ||s==987 ||s==997 ||
      (s>=970 && s<=979)
     ) { 
  cout << "Yes" << endl; 
  }
 
  else {
  cout << "No" << endl;
  }
}

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

ll N;
    cin >> N;
    ll a[N + 1];
    for(int i = 1; i <= N; ++i)
        cin >> a[i];
    ll ans[N + 1];
    ans[0] = 0;
    ans[1] = a[1];
    for(int i = 2; i <= N; ++i)
    {
        ans[i] = max(a[i] + ans[i-2], ans[i-1]);
        cout << ans[i] << endl;
    }
    cout << ans[N] << endl;

Compiler output:
a.cc:1:1: error: 'll' does not name a type
    1 | ll N;
      | ^~
a.cc:2:5: error: 'cin' does not name a type
    2 |     cin >> N;
      |     ^~~
a.cc:3:5: error: 'll' does not name a type
    3 |     ll a[N + 1];
      |     ^~
a.cc:4:5: error: expected unqualified-id before 'for'
    4 |     for(int i = 1; i <= N; ++i)
      |     ^~~
a.cc:4:20: error: 'i' does not name a type
    4 |     for(int i = 1; i <= N; ++i)
      |                    ^
a.cc:4:28: error: expected unqualified-id before '++' token
    4 |     for(int i = 1; i <= N; ++i)
      |                            ^~
a.cc:6:5: error: 'll' does not name a type
    6 |     ll ans[N + 1];
      |     ^~
a.cc:7:5: error: 'ans' does not name a type
    7 |     ans[0] = 0;
      |     ^~~
a.cc:8:5: error: 'ans' does not name a type
    8 |     ans[1] = a[1];
      |     ^~~
a.cc:9:5: error: expected unqualified-id before 'for'
    9 |     for(int i = 2; i <= N; ++i)
      |     ^~~
a.cc:9:20: error: 'i' does not name a type
    9 |     for(int i = 2; i <= N; ++i)
      |                    ^
a.cc:9:28: error: expected unqualified-id before '++' token
    9 |     for(int i = 2; i <= N; ++i)
      |                            ^~
a.cc:14:5: error: 'cout' does not name a type
   14 |     cout << ans[N] << endl;
      |     ^~~~
Language: C++

#include<stdio.h>
#include<cmath>
#include<vector>

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

  std::vector<int> number(3); 

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

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

  if(flag == false) std::cout << "No" << std::endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'cin' is not a member of 'std'
    8 |   std::cin >> input;
      |        ^~~
a.cc:4:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    3 | #include<vector>
  +++ |+#include <iostream>
    4 | 
a.cc:20:12: error: 'cout' is not a member of 'std'
   20 |       std::cout << "Yes" << std::endl;
      |            ^~~~
a.cc:20:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:20:34: error: 'endl' is not a member of 'std'
   20 |       std::cout << "Yes" << std::endl;
      |                                  ^~~~
a.cc:4:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    3 | #include<vector>
  +++ |+#include <ostream>
    4 | 
a.cc:25:26: error: 'cout' is not a member of 'std'
   25 |   if(flag == false) std::cout << "No" << std::endl;
      |                          ^~~~
a.cc:25:26: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:25:47: error: 'endl' is not a member of 'std'
   25 |   if(flag == false) std::cout << "No" << std::endl;
      |                                               ^~~~
a.cc:25:47: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

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

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

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

#include<bits/stdc++.h>

using namespace std;
int main()
{ int n,found=0;
  cin>>n;
  while(n>0)
  {
      int rem=n%10;
      if(rem==7)
      {

          found=1;break;
      }

      n=n/10;

  }

 if(found==1)
 {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

n = int(input())
if n% 10 == 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: Java

import java.util.Scanner;
public class Lucky7{
    public static void main(String[] args){
        Boolean flag = false;
        Scanner scan = new Scanner(System.in);
        String N = scan.nextLine();
        char[] Narray = N.toCharArray();
        for(char ln :Narray){
            if(ln == '7'){
                System.out.println("Yes");
                flag = true;
            }
        }
        if(flag == false)
            System.out.println("No");
    }
}

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

#include <iostream>
using namespace std;

int main(){
	ios_base::sync_with_stdio(false); 
	cin.tie(NULL); 
	cout.tie(NULL);
	
	bool hasSev;
	
	int n;
	int r;
	cin>>n;
	int t = 3;
	
	while(t >0){
		r = n%10;
		if(r == 7){
			hasSev = true;
			break;
		}
		else{
			n/=10;
		}
		t--;
	}
	
	if(hasSev){
		cout<<"Yes";
	}
	else{
		cout<<"No";
	}
	return 0;


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

#include <bits/stdc++.h>
using namespace std;
int main(){
  string N;
  cin >> N;
  for (int i=0; i<3; i++){
    if (N.at(i) == '7'){
      cout << "Yes"s;
      goto N;
    }
  }
  cout << "No"s;
N:
  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 <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 <bits/stdc++.h>
using namespace std;

int main() {
 
 int s;
 cin >> s;
  
 if ( s==107 ||s==117 ||s==127 ||s==137 ||s==147 ||s==157 || s==167 ||s==187 ||s==197 ||
      (s>=170 && s<=179) ||
      s==207 ||s==217 ||s==227 ||s==237 ||s==247 ||s==257 ||s==267 ||s==287 ||s==297 || 
      (s>=270 && s<=279) ||
      s==307 ||s==317 ||s==327 ||s==337 ||s==347 ||s==357 ||s==367 ||s==387 ||s==297 ||
      (s>=370 && s<=379) ||
      s==407 ||s==417 ||s==427 ||s==437 ||s==447 ||s==457 ||s==467 ||s==487 ||s==497 ||
      (s>=470 && s<=479) ||
      s==507 ||s==517 ||s==527 ||s==537 ||s==547 ||s==557 ||s==567 ||s==587 ||s==597 ||
      (s>=570 && s<=579) ||
      s==607 ||s==617 ||s==627 ||s==637 ||s==647 ||s==657 ||s==667 ||s==687 ||s==697 ||
      (s>=670 && s<=679) ||
      (s>=700 && s<=799) ||
      s==807 ||s==817 ||s==827 ||s==837 ||s==847 ||s==857 ||s==867 ||s==887 ||s==897 ||
      (s>=870 && s<=879)||
      s==907 ||s==917 ||s==927 ||s==937 ||s==947 ||s==957 ||s==967 ||s==987 ||s==997 ||
      (s>=970 && s<=979)
     ) { 
  cout << "Yes" << endl; 
  }

  else {
  cout << "No" << endl;
  }
}

Compiler output:
main.c:1:11: 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 int ll;
#define INF 1999999999
#define MODA 1000000007
#define PI 3.1415926535897932384626433

int main()
{
    // freopen("input.txt", "r", stdin);
    // freopen("output.txt", "w", stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);
    string s;
    cin >> s;
    int count7 = count(s.begin(), s.end(), '7');
    if(count7 > 0){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }

    return 0;
}


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

#include <iostream>
#include <string>
#include <math.h>
#include <vector>

using namespace std;

int main() {

	char M[3];
	int i;
	
	for (i = 0; i < 3; i++) {
		cin >> M[i];
	}
	for (i = 0; i < 3; i++) {
		if (M[i] == '7') {
			cout << "Yes";
			return 0;
		}
	}
	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<vector>
using naespace std;

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


Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'naespace'
    3 | using naespace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string s;
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>s;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:8: error: 's' was not declared in this scope
    7 |   cin>>s;
      |        ^
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |   }else{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 <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
  string n;
  char t;
  int j=0;
  cin >> n;
  for(int i=0;i < 3;i++)
  {
    t=n.at(i);
    if(t=='7')
    {
      cout << "Yes";
      j=1;
      break;
    }
  }
  if(j==0)
  {
    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<algorithm>
#include<map>
#include<cstdlib>
using namespace std;
int main()
{
	int n; 
	bool fl = false;
	cin >>n;
	if((n%100)%10==7) fl=true;
	if((n%100)/10==7) fl=true;
	if(n/100==7) fl=true;
	if(fl)cout<<"Yes"<<endl;
	else cout<<"No"<<endl ;
	return 0;
}

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

N=str(input())

flag=False
for i in N:
    if i=="7":
        flag=True

if flag:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N=str(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | N=str(input())
      |   ^~~
main.c:1:7: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N=str(input())
      |       ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | N=str(input())
      |   ^~~
main.c:3:1: error: expected ',' or ';' before 'flag'
    3 | flag=False
      | ^~~~
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;
  //int X;
  cin >> S;
  
  //if(S = '7' || S = '17' || S = '70') {
    //cout << "Yes" << endl;
  //}
  //cout << S.at(2) << endl;
  
  if (S.at(0) == '7') {
    //if (X / 100 != '7') {
     cout << "Yes" << endl;
     // cout << "No" << endl;
  }
  else if (S.at(1) == '7') {
     cout << "Yes" << endl;
     //cout << "No" << endl;
  } 
  else if (S.at(2) == '7') {
    cout << "Yes" << endl;
    //cout << "No" << endl;
  }
  else {
    //cout << "Yes" << endl;
    cout << "No" << endl;
  }
  //cout << Z << " " << X << " " << Y << 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>
int main()
{ int n,i,c=0;
 sacnf("%d",&n);
 while(n!=0)
 { i=n/=10;
  if(i==7)
  {
  c=1;
  break;}
 }
 if(c==1)
   printf("Yes");
 else
   printf("No");
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'sacnf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |  sacnf("%d",&n);
      |  ^~~~~
      |  scanf
Language: C

#include <iostream>
using namespace std;

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

    uint64_t sum = 0;
    for (int i = 0; i < N; i++)
    {
        if ((i % 3 != 0) && (i % 5 != 0))
        {
            sum += i;
        }
    }
    cout << sum << endl;

    return 0;
}

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

import java.util.Sacnner;
public class Main{
    public static void main(String args[]){
        Scanner scn = new Scanner(System.in);

        int n = scn.nextInt();

        while( n > 0){
            if(n%10 == 7){
                System.out.println("YES");
                return;
            }
            else n = n/10;
        }
    }
}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util.Sacnner;
                ^
  symbol:   class Sacnner
  location: package java.util
Main.java:4: error: cannot find symbol
        Scanner scn = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        Scanner scn = new Scanner(System.in);
                          ^
  symbol:   class Scanner
  location: class Main
3 errors
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:
a.cc: In function 'int main()':
a.cc:6:31: error: expression cannot be used as a function
    6 |   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;
      |                          ~~~~~^~~~~~~~~
a.cc:6:75: error: expression cannot be used as a function
    6 |   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;
      |                                                                     ~~~~~~^~~~~~~~~~
Language: C

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

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

    bool answer = false;
    for (int i = 0; i < 3; ++i)
    {
        if (str.at(i) == '7')
        {
            answer = true;
        }
    }

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

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

#include<iostream>
#include<vector>
using naespace std;

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

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

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

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


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

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

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

#include<stdio.h>

int main(){
	int N;

	scanf("%d",&N);

	int a[N];

	int temp;
	int sum = 0;
	int i;
	for(i=0;i<N;i++){
		temp = i+1;
		if(temp % 3 == 0){
			temp = 0;
		}else if(temp % 5 == 0){
			temp = 0;
		}

		a[i] = temp;
		sum = a[i]

	}

	printf("%d",sum);


	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:22:27: error: expected ';' before '}' token
   22 |                 sum = a[i]
      |                           ^
      |                           ;
   23 | 
   24 |         }
      |         ~
Language: C

#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
using namespace std;

int main(){
    int n;
    cin >> n;
    int i;
    string result;
    result = "No";
    for(i=0;i<3;i++){
        n = n % 10;
        cout << n << endl;
        if(n == 7){
            result = "Yes";
            break;
        }
    }
    cout << result << endl;
}

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

#include <cmath>
#include <iostream>
#include <functional>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include <iomanip>
#include <math.h>
#include <list>
#include <numeric>
using namespace std;

long long combi(long long n, long long k) {
  if (n == k || k == 0)
    return 1;
  else {
    return combi(n - 1, k - 1) + combi(n - 1, k);
  }
}

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


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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace competition
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            bool isFound = false;
            for (int i = 0; i < 3; i++)
            {
                 
                int rem = a % 10;
                a = a / 10;
                if (rem == 7)
                {
                    isFound = true;
                    break;
                }
            }
            if (isFound==true)
            {
                Console.WriteLine("Yes");
            }
            if (isFound==false)
            {
                Console.WriteLine("No");
            }
        }
            
                
             

        
    }
}




Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Collections.Generic;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Collections.Generic;
      |             ^
main.c:3:1: error: unknown type name 'using'
    3 | using System.Linq;
      | ^~~~~
main.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | using System.Linq;
      |             ^
main.c:4:1: error: unknown type name 'using'
    4 | using System.Text;
      | ^~~~~
main.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | using System.Text;
      |             ^
main.c:5:1: error: unknown type name 'using'
    5 | using System.Threading.Tasks;
      | ^~~~~
main.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | using System.Threading.Tasks;
      |             ^
main.c:7:1: error: unknown type name 'namespace'
    7 | namespace competition
      | ^~~~~~~~~
main.c:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    8 | {
      | ^
Language: C

#include <iostream>
using namespace std;

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

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

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

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

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

    bool answer = false;
    for (int i = 0; i < 3; ++i)
    {
        if (str.at(i) == '7')
        {
            answer = true;
        }
    }

    if (answer)
    {
        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<stdio.h>
void main(){
  int n, r;
  while(n != 0)
  {
    r = n%100;
    if(r == 7)
      printf("Yes");
    break;
    else if
    {
      n= n/100;
      r = n%10;
       if(r == 7)
      printf("Yes");
    break;
    }
    else if
    {
      n = n/10;
      if(n == 7){
        printf("Yes");
      }
      else{
        printf("No");
      }
    }
        

Compiler output:
main.c: In function 'main':
main.c:10:5: error: 'else' without a previous 'if'
   10 |     else if
      |     ^~~~
main.c:11:5: error: expected '(' before '{' token
   11 |     {
      |     ^
      |     (
main.c:19:5: error: expected '(' before '{' token
   19 |     {
      |     ^
      |     (
main.c:27:5: error: expected declaration or statement at end of input
   27 |     }
      |     ^
main.c:27:5: error: expected declaration or statement at end of input
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++){
       switch (N.charAt(i))
        case 7 -> s += 1;
        default -> s += 0;
      };
      if(s>=1){
      System.out.println("Yes");
      }else{
      System.out.prontln("No");
      };
    }
}


Compiler output:
Main.java:9: error: '{' expected
       switch (N.charAt(i))
                           ^
Main.java:19: error: reached end of file while parsing
}
 ^
2 errors
Language: C

#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
#include <map>
#include <set>
using namespace std;

int main() {
	string s;
	cin >> s;
	bool f = 0;
	for (int i = 0; i < 3; i++) {
		if (s[i] == '7') f = 1;
	}
	if (f) 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

N = input()
  
print("Yes" if "7" in str(N) else "No")

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

#include <iostream>


using namespace std;



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


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

#include<bits/stdc++.h>

using namespace std;
using ll=long long;
using vi=vector<int>;
using vl=vector<ll>;
using vs=vector<string>;
using li=list<int>;
using lil=list<ll>;
using lis=list<string>;
using fli=forward_list<int>;
using fll=forward_list<ll>;
using fls=forward_list<string>;
using si=stack<int>;
using sl=stack<ll>;
using ss=stack<string>;
using qi=queue<int>;
using ql=queue<ll>;
using qs=queue<string>;
using pqi=priority_queue<int>;
using pql=priority_queue<ll>;
using pqs=priority_queue<string>;
using dqi=deque<int>;
using dql=deque<ll>;
using dqs=deque<string>;

#define pb push_back
#define pf push_front
#define mp make_pair
#define fi first
#define se second
#define All(s) s.begin(),s.end()
#define rAll(s) s.rbegin(),s.rend()
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep2(i, a, n) for(int i = (n); i < (a); i++)
#define repr(i, n) for(int i = (n); i >= 0; i--)
#define repr2(i, a, n) for(int i = (n); i >= (a); i--)

template<typename T,typename U>
void Inparray(T &f,U n){for(int i=0;i<n;i++) cin>>f[i];}

template<typename T,typename U>
void Printarray(T f,U n){for(int i=0;i<n;i++) i!=n ? cout<<f[i]<<" " : cout<<f[i];}
template<typename T,typename U>
void Printarray2(T f,U n){for(int i=0;i<n;i++) cout<<f[i]<<endl;}
template<typename T,typename U,typename V>
void Printarray3(T f,U a,V b){
  rep(i,a){
    rep(j,b){
      cout<<f[i][j];
    }
    cout<<endl;
  }
}
template<typename T,typename U>
void Printarray4(T f,U n){
  rep(i,n){
    rep(j,n){
      cout<<f[i][j];
    }
    cout<<endl;
  }
}

void flagfunc(bool flag,string A,string B){flag ? cout<<A<<endl : cout<<B<<endl;}
void flag2func(bool flag){flag ? cout<<"Yes"<<endl : cout<<"No"<<endl;}
void flag3func(bool flag){flag ? cout<<"YES"<<endl : cout<<"NO"<<endl;}

int main(){
  cin.tie(nullptr);ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  string s;cin>>s;
  string::size_type pos=s.find("7");
  flag2func(pos != string::npos);
}


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

import java.util.Scanner;
public static 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++){
       switch (N.charAt(i))
        case 7 -> s += 1;
        default -> s += 0;
      };
      if(s>=1){
      System.out.println("Yes");
      }else{
      System.out.prontln("No");
      };
    }
}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
public static Main{
              ^
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)
Main.java:9: error: '{' expected
       switch (N.charAt(i))
                           ^
3 errors
Language: C++

#include"bits/stdc++.h"
#include<boost/multi_array.hpp>
#include<boost/optional.hpp>
#include<boost/range/irange.hpp>
#include<boost/range/algorithm.hpp>
#include<boost/range/adaptors.hpp>
using namespace std;
namespace adaptor = boost::adaptors;
 
void Main()
{
	int N;
  
  	cin >> N;
  
    string n = (string)N;
  
    if(n[0] == '7'){
      printf("Yes");
    }
	else if(n[1] == '7'){
	printf("Yes");
    }
    else if(n[2] == '7'){
	printf("Yes");
    }
  else
    printf("No");
}
 
int main()
{
	std::cin.tie(nullptr);
	std::ios_base::sync_with_stdio(false);
	std::cout << std::fixed << std::setprecision(15);
	Main();
}

Compiler output:
a.cc:2:9: fatal error: boost/multi_array.hpp: No such file or directory
    2 | #include<boost/multi_array.hpp>
      |         ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>

inline int read() {
    int x = 0, f = 1; char ch = getchar();
    while(ch > '9' || ch < '0') { if(ch == '-') f = -1; ch = getchar(); }
    do x = x * 10 + ch - 48, ch = getchar(); while(ch >= '0' && ch <= '9');
    return x * f;
}

int main() {
    int n = read();
    if(n % 10 == 7 || n / 10 % 10 == 7 || n / 100 == 7) std::puts("Yes");
    else std::puts("No");
    return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 | if(N.at(0) == 7|| N.at(1) == 7 || N.at(2) == 7)
      |      ^~
a.cc:7:21: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 | if(N.at(0) == 7|| N.at(1) == 7 || N.at(2) == 7)
      |                     ^~
a.cc:7:37: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 | if(N.at(0) == 7|| N.at(1) == 7 || N.at(2) == 7)
      |                                     ^~
Language: C++

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

  
}


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