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

n=list(input())
if '7' in n:
            print('Yes')
else:
            print('No')


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n=list(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | n=list(input())
      |   ^~~~
main.c:1:8: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n=list(input())
      |        ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | n=list(input())
      |   ^~~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if '7' in n:
      | ^~
main.c:3:19: warning: multi-character character constant [-Wmultichar]
    3 |             print('Yes')
      |                   ^~~~~
main.c:5:19: warning: multi-character character constant [-Wmultichar]
    5 |             print('No')
      |                   ^~~~
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\n";
  else
    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

# A
n = input()

if n.count('7') > 0:
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:3: error: invalid preprocessing directive #A
    1 | # A
      |   ^
main.c:2:1: warning: data definition has no type or storage class
    2 | n = input()
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:2:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    2 | n = input()
      |     ^~~~~
main.c:2:5: error: initializer element is not constant
main.c:4:1: error: expected ',' or ';' before 'if'
    4 | if n.count('7') > 0:
      | ^~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('Yes')
      |           ^~~~~
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('No')
      |           ^~~~
Language: C

N = input()

flag = 0
for i in range(3):
  if N[i] == '7':
    flag += 1
    
if flag == 0:
  print('No')
    
else:
  print('Yes')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | N = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:3:1: error: expected ',' or ';' before 'flag'
    3 | flag = 0
      | ^~~~
main.c:9:9: warning: multi-character character constant [-Wmultichar]
    9 |   print('No')
      |         ^~~~
main.c:12:9: warning: multi-character character constant [-Wmultichar]
   12 |   print('Yes')
      |         ^~~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
void solve(){
	int n;
	cin>>n;
	bool ans=0;
	while(n){
		int rem=n%10;
		n=n/10;
		if(rem==7)ans=1;
	}
	cout<< (ans ? "Yes":"No");
	
	
}



int main(){
	solve();
}


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

N = int(input())
n3 = N//100
n2 = (N - n3*100)//10
n1 = N - n3*100 - n2*10
print(n3, n2, n1)
if (n3 == 7) or (n2 == 7) or (n1 == 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:7:9: warning: multi-character character constant [-Wmultichar]
    7 |   print('Yes')
      |         ^~~~~
main.c:9:9: warning: multi-character character constant [-Wmultichar]
    9 |   print('No')
      |         ^~~~
Language: C

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




int main()
{
    ll _,i,j,n,a,b,e,k,u,t,x=1,m,y,q,f=1,c=0,d=0,l,p,z,o,r;
    string s,ss;
    cin>>n;
    while(n)
    {
        x=n%10;
        n/=10;
        if(x==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

N = int(input())
n3 = N//100
n2 = (N - n3)//10
n1 = N - n2
if (n3 == 7) or (n2 == 7) or (n1 == 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:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('Yes')
      |         ^~~~~
main.c:8:9: warning: multi-character character constant [-Wmultichar]
    8 |   print('No')
      |         ^~~~
Language: Java

import java.util.*;

public class Main
{
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String line = scanner.next();      	
      	int N = String.parseInt(line);
      	int sum = 0;
      	for (int i = 0; i <= N; i++){
        	if (( i%3 != 0) & ( i%5 != 0)){
            	sum += i;
            }
        }
      	System.out.println(sum);
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
      	int N = String.parseInt(line);
      	              ^
  symbol:   method parseInt(String)
  location: class String
1 error
Language: C++

#include <iostream>
using namespace std;
 
int main()
{
  char 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:8: error: invalid types 'char[int]' for array subscript
    8 |   if((N[0] == '7') || (N[1] == '7') || (N[2] == '7')) cout << "Yes";
      |        ^
a.cc:8:25: error: invalid types 'char[int]' for array subscript
    8 |   if((N[0] == '7') || (N[1] == '7') || (N[2] == '7')) cout << "Yes";
      |                         ^
a.cc:8:42: error: invalid types 'char[int]' for array subscript
    8 |   if((N[0] == '7') || (N[1] == '7') || (N[2] == '7')) cout << "Yes";
      |                                          ^
Language: Java

public class Solution
{
	public static void main(String[] args) {
		String line = StdIn.readLine();
      	int N = String.parseInt(line);
      	int sum = 0;
      	for (int i = 0; i <= N; i++){
        	if ((i%3 != 0) & (i%5 != 0)){
            	sum += i;
            }
        }
      	System.out.println(sum);
	}
}

Compiler output:
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution
       ^
Main.java:4: error: cannot find symbol
		String line = StdIn.readLine();
		              ^
  symbol:   variable StdIn
  location: class Solution
Main.java:5: error: cannot find symbol
      	int N = String.parseInt(line);
      	              ^
  symbol:   method parseInt(String)
  location: class String
3 errors
Language: C

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

int main(){
  int n;
  cin >> n;
  for(int i = 0;i<3;i++){
    if(n % 10 == 7){
      cout << "Yes" << endl;
      break;
    }
    n /= 10;
    if(i == 2){
      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

public class Solution
{
	public static void main(String[] args) {
		String line = StdIn.readLine();
      	int N = String.parseInt(line);
      	int sum = 0;
      	for (int i = 0; i <= N; i++){
        	if (! (i%3 == 0)) & ((! i%5 == 0)){
            	sum += i;
            }
        }
      	System.out.println(sum);
	}
}

Compiler output:
Main.java:8: error: illegal start of expression
        	if (! (i%3 == 0)) & ((! i%5 == 0)){
        	                  ^
Main.java:8: error: ';' expected
        	if (! (i%3 == 0)) & ((! i%5 == 0)){
        	                                  ^
2 errors
Language: C

#include<stdio.h>

int main(){

  int n;
  int k=100;
  scanf("%d",&n);
  
  for(int i=0;i<3;i++){
    if(n/k==7){
      printf("Yes");
      return 0;
    }
    n=n-(n/k)*k
    k=k/10;
  }
  
  printf("No");
  return 0;
}
         
      
    

Compiler output:
main.c: In function 'main':
main.c:14:16: error: expected ';' before 'k'
   14 |     n=n-(n/k)*k
      |                ^
      |                ;
   15 |     k=k/10;
      |     ~
Language: Java

import java.util.Scanner; 
 
class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.len; i++){
        	if(s.charAt(i) == '7'){
            	System.out.println("Yes");
            return;
            }
        }
              System.out.println("No");
    return;
        }
}

Compiler output:
Main.java:7: error: cannot find symbol
    	for (int i = 0; i < s.len; i++){
    	                     ^
  symbol:   variable len
  location: variable s of type String
1 error
Language: C

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
    public static void Main()
    {
        String input = Console.ReadLine();
        bool flag = false;
        for (int i = 0; i < input.Length; i++)
        {
            if (input[i]=='7') { flag = true; }
        }
        if (flag) { Console.WriteLine("Yes"); }
        else { Console.WriteLine("No"); }
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Collections.Generic;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Collections.Generic;
      |             ^
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:4:1: error: unknown type name 'using'
    4 | using System.Text;
      | ^~~~~
main.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | using System.Text;
      |             ^
main.c:5:1: error: unknown type name 'class'
    5 | class Program
      | ^~~~~
main.c:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    6 | {
      | ^
Language: Java

import java.util.Scanner; 
 
class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.length; i++){
        	if(s.charAt(i) == '7'){
            	System.out.printlm("Yes");
            return;
            }
        }
              System.out.println("No");
    return;
        }
}

Compiler output:
Main.java:7: error: cannot find symbol
    	for (int i = 0; i < s.length; i++){
    	                     ^
  symbol:   variable length
  location: variable s of type String
Main.java:9: error: cannot find symbol
            	System.out.printlm("Yes");
            	          ^
  symbol:   method printlm(String)
  location: variable out of type PrintStream
2 errors
Language: Java

N=input();
if ("7".indexOf(N)>=1){
  System.out.println("Yes");
  }else{
    System.out.println("No");

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
N=input();
^
Main.java:2: error: class, interface, enum, or record expected
if ("7".indexOf(N)>=1){
^
Main.java:4: error: class, interface, enum, or record expected
  }else{
  ^
3 errors
Language: Java

import java.util.Scanner; 
 
class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.length; i++){
        	if(s.charAt(i) == '7'){
            	System.out.printlm("Yes");
            return;
            }
        }
              System.out.println("No");
    return;
        }

Compiler output:
Main.java:15: error: reached end of file while parsing
        }
         ^
1 error
Language: Java

import java.util.Scanner; 
 
class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.length; i++){
        	if(s.charAt(i) == '7'){
            	System.out.printlm("Yes");
            return;
            }
              System.out.println("No");
    return;
        }

      }

Compiler output:
Main.java:16: error: reached end of file while parsing
      }
       ^
1 error
Language: Java

import java.util.Scanner; 
 
class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.length; i++){
        	if(s.charAt(i) == '7'){
            	System.out.printlm("Yes");
            return;
            }
        }
    System.out.println("No");
    return;
      }

Compiler output:
Main.java:15: error: reached end of file while parsing
      }
       ^
1 error
Language: Java

import java.util.Scanner; 

class Solution{
  public static void main(String args[]){
      Scanner scan = new Scanner(System.in);
      String s = scan.next();
    	for (int i = 0; i < s.length; i++){
        	if(s[i] == '7'){
            	System.out.printlm("Yes");
            return;
            }
        }
    System.out.println("No");
    return;
      }
}


Compiler output:
Main.java:7: error: cannot find symbol
    	for (int i = 0; i < s.length; i++){
    	                     ^
  symbol:   variable length
  location: variable s of type String
Main.java:8: error: array required, but String found
        	if(s[i] == '7'){
        	    ^
Main.java:9: error: cannot find symbol
            	System.out.printlm("Yes");
            	          ^
  symbol:   method printlm(String)
  location: variable out of type PrintStream
3 errors
Language: C

#include <iostream>
using namespace std;
int main() {
	char f;
	int a = 0;
	for (int i = 0; i < 3; i++) {
		cin >> f;
		if (f == '7') {
			a = 1;
		}
	}
	if (a == 1)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 <iostream>
using namespace std;
int main() {
	int f;
	int a = 0;
	for (int i = 0; i < 3; i++) {
		cin >> f;
		if (f == 7) {
			a = 1;
		}
	}
	if (a == 1)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

s = input()

if "7" in s:
    print("Yes")
else:
    print("No")

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

#include<iostream>
#include<string>
using namespace std;
int main() {
	int n;
	cin >> n;
	bool s = 1;
	while (n != 0) {
		if (n % 10 == 7) {
			cout << "Yes";
			s = !s;
			break;
		}
		n /= 10;
	}
	if (s) 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<iostream>
 
using namespace std;
 
int main()
{
    int n;
    cin>>n;
    while(n)
    {
        int r=n%10;
        if(r==7)
        {
            cout<<"Yes";
            return 0;
        }
        n=n/10;
    }
    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<iostream>

using namespace std;

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

using namespace std;

int main()
{
    int n;
    cin>>n;
    while(n)
    {
        int r=n%10;
        if(r==7)
        {
            cout<<"Yes";
            return 0;
        }
        n=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;
using ll = long long;
 
int main() {
  string N; cin>>N;
  if(N[0]=='7'||N[1]=='7'||N[2]=='7')cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
  return 0;
}

Compiler output:
main.c:1:10: fatal error: 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 fast ios_base::sync_with_stdio(false);   cin.tie(NULL); cout.tie(NULL);
#define fl(i,a,n) for(int i=a; i<n; i++)
#define ll long long 
#define pb push_back
#define ff first
#define ss second
#define all(v) v.begin(),v.end()
#define test()  int tt;  cin>>tt;  while(tt--)
#define nl  cout<<"\n"
#define pii pair<int,int>
#define dbg(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
void err(istream_iterator<string> it) {}
template<typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args)    {
    cout << *it << " = " << a << endl;
    err(++it, args...);
}
const int mod=1e9+7;


void solve()    {
        string s;       cin>>s;
        if(s[0]=='7' or s[1]=='7' or s[2]=='7')         cout<<"Yes";
        else cout<<"No";
}
/*  Integer Overflow  */
int main()  {
    fast;
    //test()
        solve();
}

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 long double ld;
typedef pair<ll, ll> ii;
typedef tuple<ll, ll, ll> iii;
typedef vector<ll> vi;
typedef vector<ii> vii;
typedef vector<iii> viii;
typedef vector<vi> vvi;
typedef vector<vii> vvii;
#define REP(i,n) for (ll i = 0; i < n; ++i)
#define REPR(i,n) for (ll i = n-1; i >= 0; --i)
#define FOR(i,m,n) for (ll i = m; i < n; ++i)
#define FORR(i,m,n) for (ll i = n-1; i >= m; --i)
#define FORE(x,xs) for (const auto& x : xs)
#define FORI(i,v) for (auto i = v.begin(); i != v.end(); i++)
#define ALL(v) v.begin(), v.end()
#define CHMIN(x,y) x = min(x, y)
#define CHMAX(x,y) x = max(x, y)

int N;

string solve() {
    while (N) {
        if (N%10 == 7) return "Yes";
        N /= 10;
    }
    return "No";
}

int main() {
    cin >> N;
    cout << solve() << 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++>
using namespace std;
int main()
{
  int n;
  cin>>n;
  int m;
  bool c = false;
  while(n != 0)
  {
    m = n % 10;
    if(m == 7)
    {
      cout<<"Yes";
      c = true;
      break;
    }
  }
  if(c == false)
  {
    cout<<"No";
  }
}

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

#include<iostream>
using namespace std;

int main(){
  char s[3];

  cin >> s;

  for (int i = 0; i < 3; i++){
    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;
        #define int long long int
        #define pb push_back
        #define mk make_pair
        #define ft first
        #define sc second
        #define ppb pop_back
        #define sz size
        #define forn(i,a,n) for(i=a;i<n;i++)
        #define M 998244353 
        #define inf 2e18
 
        bool check(int n,int k){
            while(n%k==0){
                n=n/k;
            }
            return n%k==1;
        }
        
        signed main() {
 
  
        ios_base::sync_with_stdio(false);
        cin.tie(NULL);
        cout.tie(NULL);
        
        int n;
        cin>>n;
        int fl=1;
        while(n>0){
            if(n%10==7){
                cout<<"Yes";
                fl=0;
                break;
            }
            n=n/10;
        }
        if(fl)
        cout<<"No";
 
 
        return 0;
    }

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

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

#define int long long

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

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

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 <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <algorithm>
#include <math.h>
#include<string>
#include<vector>
using namespace std;
int main()
{
    string N;
    cin >> N[0] >> N[1] >> N[2];
    if(N[0] == '7' || N[1] == '7' || N[2] == '7') cout << "Yes" << endl;
    else    cout << "No" << endl;
    return 0;
}

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

#include <bits/stdc++.h>
#define rep(i,n) for(int (i)=0;(i)<(int)(n);(i)++)
#define repeq(i,n) for(int (i)=0;(i)<=(int)(n);(i)++)
#define rep1(i,x,n) for(int (i)=(x);(i)<(int)(n);(i)++)
#define rep1eq(i,x,n) for(int (i)=(x);(i)<=(int)(n);(i)++)
#define rrep(i,x) for(int i=((int)(x)-1);i>=0;i--)
using namespace std;
using ll = long long;
using Int = long long;

const int MOD = 1000000007;
const ll INF = numeric_limits<ll>::max();
const int inf = 1e8;
typedef pair<int,int> P;
typedef std::priority_queue<int> IntPrioQueue;
typedef std::priority_queue<int, std::vector<int>, std::greater<int> > IntReversePrioQueue;

//少数点表示
//cout << std::fixed << std::setprecision(14) << 値

int main(){
    cin.tie( 0 ); ios::sync_with_stdio( false );
    string s;
    cin >> s;
    auto n = s.size();
    bool yes = false;
    rep(i,n){
        if(s[i]=='7') yes = true;
    }

    if(yes) 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<sstream>

using namespace std;

int main() {

	int n;
	cin >> n;
	int a;
	int b;
	int c;

	a = n - 700;
	if ((a >= 0) && (a <= 100)) {
		cout << "Yes" << endl;
		return 1;
	}
	else {
		b = n % 100;
		b = b - 70;
		if ((b >= 0) && (b <= 10)) {
			cout << "Yes" << endl;
			return 1;
		}
		else {
			c = n % 10;
			c = c - 7;
			if (c == 0) {
				cout << "Yes" << endl;
				return 1;
			}
			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<iostream>
#include<sstream>

using namespace std;

int main() {

	int n;
	cin >> n;
	int a;
	int b;
	int c;

	a = n - 700;
	if ((a >= 0) && (a <= 100)) {
		cout << "Yes" << endl;
		return 0;
	}
	else {
		b = n % 100;
		b = b - 70;
		if ((b >= 0) && (b <= 10)) {
			cout << "Yes" << endl;
			return 0;
		}
		else {
			c = n % 10;
			c = c - 7;
			if (c == 0) {
				cout << "Yes" << endl;
				return 0;
			}
			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<iostream>
#include<sstream>

using namespace std;

int main() {

	int n;
	cin >> n;
	int a;
	int b;
	int c;

	a = n - 700;
	if ((a >= 0) && (a <= 100)) {
		cout << "Yes" << endl;
		return 0;
	}
	b = n % 100;
	b = b - 70;
	if ((b >= 0) && (b <= 10)) {
		cout << "Yes" << endl;
		return 0;
	}

	c = n % 10;
	c = c - 7;
	if (c == 0) {
		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;
#define ll long long
#define MOD 1000000007
#define print(A,n) for(ll i=0;i<n;++i)cout<<A[i]<<' ';cout<<endl;
#define take(A,n) for(ll i=0;i<n;++i)cin>>A[i];
//    for(auto& it : m)
void fastio(){ios_base::sync_with_stdio(false);cin.tie(NULL);}
//  priority_queue<ll int> pq;
//  priority_queue <ll int, vector<ll int>, greater<ll int> > pq;
//  vector<ll int> v;
//  vector< pair<ll int,ll int> > v;
//  set<ll int>::iterator it=s.begin();
//  unordered_map<  pair<ll int,ll int>, ll int> mp;
 
 
const int ALPHABET_SIZE = 26; 
  
// trie node 


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


       
    return 0; 
} 


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

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

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

#include<bits/stdc++.h>
#define ll long long

using namespace std;



	

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

	int n;cin>>n;
	while(n)
	{
		if(n % 10 == 7)
		{
			cout<<"YES";
			break;
		}
		n /= 10;
		
	
	}

	if(n == 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 <stack>
#include <queue>
#include <map>
#include <set>
#include <vector>
#include <random>
#include <cmath>
#include <chrono>
#include <cstring>
#include <algorithm>
#include <string>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
using namespace std;
using LL = long long;
#define eps 1e-8
#define fi first
#define se second
#define eb emplace_back
#define close std::ios::sync_with_stdio(false),cin.tie(nullptr),cout.tie(nullptr)
#define FOR(i, x, y) for (LL i = (x), _##i = (y); i < _##i; ++i)
#define FORD(i, x, y) for (LL i = (x), _##i = (y); i > _##i; --i)
#define SORT_UNIQUE(c) (sort(c.begin(),c.end()), c.resize(distance(c.begin(),unique(c.begin(),c.end()))))
#define CASET int ___T; cin>>___T; for(int __CS=1;__CS<=___T;__CS++)
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> pii;
mt19937 dlsrand(random_device{}());
mt19937 mrand(std::chrono::system_clock::now().time_since_epoch().count()); 
int rnd(int x) { return mrand() % x;}
ll gcd(ll a,ll b) { return b?gcd(b,a%b):a;}
LL bin(LL x, LL n, LL MOD) {LL ret = MOD != 1;for (x %= MOD; n; n >>= 1, x = x * x % MOD)if (n & 1) ret = ret * x % MOD;return ret;}
inline LL get_inv(LL x, LL p) { return bin(x, p - 2, p); }
const double PI = acos(-1.0);
constexpr int maxn = 1e6+10;
constexpr int INF = 0x3f3f3f3f;
constexpr ll linf = 0x3f3f3f3f3f3f3f3f;
constexpr int mod = 1e9+7;
void add(int &a,int b) {a+=b; if(a>=mod) a-=mod;}
void dec(int &a,int b) {a-=b; if(a<0) a+=mod;}
int main()
{
    string s;
    cin >> s;
    if(s.find('7')!=s.npos)puts("Yes");else puts("No");
    
}

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

#include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define FOR(i,a,b) for (int i=(a);i<(b);++i)
#define REP(a,b) for(int a=0;a<(b);++a)
#define REP1(i,n) for(int i=1;i<=(n);++i)
#define debug(x) cerr<<#x<<": "<<x<<'\n'
#define all(x) (x).begin(),(x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define isYES(x) printf("%s\n",(x) ? "YES" : "NO")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define isYes(x) printf("%s\n",(x) ? "Yes" : "No")
#define SZ(x) ((int)(x).size())
#define pb push_back
#define mp make_pair
#define INF (1<<29)
#define Sp(p) cout<<setprecision(25)<< fixed<<p<<endl
#define vi vector<int>
#define vl vector<ll>
#define vii vector< vector<int> >
#define vll vector< vector<ll> >
#define vs vector<string>
#define pii pair<int,int>
#define pis pair<int,string>
#define psi pair<string,int>
#define pll pair<ll,ll>
#define X first
#define Y second
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
typedef pair<int, P> PP;
typedef pair<ll, LP> LPP;


template<class T=int>
T in(){T x;cin>>x;return (x);}
template<class T>
void print(T& x){cout<<x<<'\n';}

const int MOD =(int)1e9+7;
const int mod =(int)1e9+7;
const int MAX =510000;
ll fac[MAX],finv[MAX],inv[MAX];
void COMint(){
    fac[0]=fac[1]=1;
    finv[0]=finv[1]=1;
    inv[1]=1;
    for(int i=2;i<MAX;i++){
        fac[i]=fac[i-1]*i%MOD;
        inv[i]=MOD-inv[MOD%i]*(MOD/i)%MOD;
        finv[i]=finv[i-1]*inv[i]%MOD;
    }
}
ll COM(int n,int k){
    if(n<k) return 0;
    if(n<0||k<0)return 0;
    return fac[n]*(finv[k]*finv[n-k]%MOD)%MOD;
}
ll gcd(ll a,ll b){
    if(b==0)return a;
    if(a>b){
        swap(a,b);
    }
    return gcd(a,b%a);
}
ll lcm(ll a,ll b){
    ll g;g=gcd(a,b);
    return a*b/g;
}
bool compare_by_b(pair<int, int> a, pair<int, int> b) {
    if(a.second != b.second){
        return a.second < b.second;
    }else{
        return a.first < b.first;
    }
}

bool compare_by_a(pair<int, int> a, pair<int, int> b) {
    if(a.first != b.first){
        return a.first < b.first;
    }else{
        return a.second < b.second;
    }
}
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;
}

ll RS(ll N,ll P,ll M){
    if(P==0){
        return 1;
    }else{
        if(P%2==0){
            ll t=RS(N,P/2,M);
            return t*t%M;
        }else{
            return N*RS(N,P-1,M)%M;
        }
    }
}
int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    string N=in<string>();
    bool flg=false;
    REP(i,N.size()){
        if(N[i]=='7')flg=true;
    }
    isYes(flg);
    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 number;
    cin >> number;
    
    int flag{0};
    while(number) {
        int x = number % 10;
        if(x == 7){
            flag = 1;
            break;
        }
        
        number = number / 10;
    }
    
    if(flag == 1)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;

    return 0;
}

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

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int number;
    cin >> number;
    
    int flag{0};
    while(number) {
        int x = number % 10;
        if(x == 7){
            flag = 1;
            break;
        }
        
        number = number / 10;
    }
    
    if(flag == 1)
        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;
int main()
 {
  int a,b,i,k=0;
  string s;
  cin>>s;
  for(i=0;i<s.size();i++)
    {if(s[i]=='7')k=1;
     }
  if(k==1)cout<<"Yes\n";
  else cout<<"No\n";
  }

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

#include<iostream>
#include<cstring>
#include<sstream>
#include<algorithm>
using namespace std;
int main()
{
	string s;
	cin >> s;
	if (count(s.begin(), s.end(), '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

n=str(input())
ans='No'
for i in range(len(n)):
    if n[i]=='7':
        ans='Yes'
print(ans)

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:3: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | n=str(input())
      |   ^~~
main.c:1:7: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n=str(input())
      |       ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | n=str(input())
      |   ^~~
main.c:2:1: error: expected ',' or ';' before 'ans'
    2 | ans='No'
      | ^~~
main.c:2:5: warning: multi-character character constant [-Wmultichar]
    2 | ans='No'
      |     ^~~~
main.c:5:13: warning: multi-character character constant [-Wmultichar]
    5 |         ans='Yes'
      |             ^~~~~
Language: C

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

int main() {
    long long N;
    cin >> N;
    bool find  = false; 
    for ( ; N > 0; ) {
        long long Remainder = N % 10;
        long long Quit = N / 10;
        if (Remainder == 7) {
            find = true;
        }
        N = Quit;
    }
    if (find == true) {
        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 <math.h>
#include <algorithm>
#include <set>
#include <iostream>
#include <vector>
#include <queue>
#include <map>
#include <string>
#include <cstring>
#include <functional>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <random>
#include <chrono>
#include <climits>
#include <bitset>
using namespace std ;
#define ld long double
#define int long long
#define ii pair<int,int>
#define FAST_IO ios_base::sync_with_stdio(false) ;cin.tie(NULL);cout.tie(NULL); clock_t beg = clock()
#define dbg(x) cerr << #x << " is " << x << endl;
#define ms(x,a) memset(x,(int)(a),sizeof(x))
#define all(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())
#define vi vector<int >
#define pb push_back
#define endl '\n'
#define ff first
#define ss second
//const int N = 3e5+7 ;
//const int INF = 1e18 ;
//const int MOD = 1e9 + 7 ;


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

}

int32_t main(){
	FAST_IO ;
	int t = 1 ;
//	cin >> t ;
	while(t--){
		solve() ;
	}
    cerr << "\nExecution time: " << (clock() - beg) / 1000 << '\n';
}


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

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, a, b) for (int i = (a); i < (b); ++i)
#define all(a) (a).begin(), (a).end()
#define all2(a, b) (a).begin(), (a).begin() + (b)
#define debug(vari) cerr << #vari << " = " << (vari) << endl;

int main()
{
    string S;
    cin >> S;
    bool ok = false;
    rep(i, 3) if (S[i] == '7') ok = true;
    puts(ok ? "Yes" : "No");
    return 0;
}


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

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

int main () {
    string s;
    cin >> s;
    bool flag = false;
    rep(i, s.size()) {
        if('7' == s.at(i)) {
            flag = true;
        }
    }
    if(flag) {
        printf("Yes");
    }
    else {
        printf("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;
typedef long long int ll;
int main() {
	string s;
	cin>>s;
	bool f=0;
	if(s[0]=='7'||s[1]=='7'||s[2]=='7')f=1;
	cout<<(f?"Yes":"No");
	return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define repr1(i, n) for (int i = n; i >= 1; i--)
#define all(v) v.begin(), v.end()
using ll = long long;
using pii = pair<int, int>;
using pil = pair<int, ll>;
using pli = pair<ll, int>;
using pll = pair<ll, ll>;
const int INF = 1e9;
const ll LLINF = 1e18;
const ll MOD = 1e9 + 7;
const double EPS = 1e-10;
template <class T> inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T> inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}

int main() {
  string s;
  cin >> s;
  bool ok = false;
  rep(i, 3) {
    if (s[i] == '7')
      ok = true;
  }
  cout << (ok ? "Yes" : "No") << endl;
}


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

//Catchharsh
#include<bits/stdc++.h>
#define ll long long int 
#define ld long double
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define F first
#define S second
#define sz(x) x.size()
#define all(x) x.begin(),x.end()
#define pb push_back
#define endl '\n'
#define see(x) cout<<#x<<" = "<<x<<endl
const ll MOD = 1e9+7;
const ll INF = 1011111111;
const ll LLINF = 1000111000111000111LL;
const ld EPS = 1e-10;
const ld PI = 3.14159265358979323;
using namespace std;
ll power (ll base,ll exponent)
{
    ll ans=1;
    //base%=MOD;
    //exponent%=(MOD-1);
    while(exponent!=0)
    {
      if(exponent&1) ans=(1LL*ans*base);
      base=(1LL*base*base);
      exponent>>=1;
    }
    return ans;
}

int32_t main()
{   
     IOS;
     
     ll n,m,i,j,k;
     bool ok=false;
     cin>>n;
     while(n!=0)
     {
      i=n%10;
      n/=10;
      if(i==7) ok=true;
     }
     if(ok) cout<<"Yes";
     else cout<<"No";
     
     cerr <<endl<< "Time elapsed : " << clock() * 1000.0 / CLOCKS_PER_SEC << " ms" << '\n';             
}

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

#include <bits/stdc++.h>
 
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define rrep(i, n) for(int i = ((int)(n)-1); i >= 0; i--)
#define all(x) (x).begin(), (x).end()
#define fill(x, y) memset(x, y, sizeof(x))
 
using namespace std;
 
template<class T>bool chmax(T &a, const T &b) { if(a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if(b<a) { a=b; return 1; } return 0; }
 
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> P;
 
const int INF = 1e9;
const int MOD = 1e9+7;
const double EPS = 1.0e-12;
const double PI = acos(-1.0);

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

// SeeAlso: 

#include <bits/stdc++.h>

using namespace std;

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

#define MAX 100000
#define NIL -1
#define MOD 1000000007

typedef int _loop_int;
#define rep(i,n) for(int i = 0; i < n; i++)
#define FOR(i,a,b) for(_loop_int i=(_loop_int)(a);i<(_loop_int)(b);++i)
#define FORR(i,a,b) for(_loop_int i=(_loop_int)(b)-1;i>=(_loop_int)(a);--i)

#define debug(x) cout<<#x<<": "<<x<<endl
#define debig_vec(v) cout<<#v<<":";rep(i,v.size())cout<<" "<<v[i];cout<<endl
#define ALL(a) (a).begin(),(a).end()

// 最大公約数
inline constexpr ll gcd(ll a,ll b){if(!a||!b)return 0;while(b){ll c=b;b=a%b;a=c;}return a;}
// 最小公倍数
inline constexpr ll lcm(ll a,ll b){if(!a||!b)return 0;return a*b/gcd(a,b);}

#define print2D(h, w, arr) rep(i, h) { rep(j, w) cout << arr[i][j] << " "; cout << endl; }
template<class T> void print(const T& x){cout << setprecision(12) << x << endl;}
template<class T, class... A> void print(const T& first, const A&... rest) { cout << first << " "; print(rest...); }

int main() {
    string n;
    cin >> n;
    bool flag=false;
    rep(i, n.size()) {
        if(n[i]=='7') {
            flag = true;
            break;
        }
    }
    print(flag?"Yes":"No");
    return 0;
}


Compiler output:
main.c:3:10: fatal error: bits/stdc++.h: No such file or directory
    3 | #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(){
    int s ;
    cin >> s;
    if (s /  100 == 7 ) cout << "Yes" << endl;
    else if ((s%100)/10 == 7) cout << "Yes" << endl;
    else if (((s%100)%10)/1 == 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<bits/stdc++.h>
using namespace std;

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

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

#include <bits/stdc++.h>

using namespace std;

void solve()
{
  int n;
  cin >> n;
  int f = 0;
  while (n)
  {
    if (n % 10 == 7)
    {
      cout << "Yes\n";
      return;
    }
    n = n / 10;
  }
  cout << "No\n";
}

int main()
{
  solve();
  return 0;
}


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

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

Compiler output:
main.c:1:10: fatal error: 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;
    for(int i =0; i < 3; i++){
        int r = N%10;
        if(r == 7){
            cout << "Yes" << endl;
            return 0;
        }
        N /= 10;
    }
    cout << "No" << endl;
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
stack<int>st;
queue<int>q;
vector<int>v,v1,v2,v3;
set<int>stt;
set<int>::iterator set_it;
map<string,int>mp;
//initialy map er all index er value zero thake;
//map er jonno this pointer(->) use korte hoy
//akta value dakhar jonno staristics pointer(*) use  korte hoy
// one more value print korar jonno this pointer(->) use korte hoy (must be)
map<string,int>::iterator map_it;
int a[20007];
int i,j,k,l,m,n,cnt=0,sum=0,mx=0,mn=0;
string s,s1,s2;
int main()
{
    cin>>s;
    int flag=0;
    for(i=0; i<s.size(); i++)
    {
        //cout<<s[i]<<endl;
        if(s[i]=='7')
        {
            cout<<"Yes"<<endl;
            return 0;

        }

    }

        cout<<"No"<<endl;

    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
stack<int>st;
queue<int>q;
vector<int>v,v1,v2,v3;
set<int>stt;
set<int>::iterator set_it;
map<string,int>mp;
//initialy map er all index er value zero thake;
//map er jonno this pointer(->) use korte hoy
//akta value dakhar jonno staristics pointer(*) use  korte hoy
// one more value print korar jonno this pointer(->) use korte hoy (must be)
map<string,int>::iterator map_it;
int a[20007];
int i,j,k,l,m,n,cnt=0,sum=0,mx=0,mn=0;
string s,s1,s2;
int main()
{
    cin>>s;
    int flag=0;
    for(i=0; i<s.size(); i++)
    {
        cout<<s[i]<<endl;
        if(s[i]=='7')
        {
            cout<<"Yes"<<endl;
            return 0;

        }

    }

        cout<<"No"<<endl;

    return 0;
}


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