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

#include<iostream>
#include<algorithm>
#include<cmath>
#include<cstring>
using namespace std;
int main()
{
    int n;
    cin>>n;
    int x;
    while(n>0)
    {
        x=n%10;
        n=n/10;
        if(x==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++>
using namespace std;
typedef long long ll;

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

    string num;
    cin>>num;

    bool contains7 = false;
    for (int i = 0; i < num.length(); i++)
        if (num[i] == '7')
            contains7 = true;

    if (contains7)
        cout<<"Yes\n";
    else cout<<"No\n";
    

    return 0;
}

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

// Igorjan94, template version from 13 October 2017. C++17 version, modified 18 march 2020 (writeln<tuple>, whole->all) {{{
#include <iostream>
#include <vector>
#include <algorithm>
#include <map>

using namespace std;

#define FOR(i, m, n) for (int i = m; i <  (int) (n); ++i)
#define ROF(i, m, n) for (int i = m; i >= (int) (n); --i)
#define forn(i, n)   for (int i = 0; i < (int) (n); ++i)
#define  fori1(n)    for (int i = 1; i < (int) (n); ++i)
#define  forj1(n)    for (int j = 1; j < (int) (n); ++j)
#define   fori(n)    for (int i = 0; i < (int) (n); ++i)
#define   forj(n)    for (int j = 0; j < (int) (n); ++j)
#define     SZ(a)    int(size(a))

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

#define pb push_back
#define all(a) begin(a), end(a)
#define ints(a...) int a; readln(a)

//Igorjan
//}}}

void run()
{
    string s;
    cin >> s;
    cout << (s[0] == '7' || s[1] == '7' || s[2] == '7' ? "Yes" : "No") << endl;
}

//{{{
int main()
{
    ios_base::sync_with_stdio(false);
    run();
    cerr << fixed << setprecision(0) << "Execution time = " << 1000.0 * clock() / CLOCKS_PER_SEC << "ms\n";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:41:22: error: 'setprecision' was not declared in this scope
   41 |     cerr << fixed << setprecision(0) << "Execution time = " << 1000.0 * clock() / CLOCKS_PER_SEC << "ms\n";
      |                      ^~~~~~~~~~~~
a.cc:6:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    5 | #include <map>
  +++ |+#include <iomanip>
    6 |
Language: C++

#include <iostream.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:
a.cc:1:10: fatal error: iostream.h: No such file or directory
    1 | #include <iostream.h>
      |          ^~~~~~~~~~~~
compilation terminated.
Language: C++

using namespace std;


void solve(long long N){
    N = 4n
}

// Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
int main(){
    long long N;
    scanf("%lld",&N);
    solve(N);
    return 0;
}


Compiler output:
a.cc: In function 'void solve(long long int)':
a.cc:5:9: error: unable to find numeric literal operator 'operator""n'
    5 |     N = 4n
      |         ^~
a.cc: In function 'int main()':
a.cc:11:5: error: 'scanf' was not declared in this scope
   11 |     scanf("%lld",&N);
      |     ^~~~~
Language: C

#include<algorithm>//sort,二分探索,など
#include<bitset>//固定長bit集合
#include<cmath>//pow,logなど
#include<complex>//複素数
#include<deque>//両端アクセスのキュー
#include<functional>//sortのgreater
#include<iomanip>//setprecision(浮動小数点の出力の誤差)
#include<iostream>//入出力
#include<iterator>//集合演算(積集合,和集合,差集合など)
#include<map>//map(辞書)
#include<numeric>//iota(整数列の生成),gcdとlcm(c++17)
#include<queue>//キュー
#include<set>//集合
#include<stack>//スタック
#include<string>//文字列
#include<unordered_map>//イテレータあるけど順序保持しないmap
#include<unordered_set>//イテレータあるけど順序保持しないset
#include<utility>//pair
#include<vector>//可変長配列
using namespace std;



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


Compiler output:
main.c:1:9: fatal error: algorithm: No such file or directory
    1 | #include<algorithm>//sort,二分探索,など
      |         ^~~~~~~~~~~
compilation terminated.
Language: C

/**
 * code generated by JHelper
 * More info: https://github.com/AlexeyDmitriev/JHelper
 * @author alireza_kaviani
 */

#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>

using namespace std;
using namespace __gnu_pbds;

template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;

typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> pll;
typedef pair<double, double> pdd;

#define all(x)                      (x).begin(),(x).end()
#define Sort(x)                     sort(all((x)))
#define X                           first
#define Y                           second
#define sep                         ' '
#define endl                        '\n'
#define SZ(x)                       ll(x.size())

ll poww(ll a, ll b, ll md) {
    return (!b ? 1 : (b & 1 ? a * poww(a * a % md, b / 2, md) % md : poww(a * a % md, b / 2, md) % md));
}

const ll MAXN = 1e6 + 10;
const ll LOG = 22;
const ll INF = 8e18;
const ll MOD = 1e9 + 7; // 998244353; // 1e9 + 9;

string s;

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

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

    return 0;
}
/*

*/


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

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

int main() {
  int N;
  cin >> N;
  int ans=0;
  if (N%10==7) ans=1;
  if ((N/10)%10==7) ans=1;
  if ((N/100)%10==7) ans=1;
  if (ans==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++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:2:5: error: 'string' was not declared in this scope
    2 |     string s;
      |     ^~~~~~
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin>>s;
      |     ^~~
a.cc:3:10: error: 's' was not declared in this scope
    3 |     cin>>s;
      |          ^
a.cc:4:50: error: 'cout' was not declared in this scope
    4 |     if(s.at(0)=='7'||s.at(1)=='7'||s.at(2)=='7') cout<<"Yes";
      |                                                  ^~~~
a.cc:5:10: error: 'cout' was not declared in this scope
    5 |     else cout<<"No";
      |          ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before '}' token
    8 |     cout << "Yes"
      |                  ^
      |                  ;
    9 |   }else{
      |   ~               
a.cc:10:17: error: expected ';' before '}' token
   10 |     cout << "No"
      |                 ^
      |                 ;
   11 |   }
      |   ~
Language: C

#include <bits/stdc++.h>
using namespace std;
 
int main() {
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;
//NOT TO SUBMIT IN WRONG PLACE
//ABS, task 09, 2020/04/11
//ms, ac
/*
*/

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;}
  return 0;
}


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

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define lop(i, n) for(i=0; i<n; i++)

int main()
{
	int n, i, cnt=0;
	char str[999];
	
	scanf("%d", &n);
	
	itoa(n, str, 10);
	
	lop(i, n){
		if(str[i] == '7' )cnt++;
	}
	
	if(cnt>0)printf("Yes");
	else printf("No");
	
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:9: error: implicit declaration of function 'itoa' [-Wimplicit-function-declaration]
   13 |         itoa(n, str, 10);
      |         ^~~~
Language: C

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

int main() {
    ios::sync_with_stdio(0), cin.tie(0);
    int n;
    cin >> n;
    while(n) {
        if(n%10 == 7) {
            cout << "Yes\n";
            return 0;
        }
        n=n/10;
    }
    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;
  int count=0;
  if(N%10==7) count++;
  if(N/10%10==7) count++;
  if(N/100==7) count++;
  if(count==0) cout<<"No"<<endl;
  else cout<<"Yes"<<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<iostream>
using namespace std;
int main() {
	string n;
	cin >> n;
	if (n[0] == '7' || n[1] == '7' || n[2] == '7') {
		cout << "Yes";
	}
	else {
		cout << "No";
	}
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'stirng' was not declared in this scope
    5 |   stirng N;
      |   ^~~~~~
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N;
      |          ^
Language: C

#include<stdio.h>
int main()
{
  int N;
  scanf("%d", &N);
  if ( ( N - 7 ) % 10 = 0 ) {
    printf( "Yes" );
  }
  else if ( N % 100 >= 70 && N % 100 < 80 ) {
    printf( "Yes" );
  }
  else if ( N - 700 >= 0 && N - 700 < 100 ) {
    printf( "Yes" );
  }
  else {
    printf( "No" );
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: lvalue required as left operand of assignment
    6 |   if ( ( N - 7 ) % 10 = 0 ) {
      |                       ^
Language: C

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define REP(i, n) for(int i = 1; i <= (int)(n); i++)
const long long INF = 1LL << 60;
const double PI=3.14159265358979323846;
int main() 
{
    int n;
    cin >> n;

    rep(i,3){
        if(n%10==7){
            cout << "Yes" <<endl;
            return 0;
        }
        n/=10;
    }

    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;
  int flag=0;
  while(n>0)
  {
    if(n%10==7)
      flag=1;
    n/=10;
  }
  if(flag)
    cout<<"Yes\n";
  else
    cout<<"No\n";
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>n;
      |   ^~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout<<"Yes\n";
      |     ^~~~
a.cc:17:5: error: 'cout' was not declared in this scope
   17 |     cout<<"No\n";
      |     ^~~~
Language: C

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

const string YES = "Yes";
const string NO = "No";

void solve(long long N)
{

    string s = to_string(N);

    string ans = NO;
    if (s.find("7") != string::npos)
    {
        ans = YES;
    }

    cout << ans << endl;
}

// Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
int main()
{
    long long N;
    scanf("%lld", &N);
    solve(N);
    return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  int a,b,c;

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

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 s;
  cin >> s;
  rep(i, s.length()) {
    if (s[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>
//#include <ext/pb_ds/assoc_container.hpp>

//using namespace __gnu_pbds;

using namespace std;

#define ll  long long

typedef vector<int> vi;
typedef pair<int,int> pi;
typedef unordered_map<int,int> um;
typedef unordered_set<int> us;
typedef priority_queue<int> pq;
typedef deque<int> dq;
typedef queue<int> q;
typedef stack<int> st;

#define f first
#define s second
#define pb push_back
#define mp make_pair

#define rep(i,a,b) for (int i = a; i <= b; i++)
#define bitset<n> b<n>

/* typedef tree<int,null_type,less<int>,rb_tree_tag,
tree_order_statistics_node_update> indexed_set; */

void c_p_c()
{
	
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}

int main(){

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

	//indexed_set s;
	//s.insert(2);
	//s.insert(3);
	//s.insert(7);
	//s.insert(9);

	//auto x = s.find_by_order(2);
	//s.order_of_key(7)
	
	//c_p_c();

	//__builtin_clz(x): the number of zeros at the beginning of the number
   // __builtin_ctz(x): the number of zeros at the end of the number
   // __builtin_popcount(x): the number of ones in the number
   // __builtin_parity(x): the parity (even or odd) of the number of ones

	int n;
	cin>>n;

	while(n>0){
		int dig = n%10;
		if(dig==7){
			cout<<"YES";
			return 0;
		}
		n /= 10;
	}

	cout<<"NO";
	//ll t;
	//cin>>t;
	//while(t--){

	//}

	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;
    bool count = 0;
    while (n)
    {
        int p = n % 10;
        if (p == 7)
            count = 1;
        n = n / 10;
    }
    if (count)
        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 rep(i,n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int,int>;

int main(int argc, const char * argv[]) {
  
    int N;
    cin >> N;
  
  if(N % 10 == 7){
    cout << "Yes";
    return 0;
  }
  
  if(N / 10 % 10 == 7){
    cout << "Yes";
    return 0;
  }
  
  if(N / 100 % 10 == 7){
    cout << "Yes";
    return 0;
  }
  
  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 <iostream>
using namespace std;


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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: expected primary-expression before '||' token
    8 |     cout << (n % 10 ==  || (n / 10) % 10 == 7 || n / 100 = 7);
      |                         ^~
Language: C

#include<stdio.h>
 
int main (void)
{
 int  a,b,c;
 
scanf("%d",&a);
 
b=a%10;
c=b%10;
 
if(a/7==1||b/7==1||c/7==1)
printf("Yes);
else
printf("No);
 
retrun 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:8: warning: missing terminating " character
   13 | printf("Yes);
      |        ^
main.c:13:8: error: missing terminating " character
   13 | printf("Yes);
      |        ^~~~~~
main.c:14:1: error: expected expression before 'else'
   14 | else
      | ^~~~
main.c:15:8: warning: missing terminating " character
   15 | printf("No);
      |        ^
main.c:15:8: error: missing terminating " character
   15 | printf("No);
      |        ^~~~~
main.c:18:1: error: expected declaration or statement at end of input
   18 | }
      | ^
Language: C

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


int main(){
  int N;

  cin >> N;
  if(N % 10 == 7 || (N % 100) / 10 == 7 || N / 100 == 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: Java

import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
      	if(str.contains("7")){
          System.out.println("Yes");
        }else{
          System.out.println("No");
        }
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
      	if(str.contains("7")){
      	   ^
  symbol:   variable str
  location: class Main
1 error
Language: C++

#pragma GCC optimize("O2")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx,avx2,sse,sse2,ssse3,tune=native")
#include<bits/stdc++.h>
#define all(x) x.begin(), x.end()
#define rall(x) x.rbegin(), x.rend()
#define pb push_back
using namespace std;
using ll = long long;
//using arr = array;
using pi = pair<ll, ll>;
using vi = vector<ll>;
using vpi = vector<pi>;
using ld = long double;
#include<bits/extc++.h>
using namespace __gnu_pbds;
using oset = tree<ll, null_type, less<ll>, rb_tree_tag, tree_order_statistics_node_update>;
const int maxn = 1<<17, mod = 1e9 + 7, lg = 19;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int fact[maxn], inv[maxn];
void setup() {
	fact[0] = fact[1] = inv[0] = inv[1] = 1;
	for(int i = 2; i < maxn; i++)
		inv[i] = mod - (mod/i)*1ll*inv[mod%i]%mod;
	for(int i = 2; i < maxn; i++)
		fact[i] = fact[i-1]*1ll*i%mod,
		inv[i] = inv[i-1]*1ll*inv[i]%mod;
}

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	string s;
	cin >> s;
	cout << (count(all(s), '7')>0?"Yes":"No");
	return 0;
}


Compiler output:
In file included from /usr/include/c++/14/string:43,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:4:
/usr/include/c++/14/bits/allocator.h: In destructor 'std::__cxx11::basic_string<char>::_Alloc_hider::~_Alloc_hider()':
/usr/include/c++/14/bits/allocator.h:182:7: error: inlining failed in call to 'always_inline' 'std::allocator< <template-parameter-1-1> >::~allocator() noexcept [with _Tp = char]': target specific option mismatch
  182 |       ~allocator() _GLIBCXX_NOTHROW { }
      |       ^
In file included from /usr/include/c++/14/string:54:
/usr/include/c++/14/bits/basic_string.h:186:14: note: called from here
  186 |       struct _Alloc_hider : allocator_type // TODO check __is_final
      |              ^~~~~~~~~~~~
Language: C

#include <stdio.h>
int main(){
int n, sum;
  scanf("%d",&n);
  
  for(int i = 0;i > n;i++{
       if( i % 3 == 0 || i % 5 == 0){
         sum = sum 
       }
     
       else {
           sum = sum + i;
       }
  }
      
         printf("%d\n",&sum);
 return 0;
}     
      

Compiler output:
main.c: In function 'main':
main.c:6:26: error: expected ')' before '{' token
    6 |   for(int i = 0;i > n;i++{
      |      ~                   ^
      |                          )
main.c:18:1: error: expected expression before '}' token
   18 | }
      | ^
Language: C++

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


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

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

signed main()
{
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL);
    cout.tie(NULL);
    //cout<<"I must do it...Yeahhh";
    
    int t=1;
    //cin>>t;
    while(t--)
    {
        string s;
        cin>>s;
        for(int i=0;i<s.size();i++)
            if(s[i]=='7')
            {
                cout<<"Yes";
                return 0;
            }
        cout<<"No";
    }
    //cerr<<"[Execution : "<<(1.0*clock())/CLOCKS_PER_SEC<<"s]\n";
    return 0;
}

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

#include <iostream>

using ll = long long;
#define rep(inc, bgn, end) for (int inc = bgn; inc < end; ++inc)
#define repe(inc, bgn, end) for (int inc = bgn; inc <= end; ++inc)

using namespace std;

int gcd(int a, int b) {
    if (b == 0)
        return a;
    else
        return gcd(b, a % b);
}

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

    cout << sum << endl;

    return 0;
}


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

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

int main(){
  string N;
  cin >> N;
  char seven = '7';

  for (int i = 0; i < 3; i++) {
    if (N[i] == seven){
      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 <stdio.h>
int main(void){
  int n = 0;
  scanf("%d",&n)
  int x = n / 100;
  if(x != 7){
    int y = (n - x*100) / 10;
    if (y != 7){
      int z = (n - X*100 - y*10);
      if(z != 7){
        printf("no");
        return 0;
      } else {
        printf("yes");
        return 0;
      }
    } else {
      printf("yes");
      return 0;
    }
  } else {
    printf("yes");
    return 0;
  }
}

Compiler output:
main.c: In function 'main':
main.c:4:17: error: expected ';' before 'int'
    4 |   scanf("%d",&n)
      |                 ^
      |                 ;
    5 |   int x = n / 100;
      |   ~~~            
main.c:6:6: error: 'x' undeclared (first use in this function)
    6 |   if(x != 7){
      |      ^
main.c:6:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:20: error: 'X' undeclared (first use in this function)
    9 |       int z = (n - X*100 - y*10);
      |                    ^
Language: C

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

int main() {

	int n,a;
  	cin >> n;
  
  	for ( int i = 0; i < 3; i++){
      a = n % 10;
      if ( a == 7 ){
        cout << "Yes" << endl;
        return 0;
      }
      n /= 10;
    }
  
  	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>
#include <algorithm>
#include <map>
#include <iomanip>
#include <cmath>

using namespace std;
using ll =  long long;

//#define cout (cout << setprecision(12))

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;
    }
    N /= 10;
    cout << "No" << endl;
}

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

//
// Created on 2020/04/12.
//


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

#define all(x) (x).begin(),(x).end()
typedef long long ll;
using namespace std;
const long long LINF =1e18;
const int INF = 1e9;


int main() {
    string ans = "No";
    string s;
    cin>>s;
    for (int i = 0; i < s.size(); ++i) {
        if(s[i] == '7'){

            ans = "Yes";
        }
    }

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


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

#include <iostream>
#include <set>
#include <vector>
#include <map>
#include <algorithm>
#include <cmath>
#include <list>
#include <utility>
using namespace std;

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

    int i = s.length(), j=0;
    for(char x:s){
            if(x=='7'){cout<<"Yes"<<endl;}
            else{j+= 1;};}
    if(j==i){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

//
//  main.cpp
//  ProgrammingContestChallengeBook2
//
//  Created by Hisaki Kobayashi on 2020/04/04.
//  Copyright © 2020 Hisaki Kobayashi. All rights reserved.
//

#include <iostream>
#include <stdio.h>
#include <string>
#include <bits/stdc++.h>
#include <stdlib.h>
//#include "mylibrary.hpp"

using namespace std;
int main(){
    int N; cin >> N;

    int hyaku=(N/100)%10,zyu=(N/10)%10,iti=N%10;

//    cout << hyaku << " " << zyu << " " << iti << endl;
    if(hyaku==7 || zyu == 7 || iti == 7)
        cout << "Yes" << endl;
    else{
        cout << "No" << endl;
    }


    
    
//    long N; cin >> N;
//
//    vector<int> A(7,0);
    
//    int div=1;
//    long sum=0;
//    for(int i=1;i<=N;i++){
//        if(i%3!=0 && i%5!=0){
//            sum+=i;
//        }
//    }
//    cout << sum << 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 <bits/stdc++.h>
using namespace std;

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

  if (x.at(0)=7||x.at(1)=7||x.at(2)=7) {
    cout << "No" << endl;
  }
  else {
  cout << "Yes" << endl;
}
}

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

t=False
for i in input():
    if i=='7':
        t=True
        break
print('Yes' if t==True else 'No')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | t=False
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
main.c:1:3: error: 'False' undeclared here (not in a function)
    1 | t=False
      |   ^~~~~
main.c:2:1: error: expected ',' or ';' before 'for'
    2 | for i in input():
      | ^~~
main.c:6:7: warning: multi-character character constant [-Wmultichar]
    6 | print('Yes' if t==True else 'No')
      |       ^~~~~
main.c:6:29: warning: multi-character character constant [-Wmultichar]
    6 | print('Yes' if t==True else 'No')
      |                             ^~~~
Language: C

import java.util.Scanner;
 
class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String N = sc.next();
		System.out.println(-1<N.indexOf("7")?"Yes":"No");
	}
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:3:1: error: unknown type name 'class'
    3 | class Main{
      | ^~~~~
main.c:3:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | class Main{
      |           ^
Language: C

#include <iostream>
using namespace std;

int main(){
  int N;
  cin >> N;
  int ans=0;
  if(N / 100 == 7){
    ans++;
  }else if(N / 10 % 10 == 7){
    ans++;
  }else if(N % 10 == 7){
    ans++;
  }

  if(ans > 0){
    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 <stdio.h>
int main () {
  int x;
  scanf ("%d",&x);
  while (x>0) {
    if (x%10==7) {
      puts ("Yes);
      break;
     }
     x/=10;
   }
    puts ("No");
            }

Compiler output:
main.c: In function 'main':
main.c:7:13: warning: missing terminating " character
    7 |       puts ("Yes);
      |             ^
main.c:7:13: error: missing terminating " character
    7 |       puts ("Yes);
      |             ^~~~~~
main.c:8:7: error: expected expression before 'break'
    8 |       break;
      |       ^~~~~
main.c:8:13: error: expected ';' before '}' token
    8 |       break;
      |             ^
      |             ;
    9 |      }
      |      ~
Language: C

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

int main(){
  int N;
  cin>>N;
  N1=N/100;
  N2=N%100;
  N3=N2/10;
  N4=N2%10;
  N5=N4/1;
  N6=N4%1;
  
  if(N1==7 || N3==7  || N4==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 i,a,b,c,d;;
cin>>a;
b=a%10;
c=b%10;
d=c%10;
if(b==7 || c==7 || d==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 <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <math.h>
#include <tuple>

#include <set>
#include <unordered_map>
#include <stack>

using namespace std;

#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define all(x) (x).begin(),(x).end()
using ll = long long;
template<class T>bool chmaxj(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; }
void YesNo(bool y) { cout << (y ? "Yes" : "No") << endl; } //true==yes


#define INF 21474836

//////////////////////////////////////////////////////////////


int main() {


	string S;
	cin >> S;
	if (S[0] == '7' || S[1] == '7' || S[2] == '7')YesNo(true);
	else YesNo(false);


	return 0;
}

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

//shara's here
//SPEEEEEEEEEED IS KEEEEEEEEEEY
//REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAD
#include <bits/stdc++.h>
using namespace std;
typedef string s;
typedef long long ll;
typedef long double ld;
#if !defined(ONLINE_JUDGE)
#include "C:\debug.hpp"
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define debug(x...)
#endif
#define pb push_back
#define ins insert
#define vl vector<ll>
#define speed ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
int main(){
    s ss;
    cin >> ss;
    if(ss[0]=="7"||ss[1]=="7"||ss[2]=="7"){
        cout << "Yes" << endl;
    }
    else cout << "No" << endl;

































return 0;}
/*
███████████████████████████████████████████████████
███████████████████████████████████████████████████
██████████████████████████████████▀████████████████
██████████████████████████████████░▀███████████████
██████████████████████████████▌███░░░▀▀████████████
██▀████████████████████▐██████░▐██░░░░░░▀▀█████████
██░████████████████████▐█████▌░██▌▄░░░░▄▄░▄████▀███
█▌░███████████████████▀░█████░░░█░░░▄████░░███▀▐███
█▌░▐██████████████████░░████▌░░░▀░░▀███▀▀░▐███▄████
██░▀██████████████▌▐█▐▄▄████▌░░░░░░░░░░░░░▌████████
███░███████████████▀░▄▄██▀█▐░░░░░░░░░░░░░░▐████████
███▄░██████████████▄░░░░░░▀▀▀░░░░░░░░░░░░░█▐███████
████▄░██████████████████▄▄▄▄▄▄▐▄░░░░░░░░░░░████████
█████▄█████████████████▀▀▀▀▀▀░░░░░░░░░░░░░░████████
████████████████████████▄░░░░░░░░░░░░░░░▄░░████████
██████████████████████████▄▄▄░░░░░░░░░▄█░▄█████████
████████████████████████████████▄░░░░██▄███▀░░▀████
█████████████████████████████▀█████▄███▀▀▀░░▄▄░████
████████████████████████████▀░░▀░░▀▀░░░░▄▄▄██▀░░▀▀█
███████████████████████████▌░░░░░░░░░░░███████░░░▄█
███████████████▄░▀████████▀░░░░░░▀░░░░███████▌░░░██
███▄▄████████████▄░▀██████▄░░░░░█░░░░████████░░░▀▀
░▀█████████████████▄░▀█████░░░░██░░░░▀██████░░░░░▄█
▐█▄▀█████████████████▄░▀████░░░██▌░░░▐████▀░░░░▄███
▐███▄▀▀█████████████████▄░▀▀░░░░▀██▌▄█▀▀░░░▄▄██████
▀▀▀▀▀░░░▀▀▀▀▀░░░▀▀▀▀▀▀▀▀▀▀▀░░░░░░░▀▀░░░░░░▀▀▀▀▀▀▀▀▀
*/


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

#include<iostream>
using namespace std;
#define int long long int
int32_t main()
{
    string str;
    cin>>str;
    if(str[0]=='7'||str[1]=='7'||str[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() {
  string s;
  cin >> s;
  bool result = false;
  
  for (int i = 0; i < s.length(); i++){
    if (s.at(i) == '7'){
      result = true;
      break;
    }
  }
  
  if (result){
    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;
 int k = n / 100;
 int l = n / 10;
 int m = n - 7;
 if(k == 7 || l == 7 || m % 10 == 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;

#define ll long long
#define vec vector<ll>
#define rev(a); reverse(a.begin(), a.end());
#define sorta(a); sort(a.begin(), a.end());
#define sortd(a); sort(a.begin(), a.end(), greater<int>());
#define FOR(i,a,b) for (ll i = (ll)(a); i < (b); i++)
#define ROF(i,a,b) for (ll i = (ll)(b)-1; i >= (a); i--)
#define printarray(a) FOR(Q,0,(int)(a).size()) cout<<(a)[Q]<<" "; cout<<'\n';
#define pb push_back
#define mp make_pair

ll MOD = 1000000007;
ll INF = 1LL << 60;

/*****************************************************************************/


void solve() {
	
}

int main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	string s;cin>>s;
	int n=s.length();
	bool good=false;
	FOR(i,0,n) {
		if (s[i]=='7') good=true;
	}
	if (good) {
		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

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

Compiler output:
main.c:1: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,n) for(int i=0;i<n;i++)
#define repr(i,n) for(int i=n-1;i>=0;i--)
#define MAX(a,b) a=a>b?a:b
#define MIN(a,b) a=a<b?a:b
#define REP(i,x,n) for(int i=x;i<n;i++)
#define REPR(i,x,n) for(int i=n-1;i>=x;i--)
#define pb  push_back
#define ALL(obj) (obj).begin(), (obj).end()
#define ALLr(obj) (obj).rbegin(), (obj).rend()
#define endl "\n"
#define F first
#define S second
#define EN cout<<endl;
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const ll MOD = 1e9 + 7;

ll gcd(unsigned a, unsigned b) {
  if(a < b) return gcd(b, a);
  unsigned r;
  while ((r=a%b)) {
    a = b;
    b = r;
  }
  return b;
}

int main() {
    string n;bool f=1;
    cin>>n;
    if(n[0]!='7'&&n[1]!='7'&&n[2]!='7')cout<<"No";
    else cout<<"Yes";
    EN;
    
}


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(S.at(0)!=7||S.at(1)!=7||S.at(2)!=7){
  cout<<"No"<<endl;
  
  }
else{
cout<<"Yes"<<endl;

}
}


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

#include "bits/stdc++.h" 
using namespace std;
#define rep(i,a,n) for(ll i=a;i<n;i++)
#define rerep(i,a,n) for(ll i=n;i>=a;i--)
#define elif else if
#define all(s) s.begin(),s.end()
typedef long long ll;
int main(){
    ll n;
    bool flag=false;
    cin>>n;
    if(n%10==7)flag=true;
    n/=10;
    if(n%10==7)flag=true;
    n/=10;
    if(n%10==7)flag=true;
    if(flag)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

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

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

typedef long long ll;
#define fio() cin.tie(0); ios::sync_with_stdio(false);
#define rep(i,n) for(int i=0;i<(n);i++)
#define Sp(p) cout<<setprecision(25)<< fixed<<p<<endl;
#define nl cout<<endl;
#define pu push
#define pb push_back
//str.substr(pos,number)
//str.insert(str.begin()+5,'3')
//set<int> myset
//myset.insert(num)
//myset.count(i)!=0
const int maxn = 2e5 + 5;
int main(){
    fio();
	int num;
	bool ans=false;
	cin>>num;
	for(int i=0;i<3;i++){
		if(num%10 == 7){
			ans = true;
			break;
		}
		num /=10;
	}
	if(ans)
		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()
{
    string n;
    cin >> n;
    for(int i = 0; i < n.size(); i++)
    {
        if(n[i] == '7')
        {
            cout << "Yes";
            return 0;
        }
    }
    cout << "No";
}


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

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

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:
a.cc: In function 'int main()':
a.cc:8:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(n[0] == "7" || n[1] == "7" || n[2] == "7")
a.cc:8:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(n[0] == "7" || n[1] == "7" || n[2] == "7")
a.cc:8:41: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(n[0] == "7" || n[1] == "7" || n[2] == "7")
Language: C

using System;
using static System.Console;
using System.Linq;

namespace AC
{
   public class shiokara
   {
      static void Main(string[] args)
      {
         string n = ReadLine();
         if(n[0] == "7" || n[1] == "7" || n[2] == "7"){
             WriteLine("Yes");
         }else{
             WriteLine("No");
         }
      }
   }
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:6: error: expected ';' before 'static'
    2 | using static System.Console;
      |      ^~~~~~~
      |      ;
main.c:2:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using static System.Console;
      |                    ^
main.c:3:1: error: unknown type name 'using'
    3 | using System.Linq;
      | ^~~~~
main.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | using System.Linq;
      |             ^
main.c:5:1: error: unknown type name 'namespace'
    5 | namespace AC
      | ^~~~~~~~~
main.c:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    6 | {
      | ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
int n,a[3];
cin>>n;
a[0]=n%10;
a[1]=n/10%10;
a[2]=n/100;
for(int i=0;i<3;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>
#define pb push_back
#define mp make_pair
#define lli long long int
#define llu long long unsigned int
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define FOR(i,s,e) for(i=s; i<e; i++)
#define mod 998244353
#define F first
#define S second
#define plli pair<lli,lli>
#define pqlli priority_queue<lli>
#define test(t) cin>>t; while(t--)
using namespace std;
 
lli power(lli a, lli b, lli M = mod)
{
	lli result = 1;
    for (;;)
    {
        if (b & 1)
            result = (result*a)%M;
        b >>= 1;
        if (!b)
            break;
        a = (a*a)%M;
    }
    return result;
}

int main()
{
    IOS;
    lli n;
    cin>>n;
    int flag = 0;
    while(n>0)
    {if(n%10 == 7)
    flag = 1;n = n/10;}
    if(flag)
    cout<<"Yes\n";
    else
    cout<<"No\n";
 /*   string s;
    cin>>s;
    lli dp[3][n+1];
    memset(dp, 0, sizeof(dp));
    for(lli i = 1; i<n+1; i++)
    dp[0][i] = dp[0][i-1] + (s[i-1] == 'R'), dp[1][i] = dp[1][i-1] + (s[i-1] == 'G'), dp[2][i] = dp[2][i-1] + (s[i-1] == 'B');
	lli ans = 0;
    for(lli i = 0; i<n; i++)
    {
		for(lli k = i+3; k<n; k++)
		{
			if(s[i] != s[k])
			{
				if(s[i]!='R' and s[k]!='R')
				{
					ans += dp[0][k] - dp[0][i+1];
					if((k-i-1)%2 and (s[(k+i)/2] == 'R'))
					ans--;
				}
				else if(s[i]!='G' and s[k]!='G')
				{
					ans += dp[1][k] - dp[1][i+1];
					if((k-i-1)%2 and (s[(k+i)/2] == 'G'))
					ans--;
				}
				else
				{
					ans += dp[2][k] - dp[2][i+1];
					if((k-i-1)%2 and (s[(k+i)/2] == 'B'))
					ans--;
				}
			}
		}
	}
	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

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <iomanip>
#include <cassert>
#include <functional>


using namespace std;

int main() {
  int n;
  cin>>n;
  if(n/100!=7 && (n%100)/10 != 7 && (n%100)%10 != 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;
typedef long long ll;

int main()
{
    ll N;
    cin >> N;
    for(ll i = 0; i < 2; i++)
    {
        if(N % 10 == 7)
        {
            cout << "Yes" << endl;
            return 0;
        }
        N /= 10;
    }
    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<stdio.h>

int main(void){
	int hoge[3];
   scanf("%d",hoge);
   for(int i=0;i<3;i++)
   {
   if(hoge[i]==7)
   {
   printf("Yes");
   }
   　else printf("No");
   }
   
   

Compiler output:
main.c: In function 'main':
main.c:12:4: error: stray '\343' in program
   12 |    <U+3000>else printf("No");
      |    ^~~~~~~~
main.c:13:4: error: expected declaration or statement at end of input
   13 |    }
      |    ^
Language: C

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

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

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;
using ll = long long;
using P = pair<ll, ll>;
const ll INF = 100000000;
#define rep(i, n) for (ll i=0; i<(n); i++) 


int main() {
    ll n;
    cin >> n;
    string ans = 'No'
    while (n > 0){
        if (n%10 == 7) ans = 'Yes';
        n /= 10;
    }
    cout << ans << endl;
}

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

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

int N;
bool ok = false;

int main(){
  cin >> N;

  string s = to_string(N);
  for(int i = 0; i < s.size(); i++){
    if(s[i] == '7') ok = true;
  }

  if(ok) 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.