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

#include <iostream>
using namespace std;
int main() {
  cin >> x;
  x = to_string(x)
  if (x.find("7") == string::npos) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'x' was not declared in this scope
    4 |   cin >> x;
      |          ^
a.cc:8:5: error: 'else' without a previous 'if'
    8 |   } else {
      |     ^~~~
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)==70){
      cout<<"Yes"<<endl;
  }else if((N%1000-N%100)==700){
      cout<<"Yes"<<endl;
  }else{
      cout<<"No"<<endl;
  }
 
}




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

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

int main(void) {

  int main(void) {
    string N;
    cin >> N;
    rep(i,n){
      if(s[i]=='7'){
        cout << "Yes" << endl
      }
      else{
        cout << "No" << endl;
      }
    }
  }
}

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

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

int main() {
    int N,a,b,c;
    cin >> N;

    c = N % 10;
    b = (N/10)%10;
    a = (N/10)/10;

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

int main() {
  /* code */
  string m;
  cin >> m;

  

  vector<int> a(m.length());
  string ans = "No";

  define rep(i,n) {
    a[i] = m[i];
  }
  
  define rep(i,n) {
    if (a[i] == "7") {
      ans = "Yes";
      return;
    }
  }


  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:3: error: 'define' was not declared in this scope
   17 |   define rep(i,n) {
      |   ^~~~~~
a.cc:17:14: error: 'i' was not declared in this scope
   17 |   define rep(i,n) {
      |              ^
a.cc:2:34: note: in definition of macro 'rep'
    2 | #define rep(i,n) for (int i = 0; i < (n); i++)
      |                                  ^
a.cc:17:16: error: 'n' was not declared in this scope
   17 |   define rep(i,n) {
      |                ^
a.cc:2:39: note: in definition of macro 'rep'
    2 | #define rep(i,n) for (int i = 0; i < (n); i++)
      |                                       ^
a.cc:21:9: error: expected ';' before 'for'
   21 |   define rep(i,n) {
      |         ^
      |         ;
Language: C++

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

int main(){

  int s;
  cin>>s;
  if(s.substr(0,1)=="7" || s.substr(1,1)=="7" || s.substr(2,1)=="7")cout<<"Yes"<<endl;
  else cout<<"No"<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:8: error: request for member 'substr' in 's', which is of non-class type 'int'
   11 |   if(s.substr(0,1)=="7" || s.substr(1,1)=="7" || s.substr(2,1)=="7")cout<<"Yes"<<endl;
      |        ^~~~~~
a.cc:11:30: error: request for member 'substr' in 's', which is of non-class type 'int'
   11 |   if(s.substr(0,1)=="7" || s.substr(1,1)=="7" || s.substr(2,1)=="7")cout<<"Yes"<<endl;
      |                              ^~~~~~
a.cc:11:52: error: request for member 'substr' in 's', which is of non-class type 'int'
   11 |   if(s.substr(0,1)=="7" || s.substr(1,1)=="7" || s.substr(2,1)=="7")cout<<"Yes"<<endl;
      |                                                    ^~~~~~
Language: C

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

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

string N;
int cnt = 0;

int main() {
	cin >> N;
	for (int i = 0; i < N.length(); i ++) {
		if (N[0] == "7") {
			cnt ++;
		}
	}

	if (cnt != 0) {
		printf("Yes");
	}
	else {
		printf("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(){
  string N[3];
  cin>>N;
  if(N.at(0)=7)
    cout<<"Yes"<<endl;
  else if(N.at(1)=7)
    cout<<"Yes"<<endl;
  else if(N.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>
#include <set>
#define rep(i,n) for (int i=0; i < (n); ++i)
#define all(a) a.begin(), a.end()
using ll = long long;
using namespace std;


int main() {
  int n; cin >> n;
  int x = n / 100;
  int y = (n - x*100) / 10;
  int z = n % 10;
  if (x == 7|| y == 7|| z == 7 ) cout << "Yes";
  else cout << "No";
  cout << 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<string>
#include<vector>
#include<algorithm>
#include<math.h>
#include<tuple>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
	string s;
	cin >> s;
	bool ans = false;
	rep(i, s.size()) {
		if (s[i] == '7') {
			ans = true;
		}
	}
	if (ans) {
		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() {
  int N;
  cin >> N;
  string str = to_string(N);

  for (int i = 0; i < 3; i++) {
    if (str.at(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<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<set>
#include<queue>
#include<cmath>
#include<map>
#include<stack>
#define ll long long
#define rep(i,n) for (int (i) = 0; (i) < (n); ++(i))
using namespace std;
static const int MAXN = 100000;
static const int MAX = 1000000000;

int main(){
    string s;
    cin >> s;
    int n = s.size();
    rep(i,n){
        if(s[i] == '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>
using namespace std;
int main()
{
string s;
  cin>>s;
  int i,count=0;
  for(int i=0;i<s.length();i++)
  {
  	if(s[i]=='7')
  	{
  		cout<<"Yes"<<endl;
  		count=1;
	  }
  }
  if(count==0) 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;
  cout<<((n.find('7')==string::npos)?"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<iostream>
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;
}

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

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


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

#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int maxx = 1e5 + 7;
const int Inf = 1 << 30;
const LL INF = 1LL << 60;
string s;

int main() {
	cin >> s;
	bool flg = 0;
	int l = s.length();
	for(int i = 0; i < l; i++) {
		if(s[i] == '7') {
			flg = 1;
			break;
		}
	}
	if(flg) puts("Yes");
	else puts("No");
	return 0;
}

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

#include <bits/stdc++.h>
#define ROOP(i, N) for(int i=0; i++; i<N)
#define RVROOP(i, N) for(int i=N; i--; i>=0)
#define ALL(v) v.begin(), v.end()
const int INF = 1e9;
const int MAX = 510000;
const int MOD = 1000000007;
using namespace std;
typedef long long ll;

/*DP使ったほうがよくない？？WOWWOW*/

int main(){
  string N; cin>>N;
  bool ans=false;
  for(int i=0; i<3; i++){
    if(N.at(i)=="7"){
      ans=true;
      break;
    }
  }
  if(ans==true){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |     if(N.at(i)=="7"){
      |        ~~~~~~~^~~~~
Language: C

import sys
n = input()
for i in n:
	if i == '7'
		print('Yes')
		sys.exit(0)
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 'n'
    2 | n = input()
      | ^
main.c:5:23: warning: multi-character character constant [-Wmultichar]
    5 |                 print('Yes')
      |                       ^~~~~
main.c:7:7: warning: multi-character character constant [-Wmultichar]
    7 | print('No')
      |       ^~~~
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;}
}


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;
  bool judge = false;
  while (N > 0) {
    if (N % 10 = 7) {
      ans = true;
    }
    N /= 10;
  }
  
  if (judge)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: lvalue required as left operand of assignment
    9 |     if (N % 10 = 7) {
      |         ~~^~~~
a.cc:10:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |       ans = true;
      |       ^~~
      |       abs
Language: C

#include<cstdio>
#include<cmath>
#include<cstring>
#include<iostream>
#include<stack>
#include<algorithm>
using namespace std;
int main()
{
	char s[20];
	cin >> s;
	for (int i = 0; s[i] != '\0'; i++) {
		if (s[i] == '7')
		{
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;
}



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

N= str(input())
if N.count("7")>=1:
    print("yes")
else :
    print("No")

    

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N= str(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:4: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | N= str(input())
      |    ^~~
main.c:1:8: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N= str(input())
      |        ^~~~~
main.c:1:4: error: initializer element is not constant
    1 | N= str(input())
      |    ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if N.count("7")>=1:
      | ^~
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-(N/100)*10 == 7) {
    cout << "Yes" << endl;
  }
  
  else if (N-(N/10)*10 == 7) {
    cout << "Yes" << endl;
  }
  
  else {
    cout << "No" << endl;
  }
}
 

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

#include<iostream>

int main(){
    long long N;
    std::cin >> N;
    if((N/100)%10 == 7){
        printf("Yes\n");
    }else if((N/10)%10 == 7){
        printf("Yes\n");
    }else if(N%10 == 7){
        printf("Yes\n");
    }else{
        printf("No\n");
    }
}

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

#include <iostream>
#include <string>

using namespace std;

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

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

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

int main() {
 N = 777;
 cout<<N<<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

//
//  main.cpp
//  A
//
//  Created by Hashizo on 2020/04/12.
//  Copyright © 2020 Hashizo. All rights reserved.
//

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

using namespace std;
 
#undef LONG_MAX
#undef LONG_MIN
 
#define LONG_MAX    9223372036854775807
#define LONG_MIN    (-LONG_MAX  -1)
 
#define ll long long
 
#define FOR(i, a, b) for (ll i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
 
#define SORT(c) sort((c).begin(), (c).end())
#define REVERSE(v) reverse((v).begin(), (v).end())

int main(int argc, const char * argv[]) {
	
	char n[3];
	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:9:10: fatal error: iostream: No such file or directory
    9 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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

using namespace std;

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

    int check =0;

    for(int i=0;i<3;i++){
        int a =N[i];
        if(a==55){check=1;}
    }

    if(check==1)cout << "Yes" << endl;
    if(check==0)cout << "No" << endl;

}

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

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i,n) for(ll i=0;i<(ll)(n);i++)
#define REPD(i,n) for(ll i=(ll)(n)-1;i>=0;i--)
#define FOR(i,a,b) for(ll i=(a);i<=(b);i++)
#define FORD(i,a,b) for(ll i=(a);i>=(b);i--)
#define ALL(x) (x).begin(),(x).end() //sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size()) //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x))
#define INF 1000000000000
#define MOD 10000007
#define PB push_back
#define MP make_pair
#define F first
#define S second
int main() {
    int n; cin >> n;
    bool can=false;

    while(n != 0){
        int a=0;
        a = n%10;
        n /= 10;
        if(a==7) can=true;
//        cout << a;
    }
    
    if(can) cout << "Yes" << endl;
    else cout << "No" << endl;
}

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

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

int main() {
  vector<int> N(3); 
  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:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main(){
	int a,b,c,n;
	cin>>n;
	a=n%10;
	n=n/10;
	b=n%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: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

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

int main(){
    string N;
    cin >> N;
    string ans;
    if(N[0] != '7' and N[1] != '7' and N[2] != '7'){
        ans = "No";
    }
    else{
        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 <string>
#include <random>
#include <algorithm>
#include <unordered_set>
#define rep(i,n) for(int i = 0; i < n; i++)
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define vll vector<vector<long long>>
#define vl vector<long long>
#define vi vector<int>
#define vii vector<vector<int>>
#define pb push_back
#define pf push_front
#define ld long double
#define Sort(a) sort(a.begin(),a.end())
#define cSort(a,cmp) sort(a.begin(),a.end(),cmp)
#define reSort(a) sort(a.rbegin(), a.rend())
static const ll llMAX = numeric_limits<long long>::max();
static const int intMAX = numeric_limits<int>::max();
static const ll  llMIN = numeric_limits<long long>::min();
static const int intMIN = numeric_limits<int>::min();
static const ll d_5 = 100000;
static const ll d9_7 = 1000000007;
static const ll d_9 = 1000000000;
static const double PI=3.14159265358979323846;
template<class T>
T gcd(T a,T b){
  if(a==0){
    return b;

  }else if(b==0){
    return a;
  }
  while(1) {
    if(a < b) swap(a, b);
    if(!b) break;
    a %= b;
  }
  return a;
}
ll digitpower(ll a,ll b){//aのb乗を計算
  if(b==1){
    return a;
  }else if(b==0){
    return 1;
  }
  int mode=1;
  if(mode==0){
    if(b%2==1){
      ll tmp = digitpower(a,(b-1)/2);
      tmp%=d9_7;
      tmp*=tmp;
      tmp%=d9_7;
      tmp*=a;
      return (tmp)%d9_7;
    }else{
      ll tmp = digitpower(a,(b)/2);
      tmp%=d9_7;
      tmp*=tmp;
      tmp%=d9_7;
      return (tmp)%d9_7;
    }
  }else{
    if(b%2==1){
      ll tmp = digitpower(a,(b-1)/2);
      tmp*=tmp;
      tmp*=a;
      return (tmp);
    }else{
      ll tmp = digitpower(a,(b)/2);
      tmp*=tmp;
      return (tmp);
    }
  }
  return 0;
  
}
template<class T>
void Printvector(std::vector<T> &a){
  int size = a.size();
  rep(i,size){
    cout<<a[i]<<" ";
  }
  cout<<endl;
}
template<class T>
void Printvector(std::vector<std::vector<T>> &a){
  int size = a.size();
  rep(i,size){
    int size2=a[i].size();
    rep(j,size2){
      cout<<a[i][j]<<" ";
    }
    cout<<endl;
  }
  cout<<endl;
}
int main(void){
  int n,k,c;
  string s;
  std::cin>>s;
  if(s[0]=='7' || s[1]=='7' || s[2]=='7'){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
  
  return 0;
}

//clang++ -g -fsanitize=address -fno-omit-frame-pointer 1.cpp -o test.exe

//<<std::setprecision(30)

//重複削除
 /* std::sort(vec.begin(), vec.end());
 
  vec.erase(std::unique(vec.begin(), vec.end()), vec.end());*/

  //ペアの全探索
  /*do{
		int s=0;
		for(int i=0;i<n/2;i++)s+=v[i]^v[i+n/2];
		r=max(s,r);
		reverse(v.begin()+n/2,v.end());
	}while(next_permutation(v.begin(),v.end()));*/


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

#include <iostream>
#include <string>

using namespace std;

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

    string n;
    cin >> n;

    cout << (n[0] == '7' || n[1] == '7' || n[2] == '7' ? "Yes" : "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>
usingnamespace std;
int main(){
  string s;
  cin>>s;
  if(s[0]=='7' || s[1]=='7' || s[2]=='7') cout<<"Yes\n";
  else cout<<"No\n";
  
  return(0);
}

Compiler output:
a.cc:2:1: error: 'usingnamespace' does not name a type
    2 | usingnamespace std;
      | ^~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string s;
      |   ^~~~~~
a.cc:4:3: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>s;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:8: error: 's' was not declared in this scope
    5 |   cin>>s;
      |        ^
a.cc:6:43: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(s[0]=='7' || s[1]=='7' || s[2]=='7') cout<<"Yes\n";
      |                                           ^~~~
      |                                           std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else cout<<"No\n";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include<iostream>
#include<string>
#include<vector>
#include<queue>
#include<algorithm>
#include<map>
#include<set>
#include<cmath>
typedef long long ll;
#define rep(i,n) for(int i=0;i<(n);i++)
using namespace std;

int gcd(int x, int y) {
	if (y % x == 0) return x;
	else return gcd(y % x, x);
}

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

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

#include <iostream>
#include <math.h>
#include <string>
#include <stdio.h>
#include <algorithm>
#include <queue>
#include <stack>
#include <functional>
#include <iomanip>
//#include <bits/stdc++.h>
#define micro 0.01

using namespace std;

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


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

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


int main() {
    int N;
    int a[3] = {0};
    cin >> N;
    a[0] = N / 100;
    a[1] = (N - a[0] * 100) / 10;
    a[2] = (N - a[0] * 100 - a[1] * 10);
    rep(i,3){
        if(a[i]==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>
using namespace std;
int main() {
  vector<char> N(3);
  for (int i = 0;i < 3;i++) {
    cin >> N.at(i);
  }
  if(N.at(0)=='7'||N.at(1)=='7'||N.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<iostream>
#include<vector>
using namespace std;
int main()
{
    char a[3];
    cin>>a[0]>>a[1]>>a[2];
    if(a[0]=='7' || a[1]=='7'|| a[2]=='7')cout<<"Yes";
    else cout<<"No";
}


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

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

typedef long long ll;
typedef pair<ll ,ll> pll;
#define all(x) (x).begin(),(x).end()
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)

const ll mod = 1000000009;
const ll INF = 1e18;//1*10^18

ll powll(ll a,ll n){
  if(n==0)
  {
    return 1;
  }
  return powll(a,n-1)*a;
}

int ReturnDigit(ll num)
{
  string number=to_string(num);
  return number.length();
}

int main() {
  ll i,j,k,l;
  string n;
  cin >>n; 
  rep(i,3)
  {
    if(n[i]=='7')
    {
      cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"  <<endl;
}

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

#include <iostream>

int main()
{
    char str[8];
    scanf("%s", str);

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

    printf("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>
using namespace std;


int main(){
    char N[4];
    cin >> N;

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

    cout << "No";
    



    return 0;
}

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

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

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

  bool state = false;
  if(N%10 == 7) state = true;
  if((N%100)/10 == 7) state = true;
  if(N/100 = 7) state = true;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:7: error: lvalue required as left operand of assignment
   11 |   if(N/100 = 7) state = true;
      |      ~^~~~
Language: C++

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

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

#include<iostream>
using namespace std;
int main(){
	
	int N;
	cin>>N;
	while(N>=100&&N<=999){
		int r;
		r=N%10;
		if(r==7){
			cout<<"Yes";
		}
		else{
			cout<<"No";
		}
		N=N/10;
		
	}
	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(){
  int n;
  cin >> n;
  bool flag =false;
  int a=n%10;
  n/=10;
  if(a==7){
    flag =true;
  }
  int b=a%10;
  n/=10;
  if(b==7){
    flag =true;
  }
  n=n%10;
  if(n==7){
    flag =true;
  }
  if(flag){
    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() {
    int n;
    cin>>n;
    while (n) {
        if (7==n%10) {
            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: Java

import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.nextLine();
        for(int i = 0; i < a.length(); i++){
            if(a.substring(i,i) == "7"){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println(No);
    }
}

Compiler output:
Main.java:12: error: cannot find symbol
        System.out.println(No);
                           ^
  symbol:   variable No
  location: class Main
1 error
Language: C

//
//  main.cpp
//  ABC162
//
//  Created by 安藤光希 on 2020/04/12.
//  Copyright © 2020 安藤光希. All rights reserved.
//

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

int main() {
    
    string N;
    
    cin >> N;
    string result;
    result = "No";
    
    for (int i = 0; i < 3; i++){
        
        char nth_char;
        nth_char = N.at(i);
        
        int x = (int)nth_char - 48;

        
        if (x == 7){
            result = "Yes";
            break;
        }
    }
    
    cout << result << endl;
    
    
    //cin >> N;
    
    //cout << N * 3 << endl;
}

/*
 A
*/

/*
B
*/



/*
C
*/
/*
D
*/
/*

*/
/*

*/


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

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


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

  string ans = "No";

  for(int i=0; i<N.size(); i++){
    if(N.at(i) == '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 <iostream>
#include <string>

#define REP(i, n) for(int i = 0; i < (int)(n); i++)
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define SORT(v, n) sort(v, v+n)
#define pb(a) push_back(a)
#define eb(a) emplace_back(a)
#define vi vector<int>
#define ddvi vector<vector<int>>

using namespace std;
typedef long long ll;
typedef pair<int, int> P;

int main(){
	#define int ll
	cin.tie(0);
	ios::sync_with_stdio(false);
	// ここに処理を記述

	string S;
	cin >> S;

	if(S[0] != '7' && S[1] != '7' && S[2] != '7') cout << "No" << endl;
	else cout << "Yes" << endl;

	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
int main(void){
    int n;
    cin >> n;
    if (n / 100 == 7 || (n % 100) / 10 == 7 || 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: Java

public class Main {
  public static String solve(int in) {
    while (in > 0) {
      if(in % 10 == 7)
        return "YES";
      in = in / 10;
    }
    return "NO";
  }
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int in = sc.nextInt();
    sc.close();
    System.out.println(solve(in));
  }
}

Compiler output:
Main.java:11: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:11: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C

#include <iostream>
using namespace std;

void solve(std::istream &ist, std::ostream &ost)
{
    /* ------- 宣言と入力 ------- */

    int N;

    ist >> N;

    /* ------- 計算 ------- */

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

    ost << "No" << endl;
}

#ifndef WOMAIN
int main()
{
    solve(std::cin, std::cout);
    return 0;
}
#endif


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

int main() {
  string str;
  cin >> str;
  bool flg = false;
  for(int i=0; i< str.size(); i++) {
    if (str[i] == '7') {
      flg = true;
    }
  }
  if (flg) {
    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

package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var sc = bufio.NewScanner(os.Stdin)

func nextInt() int {
	sc.Scan()
	i, e := strconv.Atoi(sc.Text())
	if e != nil {
		panic(e)
	}
	return i
}

func main() {
	sc.Split(bufio.ScanWords)
	n := nextInt()
	n1 := n / 100
	n2 := n % 100 / 10
	n3 := n % 100 % 10

	if n1 == 7 {
		fmt.Println("Yes")
		return
	}
	if n2 == 7 {
		fmt.Println("Yes")
		return
	}
	if n3 == 7 {
		fmt.Println("Yes")
		return
	}
	fmt.Println("No")
}


Compiler output:
main.c:1:1: error: unknown type name 'package'
    1 | package main
      | ^~~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    3 | import (
      | ^~~~~~
main.c:21:1: error: unknown type name 'func'
   21 | func main() {
      | ^~~~
main.c: In function 'main':
main.c:22:9: error: 'sc' undeclared (first use in this function)
   22 |         sc.Split(bufio.ScanWords)
      |         ^~
main.c:22:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:22:18: error: 'bufio' undeclared (first use in this function)
   22 |         sc.Split(bufio.ScanWords)
      |                  ^~~~~
main.c:22:34: error: expected ';' before 'n'
   22 |         sc.Split(bufio.ScanWords)
      |                                  ^
      |                                  ;
   23 |         n := nextInt()
      |         ~
Language: C

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

int main(){
    int n;
    cin >> n;
    while(n){
        if(n%10 == 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; 
#define rep(i, N) for (int i = 0; i < (int)N; i++)

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

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

import java.util.*;

class Main {
  public static void main(String[] args) {
	Scanner scanner = new Scanner(System.in);
    
    int x = scanner.next(); //next(文字列), nextDouble, nextLine(1行)とか
    if (x % 10 == 7){
      System.out.println("Yes");
    }
    
    else if ((x/10)%10 == 7){
      System.out.println("Yes");
    }
    
    else if ((x/100) == 7){      
    
    	System.out.println("Yes");
    }
    
    System.out.println("No");
  }
}


Compiler output:
Main.java:7: error: incompatible types: String cannot be converted to int
    int x = scanner.next(); //next(???), nextDouble, nextLine(1?)??
                        ^
1 error
Language: C

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
 
  if (N/100 >= 7 && N/100 <8) {
    cout << "Yes" << endl;
  }
  else if (N%100/10 >= 7 && N%100/10 <8){
    cout << "Yes" << endl;
  }
  else if (N%100%10 >= 7 && N%100%10 <8){
    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() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    string N;
    cin >> N;

    int pos = N.find("7");
    if(pos == -1) cout << "No" << "\n";
    else cout << "Yes" << "\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;

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


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

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main(){
  int N;
  cin>>N;
  if(N.at(1)==7){
    cout<<"Yes"<<endl;
  }
  else if(N.at(2)==7){
    cout<<"Yes"<<endl;
  }
  else if(N.at(3)==7){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}
  
    

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

import java.util.Scanner;

public class Main {
  public static void main(String args[]) {
    boolean flag = false;
  	Scanner sc = new Scanner(System.in);
    String n = sc.next();
    for (int i = 0; n.size(); i++) {
      if (n.charAt(i) == '7') flag = true;
    }
    System.out.println(flag?"Yes":"No");
  }
}


Compiler output:
Main.java:8: error: cannot find symbol
    for (int i = 0; n.size(); i++) {
                     ^
  symbol:   method size()
  location: variable n of type String
1 error
Language: C++

#include<iostream>
 
using namespace std;
 
int main() {
	int n;
	cin >> n;
	for (int i = 0;i < 3;i++) {
		if (n / (int)pow(10, i) % 10 == 7) {
			cout << "Yes\n";
			return 0;
		}
	}
	cout << "No\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:30: error: 'pow' was not declared in this scope
    9 |                 if (n / (int)pow(10, i) % 10 == 7) {
      |                              ^~~
Language: C

#include <iostream>
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)




int main() {

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


}

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

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

int main() {
  string N;
  cin >> N;
  
  for(int i = 0; i < 3; i++) {
    if(N.at(i) == '7') {
      cout << "Yes" << endl;
      break;
    }
    else 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<iostream>
using namespace std;
int n;
int main(){
	cin>>n;
	if(n%100==7||n/10%10==7||n%10==7)cout<<"Yes"；
	else cout<<"No"; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:48: error: unable to find string literal operator 'operator""\U0000ff1b' with 'const char [4]', 'long unsigned int' arguments
    6 |         if(n%100==7||n/10%10==7||n%10==7)cout<<"Yes"；
      |                                                ^~~~~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main() {
string str;
cin>>str;
if(str[0]=='7'||str[1]=='7'||str[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

#include <iostream>
#include <algorithm>
#include <map>
#include <utility>
#include <vector>
#include <cstdio>
#include <iomanip>
#include <cmath>  
#include <cstdlib>
using namespace std;
using ll = long long;
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep1(i, n) for(int i = 1; i <= n; i++) 

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;
    }
    n /= 10;
     if (n%10==7) {
        cout << "Yes" << endl;
        return 0;
    }

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

}

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

N = int(input())

a = N // 100
b = (N - 100*a) // 10
c = N % 10

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())
      |     ^~~
main.c:8:9: warning: multi-character character constant [-Wmultichar]
    8 |   print('Yes')
      |         ^~~~~
main.c:10:9: warning: multi-character character constant [-Wmultichar]
   10 |   print('No')
      |         ^~~~
Language: C

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main(){
  string num;
  cin>>string;
  char a,b,c;
  a=num[0];
  b=num[1];
  c=num[2];
  if(a==7 || b==7 || c==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>
#define GO ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
using namespace std;
typedef long long ll;
typedef vector<ll> vec;
const int N = 3e4 + 5;
const int M = 1e6 + 5;
const int Mod = 1e9 + 7;


int main()
{
	GO;
	string s;
	cin >> s;
	for (auto i : s)
		if (i == '7')
			return cout << "Yes\n", 0;
	cout << "No\n";
	return 0;
}

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

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

int main() {
  int N ;
  cin >> N ;
  
  if(N%10==7){
    cout<<"Yes"<<endl;
  }
  
  else if(N/100==7){
    cout<<"Yes"<<endl;
  }
  
  else if(N%100-N%10==70){
   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;
typedef double dl;
const int iNF = 1e9 + 100;
//const ll INF = 1e18 + 100;
typedef pair<int, int> pii;
 
#define EPS (1e-9)
#define inf 1e19
#define PI acos(-1.0)

int main(){
   int n;
   cin >> n;
   int a;
   bool ok = 0;
   while(n > 0){
      a = n % 10;
      if(a == 7){ ok = 1; break;}
      n /= 10;
   }
   if(ok){
      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>

#define rep(i,a,b) for(int (i)=(a);(i)<=(b);(i)++)
#define pii pair<int,int>
#define vi vector<int>
#define vit vector<int>::iterator it
#define mii map<int,int>
#define mis map<int,string>
#define msi map<string,int>
#define X first
#define Y second
#define all(a) a.begin(), a.end()
#define pb push_back
#define mp make_pair
#define sz(v) (int)(v.size())
#define si set<int>
#define ms(a,f) memset((a),(f),sizeof (a))

using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
const int inf=0x7f7f7f7f;
const int N=1e5+10;

int main() {
    string st;
    cin>>st;
    for(int i=0;i<sz(st);i++) if(st[i]=='7') {
        cout<<"YES"<<endl;
        return 0;
    }
    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.