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

#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define sz(x) (int)((x).size())
#define debug(x) cout << #x << ":" << x << ' ';
#define debugg(x) cout << #x << ":" << x << ' ' << "\n";
#define endl "\n"
#define L(X) ((X)<<1)
#define R(X) (((X)<<1)|1)
#define M(X,Y) (((X)+(Y))>>1)

using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;

const int MAXN = 1e5 + 5;
const int MOD = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const long long int LLINF = 0x3f3f3f3f3f3f3f3f;
const double EPS = 1e-9;
const double PI = acos(-1);

template<typename T>   T max_self(T& a, T b) { if (a < b) a = b; return a; }
template<typename T>   T min_self(T& a, T b) { if (a > b) a = b; return a; }
template<typename T>   T add(T x, T y) { return ((x % MOD)  + (y % MOD)) % MOD;}
template<typename T>   T mul(T x, T y) { return ((x % MOD) * (long long)(y % MOD)) % MOD;}
template<typename T>   T sub(T x, T y) { return add(x, -y + MOD);}
template<typename T>   T gcd(T a, T b) { return b ? gcd(b, a % b) : a;}
template<typename T>   T lcm(T a, T b) { return a / gcd(a, b) * b;}
template<typename T>   vector<T> read(vector<T>& v, int n) {v.resize(n); for (auto &x : v)cin >> x;}
template<typename T>   void trav(vector<T> &v) {for (int i = 0 ; i < (int)v.size() ; ++i) {cout << v[i]; if (i != (int)v.size() - 1) cout << ' ';}}
int lg2(long long x)   {   return 64 - __builtin_clzll(x) - 1;	}
int lg2(int x)   {   return 32 - __builtin_clz(x) - 1;	}


//Variables Declaration


int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int n;
	int a,b,c;
	cin >> n;
	a=n/100;
	b=(n/10)%10;
	c=n%10;
	if(a==7 || b==7 || c==7)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;

	return 0;
}


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

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

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

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;
typedef long long int ll;
const int N = (int)1e5+5;

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

    string n;
    cin>>n;
    for(auto it:n) {
        if(it=='7') {
            cout<<"Yes";
            return 0;
        }
    }
    cout<<"No";
}


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

#include <bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin >> s;
  cout << (s.find("7")==string::npos)?"No":"Yes" << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:50: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   cout << (s.find("7")==string::npos)?"No":"Yes" << endl;
      |                                            ~~~~~~^~~~~~~
Language: C

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

#define int long long
#define fi first
#define se second
#define ponto pair<int,int>

string n;

int32_t main()
{

	cin >> n;
	bool s = false;
	for(int i=0; i<n.size(); i++)
		if(n[i] == '7')
			s = true;
			
	puts(s ? "Yes" : "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;
string s=to_string(n);
if(s[0]=='7' ||s[1]=='7' || s[2]=='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<iostream>
#include <cmath>
#include<cstdio>
#include <string>
#include <cwchar>
#include <stdio.h>
#include <ctype.h>
using namespace std;
int main(){
string s;
cin>>s;
for(int i=0;i<s.length();i++)
{
	int a=s[i]-'0';
	if(a==7)
	{
		cout<<"YES"<<endl;
		return 0;
	}
}
    cout<<"NO"<<endl;
    return 0;
}

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

#include <bits/stdc++.h>

typedef long long   ll;
typedef long double ld;
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;
    cin >> s;
    if(s[2]=='7'||s[1]=='7'||s[0]=='7') cout << "Yes" << "\n";
    else                                cout << "No" << "\n";
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(false);cin.tie(0)
#define pb push_back
#define ff first
#define ss second
#define all(a) a.begin(),a.end()
#define int long long
const int MOD=1e9+7;
const int N=3e5+10;
int32_t main()
{
	string s;
    cin>>s;
    int k=count(all(s),'7');
    cout<<(k>=1?"Yes":"No")<<endl;



}

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

x = input()
if x.count('7'):
  print("Yes")
else:
  print("No")

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

#include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(false);cin.tie(0)
#define pb push_back
#define ff first
#define ss second
#define all(a) a.begin(),a.end()
#define int long long
const int MOD=1e9+7;
const int N=3e5+10;
int32_t main()
{
	string s;
    cin>>s;
    int k=count(all(s),'7');
    cout<<(k>=1?"YES":"NO")<<endl;



}

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

#include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(false);cin.tie(0)
#define pb push_back
#define ff first
#define ss second
#define all(a) a.begin(),a.end()
#define int long long
const int MOD=1e9+7;
const int N=3e5+10;
int32_t main()
{
	string s;
    cin>>s;
    int k=s.count(all(s),'7');
    cout<<(k>=1?"YES":"NO")<<endl;



}

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

main = do
  n <- getLine
  putStrLn (if elem '7' n then "Yes" else "No")


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

import java.util.*;
public class sol
{
  public static void main(String args[])
  {
    
	  Scanner sc = new Scanner(System.in());
    int N = sc.nextInt();
    while(N!=0)
    {
      if(N%10==7)
      {
        System.out.print("Yes");
        break;
      }
      N/=10;
    }
    System.out.println("No");
  }
}

Compiler output:
Main.java:2: error: class sol is public, should be declared in a file named sol.java
public class sol
       ^
Main.java:7: error: cannot find symbol
	  Scanner sc = new Scanner(System.in());
	                                 ^
  symbol:   method in()
  location: class System
2 errors
Language: C

#include <iostream>
#include <string>
using namespace std;
int main()
{
  string N;
  cin >> N;
  if (N[0]=='7' || N[1]=='7' || N[2]=='7') {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}

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

#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false); cin.tie(0);
  string s;
  cin >> s;
  for (char& c : s) if (c == '7') {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}

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

#include <stdio.h>

int main(void){
  int n,i;
  for(i=0;i<3;i++){
    scanf("%1d",&n);
    if(n==7){
      printf("Yes/n");
      exit();
    }
  }
  printf("No\n");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    9 |       exit();
      |       ^~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    1 | #include <stdio.h>
  +++ |+#include <stdlib.h>
    2 | 
main.c:9:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    9 |       exit();
      |       ^~~~
main.c:9:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:9:7: error: too few arguments to function 'exit'
Language: C

C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c

Compiler output:
main.c:1:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |  ^
main.c:1:3: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |   ^
main.c:1:9: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |         ^
main.c:1:16: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |                ^
main.c:1:26: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |                          ^
main.c:1:33: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |                                 ^
main.c:1:35: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |                                   ^
main.c:1:43: error: stray '\' in program
    1 | C:\Users\Hinata\Documents\Coding\C\AtCoder\Lucky_7.c
      |                                           ^
Language: C++

#include<iostream>
using namespace std;
#define ll long long
int main()
{
  string s;
  cin>>s;
  for(ll i=0;i<s.length();i++)
  {
    if(s[i]=='7')
    {
      cout<<"Yes"<<"\n";
      return;
    }
  }
  cout<<"No"<<"\n";
  return 0;
}


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

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

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

/*---> 12 April 2020 <--- > 23:46:45 <---*/
// #pragma GCC optimize("Ofast")
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
// #pragma GCC optimize("unroll-loops")
// #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("O3")
//#pragma GCC target ("sse4")
#include <bits/stdc++.h>
//#include <ext/pb_ds/tree_policy.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
//using namespace __gnu_pbds;
using namespace std;
//template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;
#define int long long
#define F first
#define S second
#define mod 1000000007
#define inf (int)1e18+5
#define sz(x) (int)x.size()
#define PI 3.141592653589793238510
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define __ ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define vi vector<int>
#define vpii vector<pair<int,int> > 
#define vvi vector<vector<int> >
#define PRINT_TIME cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s." <<endl;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename   enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
    *this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
typedef long double ld;
typedef pair<int,int> pii;
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
const int N=1e5+5;

int32_t main(){__
    string s;
    cin>>s;
    if(s.find('7')!=string::npos)
        cout<<"YES\n";
    else
        cout<<"NO\n";
return 0;
}

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

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

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


Compiler output:
a.cc:15:11: warning: multi-character character constant [-Wmultichar]
   15 |   cout << 'No';
      |           ^~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int n,num;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> n;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'while'
    7 |   while(n!=0){
      |   ^~~~~
a.cc:15:3: error: 'cout' does not name a type
   15 |   cout << 'No';
      |   ^~~~
a.cc:16:3: error: expected unqualified-id before 'return'
   16 |   return 0;
      |   ^~~~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C

#include <bits/stdc++.h>
#include <string>
#define ft first
#define sc second
#define pt(sth) cout << sth << "\n"
#define chmax(a, b) (a)=max(a, b)
#define chmin(a, b) (a)=min(a, b)
#define moC(a, s, b) (a)=((a)s(b)+MOD)%MOD
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pll;
static const ll INF=1e18;
static const ll MAX=101010;
static const ll MOD=1e9+7;


/*
 for(i=0; i<N; i++)
   cin >> a[i];
*/



int main() {
  ll i, j, k;
  
  string N;
  cin >> N;
  
  if(N[0]=='7'||N[1]=='7'||N[2]=='7') pt("Yes");
  else pt("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>
#include <math.h>
 
#define rep(i, n) for(int i = 0; (int)(i) < n; i++)
 
using namespace std;
 
int main() {
  char n;
  string ans = "No";
  rep(i, 3){
    cin >> n;
    if(n == '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(void){
    string s;
    cin >> s;
    cout << ((s[0] == '7' or s[1] == '7' or s[2] == '7') ? "Yes" : "No") << endl;
    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define pb push_back
#define ff first
#define ss second
#define rep(i,a,n) for(int i=a;i<n;i++)
#define M 1000000007
ll power(ll x, ll y, ll p)
{
    int res = 1;
    x = x % p;
    while (y > 0)
    {   if (y & 1)
        res = (res*x) % p;
        y = y>>1;
        x = (x*x) % p;
    }
    return res;
}
int main()
{
	IOS;
	string s;
	cin>>s;
	if(s[0]=='7'||s[1]=='7'||s[2]=='7')
	cout<<"Yes";
	else
	cout<<"No";
}


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

/*
 * author :Sadik Hassan
 *
*/
#include "bits/stdc++.h"
using namespace std;
#define ll            long long
#define nl            "\n"
#define pb            push_back
#define fi            first
#define se            second
#define PI            (acos(-1.0))
#define _SAD()        ios::sync_with_stdio(0),cin.tie(0), cout.tie(0);
#define rep(i,a,n)    for(int i=a;i<n;i++)
#define SZ(s)         s.size()
#define SRT(x,y)      sort(x,x+y)
#define REV(a,b)      reverse(a,a+b)
#define VSRT(x)       sort(x.begin(),x.end())
#define VREV(x)       reverse(x.begin(),x.end())
#define TSFL(s)       transform(s.begin(),s.end(),s.begin(),::toupper);
#define TSFH(s)       transform(s.begin(),s.end(),s.begin(),::tolower);
typedef vector<int> vi;
typedef vector<ll> vii;
typedef set<int> si;
typedef set<ll> sii;
/*---------------------------------------------------------------------*/

const int N = 2e5+10;
const int INF = (int)1e9+5;

int main()
{
    _SAD()
    string s;
    cin>>s;
    rep(i,0,2)
    {
        if(s[i]=='7')
        {
            cout<<"Yes"<<nl;return 0;
        }
    }
    cout<<"No"<<nl;
    return 0;
}


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

/*
 * author :Sadik Hassan
 *
*/
#include "bits/stdc++.h"
using namespace std;
#define ll            long long
#define nl            "\n"
#define pb            push_back
#define fi            first
#define se            second
#define PI            (acos(-1.0))
#define _SAD()        ios::sync_with_stdio(0),cin.tie(0), cout.tie(0);
#define rep(i,a,n)    for(int i=a;i<n;i++)
#define SZ(s)         s.size()
#define SRT(x,y)      sort(x,x+y)
#define REV(a,b)      reverse(a,a+b)
#define VSRT(x)       sort(x.begin(),x.end())
#define VREV(x)       reverse(x.begin(),x.end())
#define TSFL(s)       transform(s.begin(),s.end(),s.begin(),::toupper);
#define TSFH(s)       transform(s.begin(),s.end(),s.begin(),::tolower);
typedef vector<int> vi;
typedef vector<ll> vii;
typedef set<int> si;
typedef set<ll> sii;
/*---------------------------------------------------------------------*/

const int N = 2e5+10;
const int INF = (int)1e9+5;

int main()
{
    _SAD()
    string s;
    cin>>s;
    rep(i,2)
    {
        if(s[i]=='7')
        {
            cout<<"Yes"<<nl;return 0;
        }
    }
    cout<<"No"<<nl;
    return 0;
}


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

def contains(s):
	if '7' in s:
		return 'Yes'
	else:
		return 'No'

n = input()
print(contains(n))

Compiler output:
main.c:1:1: error: unknown type name 'def'
    1 | def contains(s):
      | ^~~
main.c: In function 'contains':
main.c:1:16: error: expected declaration specifiers before ':' token
    1 | def contains(s):
      |                ^
main.c:3:24: warning: multi-character character constant [-Wmultichar]
    3 |                 return 'Yes'
      |                        ^~~~~
main.c:5:24: warning: multi-character character constant [-Wmultichar]
    5 |                 return 'No'
      |                        ^~~~
main.c:1:5: error: type of 's' defaults to 'int' [-Wimplicit-int]
    1 | def contains(s):
      |     ^~~~~~~~
Language: C

#include <bits/stdc++.h>

using namespace std;
typedef long long int ll;
typedef pair <ll,ll> P;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define print(x) cout << x << endl

ll gcd(ll a, ll b) { return b ? gcd(b,a%b) : a;}
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }

ll MOD = 1000000007;


int main()
{
    string N;
    cin >> N;
    rep(i, 3) {
        if (N[i] == '7') {
            print("Yes");
            return 0;
        }
    }
    print("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(){
	string s;
	cin>>s;
	for(int i=0;i<s.size();i++){
		if(s[i]=='7'){
			cout<<"Yes"<<endl;
			return(0);
		}
	}
	cout<<"No"<<endl;
  return(0);
}

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

#include<bits/stdc++.h>

using namespace std;

#define int long long
const int mod=(int)1e9+7;

void test_case(){
    string s;
    cin>>s;
    for(int i=0;i<s.size();i++){
        if(s[i]=='7'){
            cout<<"Yes\n";
            return;
        }
    }
    cout<<"No\n";
}

signed main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t=1;
    //cin>>t;
    while(t--){
        test_case();
    }
}


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;
using ll = long long;
using pii = pair < int, int >;

int main() {
	ios_base::sync_with_stdio (false);
	cin.tie (0); cout.tie (0);
	string s;
	cin >> s;
	for (char c : s) {
		if (c == '7') {
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;
	return 0;
}


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

#include <bits/stdc++.h>
#include <random>

#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4")

#define ll long long
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define o cout<<"BUG"<<endl;
#define	IOS ios_base::sync_with_stdio(0);
#define en "\n"
#define FOR(i, j, n) for(int j = i; j < n; ++j)
#define forn(i, j, n) for(int j = i; j <= n; ++j)
#define nfor(i, j, n) for(int j = n; j >= i; --j)
#define sortv(vv) sort(vv.begin(), vv.end())
#define all(v) v.begin(), v.end()
#define ld long double
#define ull unsigned long long
#define pii pair <int, int>


using namespace std;
const ll maxn=1e6+100,inf=1e18,LOG=23,mod=1e9+7;
int block = 300, timer = 0;
const ld EPS = 1e-7;

#define bt(i) (1 << (i))
#define int ll

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

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

#include<iostream>
using namespace std;
int main()
{
  int s;cin>>s;
  while(s>0)
  {
    if(s%10==7)
    {
    cout"YES"<<endl;
      return 0;
   }
    s=s/10
    
 } 
  cout<<"NO"<<endl;
  return 0;
}
      


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected ';' before string constant
   10 |     cout"YES"<<endl;
      |         ^~~~~
      |         ;
a.cc:13:11: error: expected ';' before '}' token
   13 |     s=s/10
      |           ^
      |           ;
   14 | 
   15 |  }
      |  ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'd' was not declared in this scope
   10 |     d=n%10;
      |     ^
Language: C

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

int main() {
    int n;
    cin >> n;
    while(n > 0) {
        int r = n % 10;
        if(r == 7){
            puts("Yes");
            return 0;
        }
        n /= 10;
    }
    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

n = 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 = 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 "7" in n:
      | ^~
Language: C

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

using namespace std;

int main()
{
    uint32_t nn;
    uint32_t num_100;
    uint32_t num_10;
    uint32_t num_1;
    cin >> nn;

    num_100 = nn / 100;
    num_10 = (nn % 100) / 10;
    num_1 = ((nn % 100) % 10);

    if((num_100 == 7)   ||
       (num_10 == 7)    ||
       (num_1 == 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

/*
 Sarthak Jain
*/
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
int mod=1e9+7;
int min(int a,int b){
  return (a<b)?a:b;
}
int max(int a,int b){
  return (a>b)?a:b;
}
int fp(int a,int b){
  if(b==0) return 1;
  int x=fp(a,b/2);
  x=(x*x)%mod;
  if(b&1) x=(x*a)%mod;
  return x;
}


signed main() {
 ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
 
 string s;
 cin>>s;
 if(s[0]=='7'||s[1]=='7'||s[2]=='7')
  cout<<"Yes";
 else 
  cout<<"No";

}

Compiler output:
main.c:4:10: fatal error: bits/stdc++.h: No such file or directory
    4 | #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:3:3: error: 'scanf' was not declared in this scope
    3 |   scanf("%s",s);
      |   ^~~~~
a.cc:6:3: error: 'puts' was not declared in this scope
    6 |   puts("Yes");
      |   ^~~~
a.cc:8:8: error: 'puts' was not declared in this scope
    8 |   else puts("No");
      |        ^~~~
Language: C

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
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 <bits/stdc++.h>

//mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
//#pragma GCC optimize("Ofast")
//1.0 * clock() / CLOCKS_PER_SEC

#define fi first
#define se second
#define ll long long
#define dl double long

using namespace std;

const ll NN = 1e10 + 7;
const int N = 1e5 + 7;
const int M = 11;
const ll mod = 1e9 + 7;
const ll inf = 1e18 + 7;
const dl rf = 1e-14;
const int B = sqrt(N);

void solve1()
{
    string s;
    cin >> s;
    if( s[0] == '7' || s[1] == '7' || s[2] == '7' )cout << "Yes\n";
    else cout << "No\n";
}

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    //freopen( "input.txt" , "r" , stdin );
    //freopen( "output.txt" , "w" , stdout );

    int cghf = 1;//cin >> cghf;
    while( cghf-- ){
        solve1();
    }
}


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 all(v)				((v).begin()), ((v).end())
#define allr(v)				((v).rbegin()), ((v).rend())
#define sz(v)				((int)((v).size()))
#define ll long long
#define pb					push_back
#define fIO ios_base::sync_with_stdio(0);cin.tie(0);

const ll oo = 1e8;
const double pi = 3.1415926535897;


const double EPS = (1e-7);
int dcmp(double x, double y) {	return fabs(x-y) <= EPS ? 0 : x < y ? -1 : 1;	}


typedef vector<int>                vi;
typedef vector<pair<int,int>>      vii;
typedef vector<ll>                 vll;
typedef vector<double>             vd;
typedef vector< vi >               vvi;
typedef vector< vd >               vvd;
typedef vector<string>             vs;
typedef pair<int, int>             pii;

/**
    * PLEASEEE READDD PROBLEEEM CARFULLY ****
    * Always check for OVERFLOW ll vs int
    * Always check for array bounds
    * Check for function return
    * READ OUTPUT SECTION AGAIN!!!
**/

struct edge{
    int from, to, w;

    edge(){}
    edge(int x, int y, int we): from(x), to(y), w(we){}

    bool operator < (const edge &rhs) const{
        return w > rhs.w;
    }

};

int main(){
    fIO
//    freopen("", "r", stdin);
//    freopen("", "w", stdout);

    string s;
    cin >> s;

    if(s[0] == '7' || s[1] == '7' || s[2] == '7') cout << "Yes";
    else cout << "No";

}








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

import java.util.*;
public class Lucky7 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println(in.next().contains("7") ? "Yes" : "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>
3 include <string>
using namespace std;
 
int main()
{
	string s;
	cin >> s;
	string ans = "No";
	for(int i = 0;i < int(s.size());i++)
		if(s[i] == '7')
			ans = "Yes";
	cout << ans << endl;
	return 0;
 } 

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

# include <bits/stdc++.h>
using namespace std;
 
int main()
{
	string s;
	cin >> s;
	string ans = "No";
	for(int i = 0;i < int(s.size());i++)
		if(s[i] == '7')
			ans = "Yes";
	cout << ans << 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 <bits/stdc++.h>

using namespace std;
#define ll long long
#define ld long double

int main()
{
    ios_base::sync_with_stdio(0),cin.tie(NULL),cout.tie(NULL);
    string s;
    cin >> s;
    cout << ((s.find("7") == -1) ?  "NO" : "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()
{
	string s;
	cin >> s;
	string ans = "No";
	for(int i = 0;i < int(s.size());i++)
		if(s[i] == '7')
			ans = "Yes";
	cout << ans << 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<bits.stdc++.h>
using namespace std;
int main()
{
  ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
  int N; cin>>N;
  int rem;
  while(N>0){
    rem=N%10; N/=10;
    if(rem==7) {cout<<"YES"; return 0;}
  }
  cout<<"NO";
  return 0;
}


Compiler output:
a.cc: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;
typedef int64_t ll;
typedef long double ld;
const ll MOD=1000000007;
#define rep(i,n) for(ll i=0;i<(ll)(n);i++)
long long gcd(long long a,long long b){
    ll gcdmax=max(a,b);
    ll gcdmin=min(a,b);
    while(true){
        if(gcdmax%gcdmin==0)break;
        else gcdmax%=gcdmin;
        swap(gcdmin,gcdmax);
    }
    return gcdmin;
}
ll powerup(ll N,ll P,ll M){
    if(P==0)return 1;
    else if(P%2==0){
        ll t=powerup(N,P/2,M);
        return t*t%M;
    }
    else return N*powerup(N,P-1,M)%M;
}
vector<ll> find_divisor(ll N){
  ll k=1;
  while(k*k<=N){
    k++;
  }
  vector<ll> A(1);
  rep(i,k){
    if(i==1)A.at(0)=1;
    else if(i>=2){
      if(N%i==0)A.push_back(i);
    }
  }
  ll t=0;
  t=A.size();
  rep(i,t){
    if(A.at(t-i-1)*A.at(t-i-1)!=N)A.push_back(N/A.at(t-1-i));
  }
  return A;
}
int main()
{
  ll red=0;
  ll green=0;
  ll blue=0;
  string S;
  cin>>S;
  rep(i,N){
    if(S[i]=='R')red++;
    else if(S[i]=='B')blue++;
    else green++;
  }
  ll ans=red*green*blue;
  rep(i,N-2){
    rep(j,N){
      if(i+2*j+2<=N){
        if(S[i]!=S[i+j+1]&&S[i]!=S[i+2*j+2]){
          if(S[i+j+1]!=S[i+2*j+2])ans--;
        }
      }
    }
  }
  cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:51:9: error: 'N' was not declared in this scope
   51 |   rep(i,N){
      |         ^
a.cc:6:36: note: in definition of macro 'rep'
    6 | #define rep(i,n) for(ll i=0;i<(ll)(n);i++)
      |                                    ^
a.cc:57:9: error: 'N' was not declared in this scope
   57 |   rep(i,N-2){
      |         ^
a.cc:6:36: note: in definition of macro 'rep'
    6 | #define rep(i,n) for(ll i=0;i<(ll)(n);i++)
      |                                    ^
Language: Java

public class a {
    public static void main(String[] arg) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        List<Integer> num = new ArrayList<>();
        while (N >0){
            num.add(0,N % 10);
            N /= 10;
        }

        int flag = 0;

        for (Integer integer : num) {
            if (integer == 7) {
                flag = 1;
                break;
            }
        }
        if (flag==1){
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:1: error: class a is public, should be declared in a file named a.java
public class a {
       ^
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class a
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class a
Main.java:6: error: cannot find symbol
        List<Integer> num = new ArrayList<>();
        ^
  symbol:   class List
  location: class a
Main.java:6: error: cannot find symbol
        List<Integer> num = new ArrayList<>();
                                ^
  symbol:   class ArrayList
  location: class a
5 errors
Language: C++

#include<bits.stdc++.h>
using namespace std;
int main()
{
  ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
  int N; cin>>N;
  int rem;
  while(n>0){
    rem=n%10; n/=10;
    if(rem==7) {cout<<"YES"; return 0;}
  }
  cout<<"NO";
  return 0;
}

Compiler output:
a.cc: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 rep(i,a,b) for(int i = a; i < b; ++i)
#define all(c) c.begin(), c.end()
#define gmax(x,y) x=max(x,y)
#define gmin(x,y) x=min(x,y)
#define gadd(x,y) x=add(x,y)
#define gmul(x,y) x=mul(x,y)
using namespace std;

typedef pair<int,int> pii;
typedef long long ll;

int main(){
	cin.tie(0);
	cout.tie(0);
	ios_base::sync_with_stdio(0);
	string s;
	cin >> s;
	int pos = s.find('7');
	cout << (~pos?"Yes":"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.
Language: C

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

typedef long long ll;
typedef pair<ll, ll> P;

const ll MOD = 1e9 + 7;
const ll inf = 1LL<<60;
const int int_inf = 100000000;
const double eps = 1e-9;

const int dx[4] = { 1, 0, -1, 0 };
const int dy[4] = { 0, 1, 0, -1 };
 
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    string s;
    cin >> s;
    bool ok = false;
    for (int i = 0; i < 3; i++) {
        if (s[i] == '7') ok = true;
    }

    if (ok) 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>
#define ll long long int
#define mod 1000000007
#define rep(i,a,n) for (int i=a;i<n;i++)
#define MAXN 1000001 
using namespace std;
void solve() {
	ll n;
	cin>>n;
	string st;
	long long cntR = 0, cntG = 0, cntB = 0;
  for (int i = 0; i < N; i++) {
    if (S.at(i) == 'R')
      cntR++;
    else if (S.at(i) == 'G')
      cntG++;
    else
      cntB++;
  }
  long long cntFirst = cntR * cntG * cntB;
 
  long long cntSecond = 0;
  for (int i = 0; i < N; i++) {
    for (int j = i + 1; j < N; j++) {
      if (S.at(i) == S.at(j)) 
	  	continue;
      int k = j * 2 - i;
      if (k >= N || S.at(k) == S.at(i) || S.at(k) == S.at(j)) 
	  	continue;
      
	  ++cntSecond;
    }
  }
 
  cout << cntFirst - cntSecond << endl;
}

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

	// ll t;
	// cin >> t;
	// while(t--)
		solve();

}

Compiler output:
a.cc: In function 'void solve()':
a.cc:12:23: error: 'N' was not declared in this scope
   12 |   for (int i = 0; i < N; i++) {
      |                       ^
a.cc:13:9: error: 'S' was not declared in this scope
   13 |     if (S.at(i) == 'R')
      |         ^
a.cc:23:23: error: 'N' was not declared in this scope
   23 |   for (int i = 0; i < N; i++) {
      |                       ^
a.cc:25:11: error: 'S' was not declared in this scope
   25 |       if (S.at(i) == S.at(j))
      |           ^
a.cc:28:21: error: 'S' was not declared in this scope
   28 |       if (k >= N || S.at(k) == S.at(i) || S.at(k) == S.at(j))
      |                     ^
Language: C

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

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 s;
	cin >> s;

	for (int i = 0; i < s.length(); i++) {
		if (s[i] == '7') {
			cout << "Yes";
			return 0;
		}
	}

	cout << "No";
}

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

#include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define fi first
#define se second
#define all(container) container.begin(),container.end()
#define fast ios::sync_with_stdio(0); cin.tie(0)
#ifndef ONLINE_JUDGE
#include "debug.cpp"
#endif
#define int long long
const int mod = 1e9+7;  
int power(int a,int b) { if(b==0) return 1; int res = power(a,b/2); if(b&1) return res * res * a; else return res * res; }


int32_t main(){
    
  fast;
  string s; cin >> s;
  for(char c: s){
  	if(c=='7'){
      cout << "Yes\n";
      return 0;
  }
	
    cout << "No\n";
  
  return 0;
}

Compiler output:
a.cc:9:10: fatal error: debug.cpp: No such file or directory
    9 | #include "debug.cpp"
      |          ^~~~~~~~~~~
compilation terminated.
Language: C++

#include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define fi first
#define se second
#define all(container) container.begin(),container.end()
#define fast ios::sync_with_stdio(0); cin.tie(0)
#ifndef ONLINE_JUDGE
#include "debug.cpp"
#endif
#define int long long
const int mod = 1e9+7;  
int power(int a,int b) { if(b==0) return 1; int res = power(a,b/2); if(b&1) return res * res * a; else return res * res; }


int32_t main(){
    
  fast;
  string s; cin >> s;
  for(char c: s){
  	if(c=='7'){
      cout << "Yes\n";
      return 0;
  }

  
  return 0;
}

Compiler output:
a.cc:9:10: fatal error: debug.cpp: No such file or directory
    9 | #include "debug.cpp"
      |          ^~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
 
using namespace std;
 
int main() {
  string s;
  bool seven = false;
  cin >> s;
  for (int i = 0; i < 3; i++) {
    if (s[i] == "7") {
      seven = true;
      break;
    }
  }
  
  if (seven) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |     if (s[i] == "7") {
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
  string s;
  bool seven = false;
  cin >> s;
  for (int i = 0; i < 3; i++) {
    if (s[i] == "7") {
      seven = true;
      break;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |     if (s[i] == "7") {
Language: C

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

int main()
{
    string x;
    cin >> x;
    if (x.find("7") < 3) puts("Yes");
    else puts("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++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'scanf' was not declared in this scope
    3 |         scanf("%s",s);
      |         ^~~~~
a.cc:4:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    4 |         if(s[0]=="7" ||s[1]=="7"||s[2]=="7"){
      |            ~~~~^~~~~
a.cc:4:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    4 |         if(s[0]=="7" ||s[1]=="7"||s[2]=="7"){
      |                        ~~~~^~~~~
a.cc:4:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    4 |         if(s[0]=="7" ||s[1]=="7"||s[2]=="7"){
      |                                   ~~~~^~~~~
a.cc:5:9: error: 'printf' was not declared in this scope
    5 |         printf("Yes");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main() {
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("No");
      |         ^~~~~~
a.cc:8:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: expected initializer before 'scanf'
    3 |         scanf("%s",s)
      |         ^~~~~
a.cc:7:9: error: 'else' without a previous 'if'
    7 |         else{
      |         ^~~~
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("No")
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main() {
Language: C

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

char a, b, c;

int main () {
  cin>>a>>b>>c;
  if (a=='7'||b=='7'||c=='7') cout<<"Yes"<<endl;
  else cout<<"no"<<endl;
}

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

#include<iostream>
using namespace std;

int main() {
    string S;
    cin >> S;
    puts(S[0] == '7' || S[1] == '7' || S[2] == '7' ? "Yes" : "No");
}

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

#include<cstdio>

int main() {
    char S[3];
    scanf("%s", S);
    puts(S[0] == '7' || S[1] == '7' || S[2] == '7' ? "Yes" : "No");
}

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

#include <iostream>
#include <cstdlib>
#include <vector>
#include <cmath>
#include <utility>
#include <algorithm>
#include <set>
#include <queue>
#include <climits>
#include <limits>
#include <map>
#define inf 1000000000000000000

#define ll long long
#define max(A, B) ((A) > (B) ? (A) : (B))
#define min(A, B) ((A) < (B) ? (A) : (B))
#define pair(A, B) make_pair(A, B)

using namespace std;

typedef pair<ll, ll> pi;
typedef pair<pair<ll, ll>, ll> pii;

void perform() {
  string n; cin >> n;
  if(n.find("7") != string::npos) cout << "Yes" << endl;
  else cout << "No" << endl;
}

int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ll t = 1; //cin >> t;
  while (t--) {perform();}
}


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