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

val s = TextIO.inputLine TextIO.stdIn

val cnt = length (List.filter (fn c => c = #"7") (explode s))

val () =
  if cnt > 0 then print "Yes\n"
  else print "No\n"


Compiler output:
main.c:1:1: error: unknown type name 'val'
    1 | val s = TextIO.inputLine TextIO.stdIn
      | ^~~
main.c:1:9: error: 'TextIO' undeclared here (not in a function)
    1 | val s = TextIO.inputLine TextIO.stdIn
      |         ^~~~~~
main.c:1:26: error: expected ',' or ';' before 'TextIO'
    1 | val s = TextIO.inputLine TextIO.stdIn
      |                          ^~~~~~
main.c:3:44: error: stray '#' in program
    3 | val cnt = length (List.filter (fn c => c = #"7") (explode s))
      |                                            ^
Language: C

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

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


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

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

int main(){
    int n;cin >> n;
    string num, ans;
    ans = "No";
    num = to_string(n);
    rep(i, 3) if(num[i] == '7'){
        ans = "Yes";
        break;
    }
    cout << ans <<endl;
    return 0;
}

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

#include <iostream>

using namespace std;

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

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

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'n' was not declared in this scope
    7 | if((n % 100 >= 70 && n % 100 < 80) || n % 10 == 7 || n / 100 == 7)
      |     ^
Language: C++

if((n % 100 >= 70 && n % 100 < 80) || n % 10 == 7 || n / 100 == 7)
  cout << "Yes";
else 
  cout << "No";

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'if'
    1 | if((n % 100 >= 70 && n % 100 < 80) || n % 10 == 7 || n / 100 == 7)
      | ^~
a.cc:3:1: error: expected unqualified-id before 'else'
    3 | else
      | ^~~~
Language: C++

if(n / 100 == 7 || n % 10 == 7 || (n % 100 >= 70 && n % 100 <= 79)
  cout << "Yes";

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'if'
    1 | if(n / 100 == 7 || n % 10 == 7 || (n % 100 >= 70 && n % 100 <= 79)
      | ^~
Language: C

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

int main()
{
cin>>s;
for(int i=0;i<=s.size();i++)
if(s[i]=="7")
{
	cout<<"Yes";
	return 0;
}
cout<<"No"

return 0;

}

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

//g++ -std=gnu++14 a.cpp

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <iostream>
#include <istream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <tuple>
#include <iomanip>
#include <random>
#include <math.h>

using namespace std;

#define ll long long
#define rep(i, n) for(ll i = 0; i < (n); i++)
ll MOD = 1e9 + 7;
int INF = 1 << 30;
ll INFL = 1LL << 60;

int main(){
  string S;
  cin >> S;
  bool hantei = false;
  rep(i,3){
    if(S.at(i) == '7'){
      hantei = true;
    }
  }
  if(hantei){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;

  }

 }


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

#include <bits/stdc++.h>
using namespace std;
int main (){
    char s[4];
    scanf ( "%s" , 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>
using namespace std;
int main (){
    char s[4];
    scanf ( "%s" , s );
    if ( s [0]== '7' || s [1]== '7' || s [2]== '7' ) puts ( "Yes" );
    else puts ( "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

int main(){
  char s[4];
  scanf("%s",s);
  if(s[0]==7 || s[1]==7 || s[2]==7){
    puts("Yes");
  }else{
    puts("No");
  }

Compiler output:
main.c: In function 'main':
main.c:3:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |   scanf("%s",s);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |   scanf("%s",s);
      |   ^~~~~
main.c:3:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:5: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    5 |     puts("Yes");
      |     ^~~~
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:8:3: error: expected declaration or statement at end of input
    8 |   }
      |   ^
Language: C

N=int(input())
n=N
for i in range(3):
    tmp=n%10
    if tmp==7:
        print("Yes")
        break
    n=n//10
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:3: error: expected expression before 'int'
    1 | N=int(input())
      |   ^~~
Language: C

import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		String string[] = {"Yes", "No"};
		int ans = 1;
		while(n > 0){
			int tmp = n / 10;
			int digitnum = n - tmp * 10;
			if(digitnum == 7)ans = 0;
			n /= 10;
		}
		sc.close();
		System.out.println(string[ans]);
	}
}


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:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
Language: C

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


using namespace std;

void eslam()

{
	ios_base::sync_with_stdio;
	cin.tie(0);
	cout.tie(0);
}

int main()


{

	eslam();

	string x;
	cin >> x;
	bool b = false;
	for (int i = 0; i < x.length(); i++)
	{
		if (x[i] == '7')
		{
			b = true;
			cout << "YES" << endl;
			break;
		}
	}
	if (b == false)
		cout << "NO" << endl;


}





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

n=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=input();print('Yes' if '7' in n else 'No')
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n=input();print('Yes' if '7' in n else 'No')
      |   ^~~~~
main.c:1:3: error: initializer element is not constant
main.c:1:17: warning: multi-character character constant [-Wmultichar]
    1 | n=input();print('Yes' if '7' in n else 'No')
      |                 ^~~~~
main.c:1:17: error: expected declaration specifiers or '...' before '\x596573'
main.c:1:40: warning: multi-character character constant [-Wmultichar]
    1 | n=input();print('Yes' if '7' in n else 'No')
      |                                        ^~~~
Language: C

print('YNeos'['7'not in input()::2])

Compiler output:
main.c:1:7: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    1 | print('YNeos'['7'not in input()::2])
      |       ^~~~~~~
main.c:1:7: error: expected declaration specifiers or '...' before '\x4e656f73'
Language: Java

Scanner sc = new Scanner(System.in);
String n = sc.next();
if (n.indexOf("7") == -1) {
  System.out.println("No");
} else {
  System.out.println("Yes");
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
Scanner sc = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
if (n.indexOf("7") == -1) {
^
Main.java:5: error: class, interface, enum, or record expected
} else {
^
Main.java:7: error: class, interface, enum, or record expected
}
^
4 errors
Language: C

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


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

#include <bits/stdc++.h>
using namespace std;
#define ll long long
int n;
int main()
{
    cin>>n;
    if(n%7==0)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 "pch.h"
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>
#include <time.h>
#include <numeric>
using namespace std;
//#define int long long
#define rep(i,s,n) for(int i = s;i<n;i++)
#define repe(i,s,n) for(int i = s;i<=n;i++)
#define rrep(i,s,n) for(int i = (n)-1;i>=(s);i--)
#define all(v) (v).begin(),(v).end()
#define pb push_back
#define fi first
#define se second
#define chmin(a,b) a=min((a),(b))
#define chmax(a,b) a=max((a),(b))
#define l1 list[index]
#define l2 list[index - 1]
#define l3 list[index + 1]
#define iif(i,j) ((i<0 && j<0) || (i>0 && j>0)) ? true : false 
typedef long long ll;
typedef pair<int, int>pint;
typedef vector<int>vint;
typedef vector<pint>vpint;
typedef pair<pint, int> P1;
typedef pair<int, pint> P2;
typedef pair<pint, pint> PP;
static const ll maxLL = (ll)1 << 62;
const ll MOD = 1000000007;
const ll INF = 1e18;
const double PI = 3.14159265359;
int ca[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };




signed main() {
	string s;

	cin >> s;

	bool flag = false;
	for (int i = 0; i < s.length(); i++) {
		if (s[i] == '7')flag = true;
	}

	if (flag == true) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	return 0;
}

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

#include "pch.h"
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>
#include <time.h>
#include <numeric>
using namespace std;
//#define int long long
#define rep(i,s,n) for(int i = s;i<n;i++)
#define repe(i,s,n) for(int i = s;i<=n;i++)
#define rrep(i,s,n) for(int i = (n)-1;i>=(s);i--)
#define all(v) (v).begin(),(v).end()
#define pb push_back
#define fi first
#define se second
#define chmin(a,b) a=min((a),(b))
#define chmax(a,b) a=max((a),(b))
#define l1 list[index]
#define l2 list[index - 1]
#define l3 list[index + 1]
#define iif(i,j) ((i<0 && j<0) || (i>0 && j>0)) ? true : false 
typedef long long ll;
typedef pair<int, int>pint;
typedef vector<int>vint;
typedef vector<pint>vpint;
typedef pair<pint, int> P1;
typedef pair<int, pint> P2;
typedef pair<pint, pint> PP;
static const ll maxLL = (ll)1 << 62;
const ll MOD = 1000000007;
const ll INF = 1e18;
const double PI = 3.14159265359;
int ca[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };




signed main() {
	string s;

	cin >> s;

	bool flag = false;
	for (int i = 0; i < s.length(); i++) {
		if (s[i] == '7')flag = true;
	}

	if (flag == true) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define until(x) while(!(x))
#define unless(x) if(!(x))
#define all(x) (x).begin(),(x).end()
#define F first
#define S second
#define pc __builtin_popcount

int32_t main(){
	string s;
	cin>>s;
	if(s.find('7')!=string::npos){
		cout<<"Yes";
	}
	else {
		cout<<"No";
	}
}


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

#include <iostream>
#include <string>
using namespace std;
void solve(){
string a;
	cin>>a;
	for(int i=0;i<a.size();i++)
		if(a[i]=='7'){
			cout<<"Yes"<<endl;
			return;
		}
	cout<<"No"<<endl;
}
int main(){
	solve();
	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>
#include <string>
#include <sstream>
#include <algorithm>
using namespace std;
namespace {

	void chmin(long long& x, long long y)
	{
		if (x > y || x < 0)
			x = y;
	}

	void chmax(long long& x, long long y)
	{
		if (x < y)
			x = y;
	}

	bool isSevenContained(long N)
	{
		int three = N / 100;
		if (three == 7)
			return true;
		N -= three * 100;
		int two = N / 10;
		if (two == 7)
			return true;
		N -= two * 10;
		return N == 7;
	}

	void core()
	{
		long N;
		cin >> N;

		bool ret = isSevenContained(N);
		string out = ret ? "Yes" : "No";
		cout << out;
	}
}

int main()
{
	core();

	return 0;
}

//int main()
//{
//	for (long i = 0; i < 3; ++i)
//	{
//		cout << "Input test" << endl;
//		core();
//		cout << endl;
//	}
//
//	cout << "test ended" << endl;
//
//	int ret;
//	cin >> ret;
//
//	return 0;
//}

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

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

using namespace std;

void A_162()
{
  string N;
  cin >> N;

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

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

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

using namespace std;

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

  if (N.find("7") == -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 N;
	cin >> N;
    auto pos = N.find("7");
    if(pos == std::string::npos)
    {
        cout << "No" << endl;
    }else{
        cout << "Yes" << 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

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

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

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

int main(){
  string n;
  cin >> n;
  bool ok = false;
  rep(i,3){
    if(n[i]=='7') ok = true;
  }
  if(ok){
    puts("Yes");
  }else{
    puts("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 <iostream>

using namespace std;

int main() {
    string str;
    cin >> str;
    bool flag=false;
    for(int i=0; i<str.size(); i++) {
        if(str[i]=='7') {
            flag=true;
            break;
        }
    }

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

    return 0;
    
}

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

#include <bits/stdc++.h>
using namespace std;
int main (){
    char s[4];
    scanf ( "%s" , s );
    if ( s [0]== '7' || s [1]== '7' || s [2]== '7' ) puts ( "Yes" );
    else puts ( "No" );
    return 0;
    }


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

#include <bits/stdc++.h>
using namespace std;
int main (){
    char s[4];
    scanf ( "%s" , s );
    if ( s [0]== '7' || s [1]== '7' || s [2]== '7' ) puts ( "Yes" );
    else puts ( "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>
using namespace std;
int main(){
	int n;
    cin>>n;
    if(n%10==7||(n-n%10)%100==70||(n-n%100)%1000==700)
      cout<<"Yes";
    else 
      cout<<"No";
	return 0;
}



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

#include <bits/stdc++.h>
using namespace std;
int main(){
	int n;
    cin>>n;
    if(n%10==7||(n-n%10)%100==70||(n-n%100)%1000==700)
      cout<<"Yes";
    else 
      cout<<"No";
	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
int n;
int main(){
    cin>>n;
    if(n%10==7||(n-n%10)%100==70||(n-n%100)%1000==700)
      cout<<"Yes";
    else 
      cout<<"No";
	return 0;
}



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

#include <bits/stdc++.h>
using namespace std;
#define ll long long;
int n;
int main(){
    cin>>n;
    if(n%7==0)
      cout<<"Yes";
    else 
      cout<<"No";
	return 0;
}



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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  string s;
  for(int i=0;i<n;i++){
    cin>>s[i];
    if(s[i]=='7'){
      cout<<YES;
    }
    else{
      continue;
    }
    return 0;
  }
  cout<<NO;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: 'YES' was not declared in this scope
    9 |       cout<<YES;
      |             ^~~
a.cc:16:9: error: 'NO' was not declared in this scope
   16 |   cout<<NO;
      |         ^~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,g,s,b;
	cin>>a;
	g=a%10;
	a=a/10;
	s=a%10;
	a=a/10;
	b=a;
	if(g==7)
	{
		cout<<"Yes";
		return 0;
	}
	if(s==7)
	{
		cout<<"Yes";
		return 0;
	}
	if(b==7)
	{
		cout<<"Yes";
		return 0;
	}
	cout<<"No";
    return 0;
}



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

#include <bits/stdc++.h>

#define forn(i, n) for (int i = 0; i < int(n); ++i)
#define for1(i, n) for (int i = 1; i <= int(n); ++i)
#define ms(a, x) memset(a, x, sizeof(a))
#define F first
#define S second
#define all(x) (x).begin(),(x).end()

using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int INF = 0x3f3f3f3f;
mt19937 gen(random_device{}());

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



Compiler output:
a.cc: In function 'int main()':
a.cc:21:29: error: 'std::__cxx11::basic_string<char>::npos' cannot be used as a function
   21 |     if(st.find('7')!=st.npos()) cout<<"Yes";
      |                      ~~~~~~~^~
Language: C++

#include <iostream>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <string>
#include <set>
#include <vector>
#include <queue>
#include <stack>
#include <map>
using namespace std;
#define ms(a, x) memset(a, x, sizeof(a))
#define fore(i, a, n) for (long long i = a; i < n; i++)
#define ford(i, a, n) for (long long i = n - 1; i >= a; i--)
#define si(a) scanf("%d", &a)
#define sl(a) scanf("%lld", &a)
#define sii(a, b) scanf("%d%d", &a, &b)
#define siii(a, b, c) scanf("%d%d%d", &a, &b, &c)
#define sll(a, b) scanf("%lld%lld", &a, &b)
#define slll(a, b, c) scanf("%lld%lld%lld", &a, &b, &c)
#define debug(a) cout << a << endl
#define pr(a) printf("%d ", a)
#define endl '\n'
#define pi acos(-1.0)
#define tr t[root]
#define lson t[root << 1]
#define rson t[root << 1 | 1]
#define IO ios::sync_with_stdio(false), cin.tie(0)
#define ull unsigned long long
#define py puts("Yes")
#define pn puts("No")
#define pY puts("YES")
#define pN puts("NO")
#define re(i, a, b) for (int i = a; i <= b; ++i)
#define de(i, a, b) for (int i = b; i >= a; i--)
const double eps = 1e-8;
inline int sgn(const double &x) { return x < -eps ? -1 : x > eps; }
typedef long long ll;
const int inf = 0x3f3f3f3f;
const int MAXN = 2e6 + 5;
template <class T>
inline void cmin(T &a, T b) { ((a > b) && (a = b)); }
template <class T>
inline void cmax(T &a, T b) { ((a < b) && (a = b)); }
ll a[MAXN];
vector<ll> v;
void solve()
{
  ll n;
  sl(n);
  v.clear();
  re(i, 1, n) sl(a[i]);
  if (a[n] > 0)
    a[n + 1] = -1;
  else
    a[n + 1] = 1;
  ll ma = -1e9 - 5;
  re(i, 1, n) if (a[i] > 0 && a[i + 1] > 0)
  {
    ma = max(a[i], ma);
  }
  else if (a[i] < 0 && a[i + 1] < 0)
  {
    ma = max(ma, a[i]);
  }
  else if (a[i] > 0 && a[i + 1] < 0)
  {
    ma = max(a[i], ma);
    v.push_back(ma);
    ma = -1e9 - 5;
  }
  else if ((a[i] < 0 && a[i + 1] > 0))
  {
    ma = max(a[i], ma);
    v.push_back(ma);
    ma = -1e9 - 5;
  }
  ll sum = 0;
  for (auto it : v)
  {
    sum += it;
  }
  cout << sum << endl;
}
int main()
{
  string s;
  cin>>s;
  for(auto it:s)
  {
    if(it=='7')py;return;
  }
  pn;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:94:19: error: return-statement with no value, in function returning 'int' [-fpermissive]
   94 |     if(it=='7')py;return;
      |                   ^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
	cin>>n;
	int n1,n2,n3;
	n1=n%10;
	n2=n/10%10;
	n3=n/100%10;
	if(n1==7||n2==7||n3==7)
	cout<<"Yes";
	else
	cout<<"No";
}

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

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

int main() {
  int N ;
  cin >> N ;
  char a = N.at(0);
  char b = N.at(1);
  char c = N.at(2);
  
  if(a==7 || b==7 || c==7){
    cout <<"Yes"<< endl;
  }
  else {
    cout <<"No"<< endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   char a = N.at(0);
      |              ^~
a.cc:8:14: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |   char b = N.at(1);
      |              ^~
a.cc:9:14: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |   char c = N.at(2);
      |              ^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   int a = N.at(0);
      |             ^~
a.cc:8:13: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |   int b = N.at(1);
      |             ^~
a.cc:9:13: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |   int c = N.at(2);
      |             ^~
Language: C

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

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

#include <iostream>

using namespace std;

int main(){
   int n;
   cin>>n;
   int sen=n/100;
   int ten=n%100;
   ten=ten/10;
   int one=n%10;
    if((sen==7)||(ten==7)||(one==7)){
        cout<<"YES"<<endl;
    }else{
        cout<<"NO"<<endl;
    }
}

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

import java.util.*;

 public class main{
   public static void main(String[] args) {
     Scanner reader=new Scanner(System.in);
     int n=reader.nextInt();
     String a=reader.next();
     int counter=0;
     int R=0;
     int B=0;
     int G=0;
    for(int j=0;j<n;j++)
    {
      if(a.charAt(j)=='R')
      R++;
      if(a.charAt(j)=='B')
      B++;
      if(a.charAt(j)=='G')
      G++;
    }

   for(int j=0;j<n;j++)
   {
     for(int i=0;i<j;i++)
     {
       if(n>2*j-i)
       {
         if(a.charAt(i)!=a.charAt(j)&&a.charAt(2*j-i)!=a.charAt(i))
         {
         if(a.charAt(j)!=a.charAt(2*j-i))
         counter++;
       }
       }
     }

   }

  System.out.println(R*B*G-counter);
    }




   }

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

include<stdio.h>
int main()
{
    int i,t;
    char n[4];
    scanf("%s",n);
    for (i = 0; i < 3; i++)
    {
        if(n[0]=='7'||n[1]=='7'||n[2]=='7'){
            printf("Yes\n");
            return 0;
        }
    }
      printf("NO\n");  
    
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
	string n;
	bool flag=false;
	for(int i=1;i<=3;i++)
	{
		cin>>n[i];
		if(n[i]==7)
			flag=true;
	}	
	if(flag==true)
		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/ctdc++.h>
using namespace std;
int main() {
  string s;
  char c = '7';
  cin >> s;
  for(int i = 0; i < s.size(); i++) {
    if(s.at(i) == c) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}


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

#includ <bits/ctdc++.h>
using namespace std;
int main() {
  string s;
  char c = '7';
  cin >> s;
  for(int i = 0; i < s.size(); i++) {
    if(s.at(i) == c) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <bits/ctdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string s;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #includ <bits/ctdc++.h>
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> s;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ <bits/ctdc++.h>
a.cc:6:10: error: 's' was not declared in this scope
    6 |   cin >> s;
      |          ^
a.cc:9:7: error: 'cout' was not declared in this scope
    9 |       cout << "Yes" << endl;
      |       ^~~~
a.cc:9:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:24: error: 'endl' was not declared in this scope
    9 |       cout << "Yes" << endl;
      |                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #includ <bits/ctdc++.h>
a.cc:13:3: error: 'cout' was not declared in this scope
   13 |   cout << "No" << endl;
      |   ^~~~
a.cc:13:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:19: error: 'endl' was not declared in this scope
   13 |   cout << "No" << endl;
      |                   ^~~~
a.cc:13:19: 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() {
  char N[];
  cin>>N;
  if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: storage size of 'N' isn't known
    5 |   char N[];
      |        ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: invalid types 'char[int]' for array subscript
    7 |   if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
      |       ^
a.cc:7:18: error: invalid types 'char[int]' for array subscript
    7 |   if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
      |                  ^
a.cc:7:29: error: invalid types 'char[int]' for array subscript
    7 |   if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
      |                             ^
Language: C

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

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


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

#include<bits/stdc++.h> 
using namespace std;
int a[2];
int main()
{
   for(int i=0;i<=2;i++)
   {cin>>a[i];
   {
   if(a[i]==7)
   {
   cout<<"Yes";
   return 0;}
   else
{
	continue; 
}  
} 
cout<<"No"; 
  return 0;
} 
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int n,a,b,c;
int main()
{
	cin>>n;
	a=n%10;
	b=n/100;
	c=n/10%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 a[2];
int main()
{
   for(int i=0;i<=2;i++)
   {cin>>a[i]
     if(a[i]==7)
       cout<<"Yes";
       return 0;
     else
       continue;}
  cout<<"No";
  return 0;
}

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

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

//省略形
#define rep(i,n) for(auto i=0; i<n ; ++i)
#define REP(i,a,b) for(auto i=a; i<b; ++i)
#define all(v) (v).begin() , (v).end()
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using vc = vector<char>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<ll>>;
using vvc = vector<vector<char>>;
using pii = pair<int , int>;
using pll = pair<long long , long long>;

//よく使う定数
const int INF = 1e9;
const int MOD = 1e9+7;
//逆元
const int INV = 1e9+5;

//UnionFindTree
struct union_find{
  vector<int> data;
  union_find(int size) : data(size , -1) { }

  void merge(int x , int y){
    x = root(x); y = root(y);
    if(x == y) return;
    if(data[y] < data[x]) swap(x , y);
    data[x] += data[y];
    data[y] = x;
    return; 
  }

  bool same(int x , int y){
    x = root(x) , y = root(y);
    return x == y;
  }

  int root(int x){
    return data[x] < 0 ? x : (data[x] = root(data[x]));
  }

  int size(int x){
    return -data[root(x)];
  }
};

//プロトタイプ宣言
void faster(void);
template <class T>
T get_digent(T);
template <class T>
T POW(T , T);
template <class T>
T modpow(T , T , T);
bool is_palindrome(string);

//メモ
//最大公約数:__gcd　|　最小公倍数:__lcm
//回文は反転させて一致すればよい

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























//同期解除
void faster(void){
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
}

//桁数取得
template <class T>
T get_digent(auto x){
  string s;
  s = to_string(x);
  ll digent = s.size();
  return digent;
} 

//繰り返し自乗法
template <class T>
T POW(T x, T y){
  if(y==0) return 1;
  if(y%2 == 1){
    ll temp = POW(x,y-1);
    return (temp*x);
  }
  else{
    ll temp = POW(x,y/2);
    return temp*temp;
  }
} 

//繰り返し自乗法(剰余)
template <class T>
T modpow(T x , T y , T mod){
  if(y == 0) return 1;
  if(y%2 == 1){
    ll temp = modpow(x,y-1,mod);
    return temp*x%mod;
  }
  else{
    ll temp = pow_mod(x,y/2,mod);
    return temp*temp%mod;
  }
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ';' before 'return'
    8 |             cout<<"Yes\n"
      |                          ^
      |                          ;
    9 |             return 0;
      |             ~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char a[3];
    cin>>a;
    for(int i=0;i<3;i++)
    {
        if(a=='7')
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"NO";
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char a;
    for(int i=0;i<3;i++)
    {
        a=getch();
        if(a==7)
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"NO";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'getch' was not declared in this scope; did you mean 'getc'?
    8 |         a=getch();
      |           ^~~~~
      |           getc
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char a;
    for(int i=0;i<3;i++)
    {
        ch=getchar();
        if(a==7)
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"NO";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'ch' was not declared in this scope
    8 |         ch=getchar();
      |         ^~
Language: C++

#include<bits/stdc++.h>
#include<conio.h>
using namespace std;
int main()
{
    char a;
    for(int i=0;i<3;i++)
    {
        ch=getch();
        if(a==7)
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"NO";
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char a;
    for(int i=0;i<3;i++)
    {
        ch=getch();
        if(a==7)
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"NO";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'ch' was not declared in this scope
    8 |         ch=getch();
      |         ^~
a.cc:8:12: error: 'getch' was not declared in this scope; did you mean 'getc'?
    8 |         ch=getch();
      |            ^~~~~
      |            getc
Language: C

#include<bits/stdc++.h>
using namespace std;
static int fast_io = []() { std::ios::sync_with_stdio(false); cin.tie(nullptr); return 0; }();
int main(){
  string input;
  cin>>input;
  for(auto c:input){
    if(c=='7'){
      cout<<"Yes"<<"\n";  
      return 0;
    }
  }
  cout<<"No"<<"\n";  
 
  
  return 0;
}

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




int main()
{
	
	char s[4];
scanf("%s",s); 
if(s[0]=='7'||s[1]=='7'||s[2]=='7')puts("Yes"); else puts("No");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: 'scanf' was not declared in this scope
    8 | scanf("%s",s);
      | ^~~~~
a.cc:9:36: error: 'puts' was not declared in this scope
    9 | if(s[0]=='7'||s[1]=='7'||s[2]=='7')puts("Yes"); else puts("No");
      |                                    ^~~~
a.cc:9:54: error: 'puts' was not declared in this scope
    9 | if(s[0]=='7'||s[1]=='7'||s[2]=='7')puts("Yes"); else puts("No");
      |                                                      ^~~~
Language: C


#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main() {

int n;cin>>n;bool isfail=true;
while(n>0)
{
	if(n%10==7)
	{

		cout<<"Yes"<<endl;
		isfail=false;
		break;

	}n/=10;


}if(isfail==true)
	cout<<"No"<<endl;















    return 0;
}


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

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main() {

int n;cin>>n;bool isfail=true;
while(n>0)
{
	if(n%10==7)
	{

		cout<<"Yes"<<endl;
		isfail=false;
		break;

	}n/=10;


}if(isfail==true)
	cout<<"No"<<endl;















    return 0;
}


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

while(n>0)
{
	if(n%10==7)
	{

		cout<<"Yes"<<endl;
		isfail=false;
		break;

	}n/=10;


}if(isfail==true)
	cout<<"No"<<endl;


Compiler output:
main.c:1:1: error: expected identifier or '(' before 'while'
    1 | while(n>0)
      | ^~~~~
main.c:13:2: error: expected identifier or '(' before 'if'
   13 | }if(isfail==true)
      |  ^~
Language: C++

#include<iostream>
#include<string>
#define rep(i,n) for(int i=0;i<n;i++)
using namespace std;
int main()
{
    string s;
    cin>>s;
    if(s.find!=string::npos)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: invalid operands of types '<unresolved overloaded function type>' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const long unsigned int'} to binary 'operator!='
    9 |     if(s.find!=string::npos)cout<<"Yes"<<endl;
      |        ~~~~~~^~~~~~~~~~~~~~
      |          |             |
      |          |             const std::__cxx11::basic_string<char>::size_type {aka const long unsigned int}
      |          <unresolved overloaded function type>
Language: C

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  sin >> N;
  int a,b,c;
  
  if(N%10 == 7){
    cout << "Yes" << endl;
   }
  else if((N-N%10)%100 == 7){
    cout << "Yes" << endl;
  }
  else if(N/100.0 == 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(){
  string s;
  cin >> s;
  if(s[0]=='7'||s[1]=='7'||s[2]=='7'){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
  return 0;
}

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

using System;
using System.IO.Pipes;

class Lucky7
{
    static void Main(string[] args)
    {
        var answer = "";


        var input = Console.ReadLine();
        if (input.Contains("7"))
        {
            answer = "Yes";
        }
        else
        {
            answer = "No";
        }

        Console.WriteLine(answer);
    }
}

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.IO.Pipes;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.IO.Pipes;
      |             ^
main.c:4:1: error: unknown type name 'class'
    4 | class Lucky7
      | ^~~~~
main.c:5:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    5 | {
      | ^
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long int 
int main()
{
  ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
/*ll t;cin>>t;
 while(t--)
  {*/
    ll i, flag=0;
   string s;cin>>s;
   for(i=0;i<s.length();i++)
    {
      if(s[i]=='7')
      flag=1;
      }
      if(flag==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

#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <fstream>
#include <cassert>
#include <cstring>
#include <unordered_set>
#include <unordered_map>
#include <numeric>
#include <ctime>
#include <bitset>
#include <complex>
#include <chrono>
#include <random>
#include <functional>

using namespace std;

#define int long long

const int MOD = 1e9 + 7;

int add(int a, int b) {
	return (a + b) % MOD;
}

int mul(int a, int b) {
	return (a * b) % MOD;
}

signed main() {
	ios_base::sync_with_stdio(false);
	cin.tie(0);

    string str1;
    cin >> str1;

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

    cout << "No" << endl;

    return 0;
}


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

n = 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 = 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 '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')
      |                              ^~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
    /* code */
    string N;cin>>N;
    string res;
    if(N[0]==N[1]and N[0]==N[2])res="Yes";
    else
    {
        res="No";
    }
    cout<<res<<endl;
    return 0;
}


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

#include <bits/stdc++.h>
#define all(vec) vec.begin(), vec.end()
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
template <class T>
using V = vector<T>;
constexpr ll INF = (1LL << 30) - 1LL;
constexpr ll MOD = 998244353LL;
constexpr int dx[4] = {0, 1, 0, -1}, dy[4] = {1, 0, -1, 0};
template <class T>
void chmin(T &a, T b) { a = min(a, b); }
template <class T>
void chmax(T &a, T b) { a = max(a, b); }
void debug() { cerr << "ok" << endl; }
template <class T>
void printv(const vector<T> &v) {
    for (int i = 0; i < v.size(); i++) cout << v[i] << (i + 1 == v.size() ? '\n' : ' ');
}
template <class T>
void readv(vector<T> &v) {
    for (int i = 0; i < v.size(); i++) cin >> v[i];
}
int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    string s;
    cin >> s;
    if (s[0] == '7' || s[1] == '7' || s[2] == '7') {
        cout << "Yes\n";
    } else {
        cout << "NO\n";
    }
}

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