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

// 失敗するからこそ そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
// ぜったいあきらめない
#if defined(DAIJOBU)
#include "/home/ichigo/includes.hpp"
#include "/home/ichigo/debug.hpp"
#define deb(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#include <bits/stdc++.h>
#define deb(x...)
#endif
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#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 ford(i, n) for (int i = (int)(n) - 1; i >= 0; --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)

using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pii> vpi;
typedef vector<vi> vvi;
typedef long long lint;
typedef vector<lint> vlint;
typedef vector<vlint> vvlint;
typedef pair<lint, lint> plint;
typedef double ld;

template<class T> bool chmin(T &a, T b) { return a > b ? (a = b, true) : false; }
template<class T> bool chmax(T &a, T b) { return a < b ? (a = b, true) : false; }



int main() {
    ios::sync_with_stdio(false);
	cin.tie(0);
	string s;
	cin >> s;
	if(s.find('7') != string::npos){
		puts("YES");
	}else puts("NO");
	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

N = int(input())
a = N//100
N %= 100
b = N//10
N %= 10
c = N
 
if a == 7 or b == 7 or c == 7:
  print("Yes")
else:
  print("No")

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

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


Compiler output:
a.cc:18:14: warning: missing terminating " character
   18 |   else cout<<"No;
      |              ^
a.cc:18:14: error: missing terminating " character
   18 |   else cout<<"No;
      |              ^~~~
a.cc: In function 'int main()':
a.cc:19:1: error: expected primary-expression before '}' token
   19 | }
      | ^
Language: C++

#pragma warning(disable:4996)

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

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

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

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

	cout << "No" << endl;

	return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  cin>> n;
  if (n=7){
    cout<<"yes"<<endl;}
  else if(n=7){
    cout<<"no"<<endl;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: expected '}' at end of input
   10 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
    int N;
    
    cin>>N;
  　int d1;
    int d2;
    int d3;
  
    d1=N/100;
    d2=(N-(d1*100))/10;
    d3=(N-(d1*100)-(d2*10));
    
    if((d1==7)||(d2==7)||(d3==7))
      cout<<"Yes"<<endl;
    else
      cout<<"No"<<endl;

    return 0;
}

Compiler output:
a.cc:7:3: error: extended character 　 is not valid in an identifier
    7 |   　int d1;
      |   ^
a.cc: In function 'int main()':
a.cc:7:3: error: '\U00003000int' was not declared in this scope
    7 |   　int d1;
      |   ^~~~~
a.cc:11:5: error: 'd1' was not declared in this scope; did you mean 'd3'?
   11 |     d1=N/100;
      |     ^~
      |     d3
Language: C

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: expected primary-expression before '%' token
   10 |   else if ((N%100)-(N%10))%7==0){
      |                           ^
a.cc:13:28: error: expected ')' before '{' token
   13 |   else if ((N-(N%100)%7==0){
      |           ~                ^
      |                            )
a.cc:19:12: error: expected primary-expression before '}' token
   19 |            }
      |            ^
Language: C

#ifndef LOCAL
#pragma GCC optimize("O3")
#endif
#include "bits/stdc++.h"
using namespace std;
#define sim template < class c
#define ris return * this
#define int long long
#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 << '\n'; }
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__) << "] "
#define fastio ios_base::sync_with_stdio(false);cin.tie(0);
typedef long long ll;
const ll MOD = 1e9 + 7 ;
const ll N = 1e5 + 10 ;
const ll INF = 1e18 + 10 ;
signed main(){
    fastio 
    int x ;
    cin >> x ;
    while(x != 0){
        if ( x % 10 == 7 ) return cout << "Yes" << endl, 0;
        x /= 10 ;
    }
    cout << "No" << endl;
    return 0 ; 
}

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++

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

bool rucky(int a){
  ostringstream oss;
  string s;
  oss<<a;
  for(int i=0;i<s.length();i++){
    if(s[i]=="7"){
      return true;
    }    
  }
  return false;
}

int main(void){
  int n;
  
  cin>>n;
  
  if(rucky(n)){
    cout<<"Yes";
  }
  else{
    cout<<"No";
  }
  
  return 0;
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:3:14: note: to match this '{'
    3 | signed main(){
      |              ^
Language: C

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

signed main(){
  string N;
  cin>>N;
  string ans="No";
  if(N[0]=='7')ans="Yes";
  if(N[1]=='7')ans="Yes";
  if(N[2]=='7')ans="Yes";
  cout<<ans<<endl;
}

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

import sys
import numpy as np
 
n = input()
 
if ((n[0] == '7') or (n[1] == '7') or (n[2] == '7')):
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import sys
      | ^~~~~~
main.c:2:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    2 | import numpy as np
      | ^~~~~~
main.c:2:1: error: unknown type name 'import'
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('Yes')
      |           ^~~~~
main.c:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print('No')
      |           ^~~~
Language: C

#include "iostream"
using namespace std;

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

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
string s;
int main(void){
    cin>>s;
    for(int i=0;i<3;i++){
        if(s[i]=='7'){
            cout<<"Yes"<<endl;
            return 0;
        }
    }
    cout<<"No"<<endl;
    
}


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

#include <bits/stdc++.h>
using namespace std;
int main(){
  int N,A;
  cin>>N;
  for(int i=0,i<N,i++){
    if((i+1)%3!=0 && (i+1)%5!=0)
    A+=(i+1);
  }
  cout<<A<<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 N, ans = "No";
  cin >> N;
  for(int i=0;i<3;i++) if(N.at(i)=="7") ans = "Yes";
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:34: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   for(int i=0;i<3;i++) if(N.at(i)=="7") ans = "Yes";
      |                           ~~~~~~~^~~~~
Language: C

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

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

#include<stdio.h>
#include <string>
#include<iostream>
using namespace std;
 
int main()
{
    int N;
  char *numStr;
  	cin>>N;
 
	sprintf(numStr, "%d", n);
 
 if(numStr[0]=='7'||numStr[1]=='7'||numStr[2]=='7')
	cout<<"Yes"<<endl;
  else
  	cout<<"No"<<endl;
  
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:31: error: 'n' was not declared in this scope
   12 |         sprintf(numStr, "%d", n);
      |                               ^
Language: C

#include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <algorithm>
#include <bitset>
#include<iomanip>//小数点以下を精度良く表示

#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <numeric>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define INF 2000000000
#define INF2 1000000000000000000
#define rep(i,n) for(int i=0;i<(n);i++)
typedef pair<string, string> P;
const ll MOD=1000000007;
using Graph = vector<vector<int>>;



const int MAX_N = 1000;
const int MAX_K = 100000;

template<class T>  T gcd(T a, T b) {
    while (a % b != 0) {
        T tmp = b;
        b = a % b;
        a = tmp;
    }
    return b;
}

template<class T> T lcm(T a, T b) {
    if (a == b) return b;
    T g = gcd(a, b);
    return (a / g) * b;
}


int main() {
    int n;
    cin >> n;
    string s = to_string(n);
    if (s[0] == '7' || s[1] == '7' || s[2] == '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

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


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

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

Compiler output:
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;

// static const int MAX = 1e6;
// static const int NIL = -1;
// static const ll INF = 1<<21;
// static const ll MOD = 1e9 + 7;

// bool compPair(const pair<int, int>& arg1, const pair<int, int>& arg2) {
//     return arg1.first > arg2.first;
// }

// template<class T> void chmin(T& a, T b) {
//     if (a > b) {
//         a = b;
//     }
// }

// template<class T> void chmax(T& a, T b) {
//     if (a < b) {
//         a = b;
//     }
// }

int main(void) {
    int n;
    cin >> n;

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

    if((n%100)/10==7) { 
        cout << "Yes" << endl;
        return 0;
    }
    else n -= n%100;

    if((n%1000)/100==7) { 
        cout << "Yes" << endl;
        return 0;
    }
    else cout << "No" << endl;
    
    return 0;
}


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

#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>
using namespace std;
 
 
int main()
{
	int N;
 
	cin >> N;
 
	if(N/100 == 7){
		cout << "Yes";
	}else if((N/10)%10 == 7){
		cout << "Yes";
	}else if(N%10 == 7){
		cout << "Yes";
	}else{
		cout << "No";
	}
 
	return 0;
}

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

#include<iostream>
#include<vector>
#include<string>
#include<sstream>
#include<chrono>
#include<algorithm>
#include<functional>
#include<cstdlib>
#include<numeric>
#include<queue>
#include<stack>
using namespace std;
typedef unsigned long long ull;
int main()
{

	int k = 0;
	cin >> k;
	ull sum = 0;
	for (int a = 1; a <= k; a++)
		for (int b = 1; b <= k; b++)
			for (int c = 1; c <= k; c++)
				sum += std::gcd(std::gcd(a, b), c);

	std::cout << sum << std::endl;

}

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: 's' was not declared in this scope
    9 |   if(s.at(i)=='7'){count++;}
      |      ^
Language: C

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


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

#include <stdio.h>
#include <iostream>
#define rep(i,n) for(i=0;i<n;i++)
using namespace std;

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

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


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

int main()
{
	speed;
	int n;
	cin >> n;
	bool flag = false;
	while(n)
	{
		if(n%10==7)
		{
			flag = true;
			break;
		}
		n/=10;
	}
if(flag)
	cout <<  "Yes"<< endl;
else
	cout << "No" << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'speed' was not declared in this scope
    7 |         speed;
      |         ^~~~~
Language: C

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

int main()
{
    int n, m;
    cin >> n;

    while (n > 0)
    {
        m = n % 10;
        if (m == 7)
        {
            cout << "Yes" << endl;
            return 0;
        }
        n /= 10;
    }

    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 <algorithm>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#include <deque>
#include <functional>
#include <list>
#include <map>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int i;
int main()
{
	scanf("%d",&i);
	if(i%10==7||(i/10)%10==7||i/100==7) printf("Yes");
	else printf("No");
	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a;cin>>a;
  cout<<(a/100==7||a/10%10==7||a%10==7?"Yes":"No");

}

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

N = list(map(int, input().split()))
l = len(N)
n = 0 
while n < l-1  
    if N[n]=7
      print("Yes")
      break
    n += 1
    
    if n == l-1
      print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = list(map(int, input().split()))
      | ^
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(map(int, input().split()))
      |     ^~~~
main.c:1:10: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | N = list(map(int, input().split()))
      |          ^~~
main.c:1:14: error: expected expression before 'int'
    1 | N = list(map(int, input().split()))
      |              ^~~
main.c:2:1: error: expected ',' or ';' before 'l'
    2 | l = len(N)
      | ^
Language: C++

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

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

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

#include<iostream>
using namespace std;

int main() {
    int N, P;
    int L[2];
    cin >> N;

    P = 0;
    for(int i=0; i<=2; i++){
        L[i] = N % 10;
        N = N % 10;
        if (L[i] == 7){
            P = 1;
        }
    }
    if(P == 1){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
    return 0;
}

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

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

int main(){

    int N;
    cin >> N;

    bool frag = false;

    if (N / 100 == 7) frag = true;
    N -= N / 100 * 100;
    if (N / 10 == 7) frag = true;
    N -= N / 10 * 10;
    if (N == 7) frag = true;

    if (frag) cout << "Yes" << endl;
    else cout << "No" << endl;

    return 0;
}

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

#include<iostream>
using namespace std;

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

	bool Yes_Flag=false;

	for(int i=0;i<3;i++){
		if(N%10==7){Yes_Flag=true;
		break;
		}
		N/=10;
	} 

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


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

k = input()
if k[0] == k[1] or k[1] ==k[2] or k[2]==k[3]:
    print("Yes")
else:
    print("No")
   


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  string N;
  cin >> N;
    int M= 0;
  for(int i =0;i < 3; i++){
    if(N.at(i) == '7'){
    M++;
    }
      
  }
    if(M != 0){
        cout << "Yes" << endl;
    }
        else{
            cout << "No" <<endl;
}
}

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 n; cin >> n;
	string ans = "No";
  	int sz = n.size();
	for(int i = 0; i < sz; i++) {
		if(n[i] == '7') 
			ans = "Yes";
	}
	cout << ans << 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;
int main(){
  int N,a,b,c;
  cin>>N>>;
  a=N/100;
  b=(N-a*100)/10;
  c=(N-a*100-b*10);
  if(a==7||B==7||c==7)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected primary-expression before ';' token
    5 |   cin>>N>>;
      |           ^
a.cc:9:12: error: 'B' was not declared in this scope
    9 |   if(a==7||B==7||c==7)cout<<"Yes"<<endl;
      |            ^
Language: C

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


int main() {
  vector<char> N(3);

  for(int i=0;i<3;i++){
      cin >> N.at(i);
  }
  

  for(int i=0;i<3;i++){
    if(N.at(i)=='7'){
        cout << "Yes" << endl;
        break;
    }
    if(i==2){
        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;
using ll = long long;
using P=pair<int,int>;


int gcd(a,b,c){
  
int main(){
  string N;
  cin>>N;
  
  string ans="Yes";
  
  bool frag=false;
  
  if(N[0]=="7")frag=true;
  if(N[1]=="7")frag=true;
  if(N[2]=="7")frag=true;
  
  if(frag){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
}


Compiler output:
a.cc:8:9: error: 'a' was not declared in this scope
    8 | int gcd(a,b,c){
      |         ^
a.cc:8:11: error: 'b' was not declared in this scope
    8 | int gcd(a,b,c){
      |           ^
a.cc:8:13: error: 'c' was not declared in this scope
    8 | int gcd(a,b,c){
      |             ^
a.cc:8:14: error: expression list treated as compound expression in initializer [-fpermissive]
    8 | int gcd(a,b,c){
      |              ^
Language: C

#include <iostream>
using namespace std;
int main() {
  int x;
  cin >> x;
  bool ba = false;
  int a = x/100;
  int b = x % 10;
  int c = (x - a*100)/10;
  if(a == 7 || b == 7 || c == 7) ba = true;
  if(ba) cout << "Yes";
  else cout << "No";
}

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

#include <bits/stdc++.h>

using namespace std;

int main() {
    int N,M,G,H;
    cin >> N;
    M = (N - 7) % 10;
    G = (N - 70) % 10;
    H = (N - 700) % 10;
    if (M == 0 || G == 0 || H == 0) {
        cout << "Yes" << endl;
    }
    

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

    }

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

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

int main() {
    char N;
    // string N_str;
    // cin >> N;
    for (int i = 0; i < 3; i++) {
        cin >> N;
        if (N == '7') {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{string s;
 cin>>s;
 if(find(s.begin().s.end(),'7')==s.end())
    cout<<"No";
 else
   cout<<"Yes";
}
 


Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 'std::__cxx11::basic_string<char>::iterator' has no member named 's'
    6 |  if(find(s.begin().s.end(),'7')==s.end())
      |                    ^
Language: C

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

/* typedef */
/* long系 */
typedef long long ll;	// long long
typedef long double ld;	// long double
/* vector系 */
typedef vector<int> vint;	// intのvector
typedef vector<double> vdouble;	// doubleのvector
typedef vector<ll> vll;	// llのvector
typedef vector<ld> vld;	// ldのvector
typedef vector<pair<int, int>> vi_i;	// i_iのvector
typedef vector<pair<double, double>> vd_d;	// d_dのvector
typedef vector<pair<ll, ll>> vl_l;	// l_lのvector
typedef vector<pair<ld, ld>> vld_ld;	// ld_ldのvector
typedef vector<string> vstring;	// stringのvector
/* pair系 */
typedef pair<int, int> i_i;	// int同士のpair
typedef pair<double, double> d_d;	// double同士のpair
typedef pair<ll, ll> l_l;	// ll同士のpair
typedef pair<ld, ld> ld_ld;	// ld同士のpair

/* define */
#define pb push_back	// push_back
#define all(v) v.begin(),v.end()	// コンテナ全体
#define PI (acos(-1))  // 円周率pi

/* 変数入出力 read, write */
template <typename T>	// 1変数
void read(T& x) {
	cin >> x;
}
template <typename T, typename T0>	// 2変数
void read(T& x, T0& y) {
	cin >> x >> y;
}
template <typename T, typename T0, typename T1>	// 3変数
void read(T& x, T0& y, T1& z) {
	cin >> x >> y >> z;
}
template <typename T, typename T0, typename T1, typename T2>	// 4変数
void read(T& x, T0& y, T1& z, T2& w) {
	cin >> x >> y >> z >> w;
}
template <typename T>	// 1変数
void write(T& x) {
	cout << x << endl;
}
template <typename T, typename T0>	// 2変数
void write(T& x, T0& y) {
	cout << x << " " << y << endl;
}
template <typename T, typename T0, typename T1>	// 3変数
void write(T& x, T0& y, T1& z) {
	cout << x << " " << y << " " << z << endl;
}
template <typename T, typename T0, typename T1, typename T2>	// 4変数
void write(T& x, T0& y, T1& z, T2& w) {
	cout << x << " " << y << " " << z << " " << w << endl;
}
// vectorの出力
template <typename T>
void printvec(const vector<T> &data) {
    		    for (const auto elm : data) {
      		    	cout << elm << " ";
    		    }
    		    cout << endl;
}


int main(int argc, char const *argv[]) {
    int n; cin >> n;
    string s = to_string(n);
    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:2:9: fatal error: bits/stdc++.h: No such file or directory
    2 | #include"bits/stdc++.h"
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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




int main(){
    long long int t;
    cin>>t;
    int cnt;
    while(t){
        cnt=t%10;
        t=t/10;
        if(cnt==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

n = int(input())
 
nn = []
nn.append(n//100)
nn.append(n//10)
nn.append(n%10)
if 7 in nn:
    print('Yes')
else:
    print('No')

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

#include<bits/stdc++.h>
typedef long long int ll;
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:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
#define INF 1000000000000000000
#define all(x) x.begin(), x.end()
 
int main() {
    string N;
    cin >> N;
    if (N[0] == '7' || N[1] == '7' || N[2] == '7')
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:8:5: error: unknown type name 'string'
    8 |     string N;
      |     ^~~~~~
main.c:9:5: error: 'cin' undeclared (first use in this function)
    9 |     cin >> N;
      |     ^~~
main.c:9:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:10: error: subscripted value is neither array nor pointer nor vector
   10 |     if (N[0] == '7' || N[1] == '7' || N[2] == '7')
      |          ^
main.c:10:25: error: subscripted value is neither array nor pointer nor vector
   10 |     if (N[0] == '7' || N[1] == '7' || N[2] == '7')
      |                         ^
main.c:10:40: error: subscripted value is neither array nor pointer nor vector
   10 |     if (N[0] == '7' || N[1] == '7' || N[2] == '7')
      |                                        ^
main.c:11:9: error: 'cout' undeclared (first use in this function)
   11 |         cout << "Yes" << endl;
      |         ^~~~
main.c:11:26: error: 'endl' undeclared (first use in this function)
   11 |         cout << "Yes" << endl;
      |                          ^~~~
Language: C

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

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

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

#include <iostream>
#include <string>
using namespace std;
int main(void){
    // Your code here!
    int a;
    cin >> a;
    int b = a % 100;
    
    if(a%10 == 7||(b>69 && b<80)||(a>699 && a<800)){
        cout << "Yes" <<endl;
    }else{
        cout << "No" << endl;
    }
    
}


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

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


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

#include <iostream>
using namespace std;
int main(void){
  int n;
  cin >> n;
  for(int i = 0; i < 3; i++){
  	if(n % 10 == 7){
      cout << "Yes" << endl;
      return 0;
    }
    n /= 10;
  }
  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<iostream>
using namespace std;
int main()
{
    int N,i,j,k;
    cin>>N;
    i=N%10;
    N=N/10;
    j=N%10;
    N=N/10;
    k=N%10;
    if(i==7 || j==7 || k==7)
    {
        cout<<"Yes"<<endl;
    }
    else
    {
        cout<<"No"<<endl;
    }
    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char str[5];
    gets(str);

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

}


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

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

int main() {

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected unqualified-id before 'return'
    8 |   string return="Yes";
      |          ^~~~~~
a.cc:12:18: error: lvalue required as left operand of assignment
   12 |   if( a=7 || b=7 || c=7){
      |                ~~^~~~
a.cc:13:13: error: expected primary-expression before 'return'
   13 |     cout << return; endl;
      |             ^~~~~~
a.cc:13:25: error: statement cannot resolve address of overloaded function
   13 |     cout << return; endl;
      |                         ^
a.cc:16:12: error: expected primary-expression before '=' token
   16 |     return = "No";
      |            ^
a.cc:17:13: error: expected primary-expression before 'return'
   17 |     cout << return; endl
      |             ^~~~~~
a.cc:17:25: error: expected ';' before '}' token
   17 |     cout << return; endl
      |                         ^
      |                         ;
   18 |   }
      |   ~                      
a.cc:18:3: error: statement cannot resolve address of overloaded function
   18 |   }
      |   ^
Language: C++

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

using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef long long ll;
using Graph = vector<vector<int>>;
typedef long long ll;
typedef pair<int, int> P;

const int MOD = 1000000007;
const int INF_32 = 1LL << 30;
const int64_t INF_64 = 1LL << 60;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:24:13: error: return-statement with no value, in function returning 'int' [-fpermissive]
   24 |             return;
      |             ^~~~~~
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 x, a, b, c, d;
int main() {
	cin >> x;
	a= x / 100;
	b = x % 100;
	c = b / 10; 
	d = b % 10;
	if (a == 7 || d == 7 || c == 7) {
		cout << "Yes";
	}else cout << "No";
	return 0;
}

Compiler output:
main.c:1:10: fatal error: 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
#define pi acos(-1)
#define io  ios_base::sync_with_stdio(false); cin.tie(0);
using namespace std;
int main(){
    int n,r,fg = 0;
    cin>>n;
    while(n){
        r = n%10;
        if(r==7) {fg = 1; break;}
        else n = n/10;
    }
    if(fg) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;

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

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

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

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

import re

str = input()
print(type(str))
print(str)


search_result = re.search('7', str)

if search_result:
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import re
      | ^~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'str'
    3 | str = input()
      | ^~~
main.c:11:11: warning: multi-character character constant [-Wmultichar]
   11 |     print('Yes')
      |           ^~~~~
main.c:13:11: warning: multi-character character constant [-Wmultichar]
   13 |     print('No')
      |           ^~~~
Language: C

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

int main() {
string N;
cin >> N;
string ans;
for (int i = 0; i < N.length(); i++)
{
    if (N.at(i) == '7')
    {

       ans = "Yes";
       break;
       }
    
    else
    {
        ans = "No";
    }
    
}

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>
#include <algorithm>
using namespace std;


int main (){
    int N;
    cin >> N;
    int x1=N/100;
    int x2=(N-x1*100)/10;
    int x3=N-100*x1-10*x2;
    if(x1==7 || x2==7 || x3==7){
        cout << "Yes"<< endl;
    }
    else{
    cout << "No" << endl;
    }
}


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

#include <bits/stdc++.h>
using namespace std;
#define dhoom ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);  
typedef long long ll;
typedef long double ld;
const ll inf = 1e18;
const int nax = 2e6 + 7;
const ll mod = 1e9 + 7;
//ll tree[4 * nax];
//9uS-22RSwk7gQqh
int a[2][230];
//int t[100005] , x[100005] , y[100005];
int main(){
	dhoom;
	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: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

using namespace std;

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

  if(N % 10 == 7)
  {
    cout << "Yes" << endl;
    return 0;
  }
  N /= 10;
  if(N % 10 == 7)
  {
    cout << "Yes" << endl;
    return 0;
  }
  if(N / 10 == 7)
  {
    cout << "Yes" << endl;
    return 0;
  }

  cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> N;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |     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 | using namespace std;
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:16:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:22: error: 'endl' was not declared in this scope
   16 |     cout << "Yes" << endl;
      |                      ^~~~
a.cc:16:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:21:5: error: 'cout' was not declared in this scope
   21 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:21:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:21:22: error: 'endl' was not declared in this scope
   21 |     cout << "Yes" << endl;
      |                      ^~~~
a.cc:21:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:25:3: error: 'cout' was not declared in this scope
   25 |   cout << "No" << endl;
      |   ^~~~
a.cc:25:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:25:19: error: 'endl' was not declared in this scope
   25 |   cout << "No" << endl;
      |                   ^~~~
a.cc:25: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;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = (int)(n - 1); i >= 0; i--)
#define all(x) (x).begin(), (x).end()
#define sz(x) int(x.size())
#define get_unique(x) x.erase(unique(all(x)), x.end());
typedef long long ll;
typedef complex<double> Complex;
const int INF = 1e9;
const ll MOD = 1e9 + 7;
const ll LINF = 1e18;
template <class T>
bool chmax(T& a, const T& b) {
    if (a < b) {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
bool chmin(T& a, const T& b) {
    if (b < a) {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
vector<T> make_vec(size_t a) {
    return vector<T>(a);
}
template <class T, class... Ts>
auto make_vec(size_t a, Ts... ts) {
    return vector<decltype(make_vec<T>(ts...))>(a, make_vec<T>(ts...));
}
template <typename T>
ostream& operator<<(ostream& os, vector<T> v) {
    for (int i = 0; i < sz(v); i++) {
        os << v[i];
        if (i < sz(v) - 1) os << " ";
    }
    return os;
}
int main() {
    string s;
    cin >> s;
    bool ok = 0;
    for (char c : s) ok |= c == '7';
    cout << (ok ? "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

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

typedef long long ll;
typedef pair<int,int> pp;
const int INF = 1e9;
const int MOD = 1000000007;
const double pi = 3.141592653589793238;

ll gcd(ll a, ll b) { return __gcd(a,b); } //最大公約数
ll lcm(ll a, ll b) { return a/gcd(a,b)*b; } //最大公倍数

template<class T> inline bool chmin(T& a, T b) { if (a > b) {a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) {a = b; return true; } return false; }


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

}


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 ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

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

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

input java.util.Scanner;
public static Main{
	public static vid main(String args[]){
    Scanner scn = new Scanner (System.in);
      int N = scn.nextint();
	scn.close();
      for(int i = 0;i<3;i++){
      if(N.charAt(i) == 7){
      System.out.println("Yes");
      }
    }
      System.out.println("No");
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
input java.util.Scanner;
^
Main.java:2: error: class, interface, enum, or record expected
public static Main{
              ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
	public static vid main(String args[]){
	              ^
  (use --enable-preview to enable unnamed classes)
3 errors