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

/*input
3
rivest
shamir
adleman

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

using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(ll i=0;i<n;i++)
#define Fo(i,k,n) for(ll i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define ll long long
#define si(x)	scanf("%d",&x)
#define sl(x)	scanf("%lld",&x)
#define ss(s)	scanf("%s",s)
#define pi(x)	printf("%d\n",x)
#define pl(x)	printf("%lld\n",x)
#define ps(s)	printf("%s\n",s)
#define deb(x) cout << #x << "=" << x << endl
#define deb2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << endl
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define tr(it, a) for(auto it = a.begin(); it != a.end(); it++)
#define PI 3.1415926535897932384626
#define ms(a,x) memset(a, x, sizeof(a));
#define endl "\n"
typedef pair<int, int>	pii;
typedef pair<ll, ll>	pl;
typedef vector<int>		vi;
typedef vector<ll>		vl;
typedef vector<pii>		vpii;
typedef vector<pl>		vpl;
typedef vector<vi>		vvi;
typedef vector<vl>		vvl;
int mpow(int base, int exp); 
void ipgraph(int m);
void dfs(int u, int par);
const ll mod = 1000000007;
const int N = 1000000001;
const int MAX = 1e5;



int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;cin>>s;
    bool flag = false;
    for(ll i=0;i<s.size();i++){
    	if(s[i]=='7')flag=true;
    }
    if(flag)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}		

Compiler output:
main.c:8:10: fatal error: iostream: No such file or directory
    8 | #include <iostream>
      |          ^~~~~~~~~~
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;
    return 0;
}

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

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


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

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

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

S = input()
ans = 'No'
for i in range(3):
    if S[i] == '7':
        ans = 'Yes'
print(ans)

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:2:1: error: expected ',' or ';' before 'ans'
    2 | ans = 'No'
      | ^~~
main.c:2:7: warning: multi-character character constant [-Wmultichar]
    2 | ans = 'No'
      |       ^~~~
main.c:5:15: warning: multi-character character constant [-Wmultichar]
    5 |         ans = 'Yes'
      |               ^~~~~
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:19: error: expected primary-expression before '%' token
   14 |   else if(N/100-7)%10==0){
      |                   ^
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:19: error: expected primary-expression before '%' token
   14 |   else if(N/100-7)%10==0){
      |                   ^
a.cc:19:4: error: expected '}' at end of input
   19 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

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


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

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

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

  if ((N-7)%10==0) {
    cout << "Yes" << endl;
}
  else if((N/10-7)%10==0){
    cout<<"Yes"<<endl;
}
  else if(N/100-7)%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 <iostream>
#include namespace;
int main(){
  int N;
  //N is a three digit number
  (100 < N < 999);
  check{
    if(n[0],n[1],n[2]==7)
      cout<<"yes";
  }
    else{
      cout<<"no";
    }
}
  return 0;

Compiler output:
a.cc:2:10: error: #include expects "FILENAME" or <FILENAME>
    2 | #include namespace;
      |          ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'check' was not declared in this scope
    7 |   check{
      |   ^~~~~
a.cc:11:5: error: 'else' without a previous 'if'
   11 |     else{
      |     ^~~~
a.cc:12:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |       cout<<"no";
      |       ^~~~
      |       std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc: At global scope:
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
Language: C

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

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

#include <iostream>

using namespace std;

int main(int argc, const char *argv[]) {
  int N, a;
  cin >> N;

  while(1){
    a = N % 10;
    N /= 10;
    if(a == 7){
      cout << "Yes" << endl;
      return 0;
    }
    if(N == 0){
      break;
    }
  }
  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(){
  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: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;

public class MainA {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		 
        String N = sc.next();
 
        if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

	}

}


Compiler output:
Main.java:3: error: class MainA is public, should be declared in a file named MainA.java
public class MainA {
       ^
1 error
Language: C

#include <bits/stdc++.h>

using namespace std;

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

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

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String N = sc.next();

        if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}


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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fi first 
#define se second
#define pi pair<ll,ll> 
#define pb push_back
#define mk make_pair
int main(){ 
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  cin>>s;
  if(s[0]=='7' || s[2]=='7' || s[1]=='7')
  cout<<"Yes"<<endl;
  else
  cout<<"No"<<endl;
}


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

#include <iostream> 
#include <algorithm> 
int main()
{
  int k;
  cin>>k;
  int sum = 0;
  for(int i=1;i<=k;i++)
  {
    for(int j=1;j<=k;j++)
  {
    for(int l=1;l<=k;l++)
  {
    sum+= __gcd(__gcd(i,j),l)
  }
  }
  }
  cout<<sum;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>k;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:14:17: error: '__gcd' was not declared in this scope; did you mean 'std::__gcd'?
   14 |     sum+= __gcd(__gcd(i,j),l)
      |                 ^~~~~
      |                 std::__gcd
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:1137:5: note: 'std::__gcd' declared here
 1137 |     __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
      |     ^~~~~
a.cc:14:11: error: '__gcd' was not declared in this scope; did you mean 'std::__gcd'?
   14 |     sum+= __gcd(__gcd(i,j),l)
      |           ^~~~~
      |           std::__gcd
/usr/include/c++/14/bits/stl_algo.h:1137:5: note: 'std::__gcd' declared here
 1137 |     __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
      |     ^~~~~
a.cc:18:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |   cout<<sum;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  
  for(int i=0;i<3;i++){
    int k=n%10;
    if(k==7){
      cout<<"YES";
      break;
    }
  }
  if(i==3){
cout<<"NO";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:6: error: 'i' was not declared in this scope
   14 |   if(i==3){
      |      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  string s=to_string(n);
  int i=0;
  int k=strlen(s);
  for(;i<k;i++){
    if(s[i]=='7'){
      cout<<"YES";
      break;}
    else{
continue;
    }
  }
  if(i==k){
cout<<"NO";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
    8 |   int k=strlen(s);
      |                ^
      |                |
      |                std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/14/cstring:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:121,
                 from a.cc:1:
/usr/include/string.h:407:35: note:   initializing argument 1 of 'size_t strlen(const char*)'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  string s=to_string(n);
  for(int i=0;i<s.size();i++){
    if(s[i]=='7'){
      cout<<"YES";
      break;}
    else{
continue;
    }
  }
  if(i==s.size()){
cout<<"NO";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:6: error: 'i' was not declared in this scope
   15 |   if(i==s.size()){
      |      ^
Language: C

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

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

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

#include<bits/stdc++.h>
using namespace std;
int lucky(int ans){
	int b,a,mod;
	if(b&1)
	ans=(ans*a)%mod;
	b>>=1;
	return ans;
}
int main(){
	int n;
	cin>>n;
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	if(n%10==7 || (n/10)%10==7 ||(n/100)==7)
	cout<<"yes"<<endl;
	else
	cout<<"no"<<endl;
}

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

/*dismint|jjc*/
#include <bits/stdc++.h>
using namespace std;

#define io(F) string t_="";ifstream fin(t_+F+".in");ofstreamfout(t_+F+".out")
#define qio ios_base::sync_with_stdio(false); cin.tie(NULL)
#define forl(V, S, E) for(int V = S; V < E; V++)
#define ford(V, S, E) for(int V = S; V >= E; V--)
#define fore(E, X) for(auto &E:X)
#define println(X) cout << X << endl
#define printe(X) for(auto &E:X) cout << E << " "; cout << endl
#define setm(A, B, C) if(C) A = min(A, B); else A = max(A, B)
#define graph unordered_map<int, unordered_set<int>>
typedef long long ll;

int main() {
	qio; string s; cin >> s;
	if(count(s.begin(), s.end(), '7')) println("YES");
	else println("NO");
}


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

#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)x.size()
#define D(x) cerr << #x << " = " << (x) << '\n'
using ll = long long;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(0); cout.tie(0);
	string n;
	cin >> n;
	for(auto c:n) {
		if(c == '7') return cout << "Yes\n", 0;
	}
	cout << "No\n";
}


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

#include <iostream>
#include <math.h>
#include <algorithm>
#include <queue>
#include <map>
#include <list>
//#include <bits/stdc++.h>


using namespace std;

#define FOR(i,a,b) for(int i=(a),i##formax=(b);i<i##formax;i++)
typedef long long ll;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:20:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |     if(stringN[0] == "7" || stringN[1] == "7" || stringN[2] == "7"){
a.cc:20:40: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |     if(stringN[0] == "7" || stringN[1] == "7" || stringN[2] == "7"){
a.cc:20:61: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |     if(stringN[0] == "7" || stringN[1] == "7" || stringN[2] == "7"){
Language: C++

// #include <iostream>
#include <math.h>
#include <algorithm.h>
#include <queue>
#include <map>
#include <list>
//#include <bits/stdc++.h>


using namespace std;

#define FOR(i,a,b) for(int i=(a),i##formax=(b);i<i##formax;i++)
typedef long long ll;

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

Compiler output:
a.cc:3:10: fatal error: algorithm.h: No such file or directory
    3 | #include <algorithm.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C

// #include <iostream>
#include <math.h>
#include <algorithm.h>
#include <queue>
#include <map>
#include <list>
//#include <bits/stdc++.h>


using namespace std;

#define FOR(i,a,b) for(int i=(a),i##formax=(b);i<i##formax;i++)
typedef long long ll;

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

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

// #include <iostream>
#include <math.h>
#include <algorithm>
#include <queue>
#include <map>
#include <list>
//#include <bits/stdc++.h>


using namespace std;

#define FOR(i,a,b) for(int i=(a),i##formax=(b);i<i##formax;i++)
typedef long long ll;

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

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

#include <iostream>
#include <math.h>
#include <algorithm>
#include <queue>
#include <map>
#include <list>
//#include <bits/stdc++.h>


using namespace std;

#define FOR(i,a,b) for(int i=(a),i##formax=(b);i<i##formax;i++)
typedef long long ll;

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

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

#include <iostream>

using namespace std;

int main () {
  int num;
  cin >> num;
  int count = 0;
  while (num) {
    if (num % 10 == 7) {
      cout << "Yes\n";
      return 0;
    }
    num /= 10;
  }
  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 ll long long int
#define M 1000000007
#define mod 998244353
#define mp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define pi pair<ll,ll>
#define endl "\n"
using namespace std;
const ll N=500010;

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

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

    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;
    string s;
  	cin>>n;
  	s=to_string(n);
  	for(int i=0;i<s.length();i++){
    	if(s.at(i)!='7')continue;
      	else{
        cout<<"Yes"<<endl;
        break;}
    }if(i==s.length())cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'i' was not declared in this scope
   13 |     }if(i==s.length())cout<<"No"<<endl;
      |         ^
Language: C

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



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

#include <iostream>
#include <stdio.h>
using namespace std;
int main(){
  int N;
  scanf("%d",&k);
  if(N%10==7||(N/10)%10==7||N/100==7)printf("Yes");
  else printf("No");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'k' was not declared in this scope
    6 |   scanf("%d",&k);
      |               ^
Language: C++

#include <iostream>
#include <stdio.h>
using namespace std;
void main(){
  int N;
  scanf("%d",&N);
  if(N%10==7||(N/10)%10==7||N/100==7)printf("Yes");
  else printf("No");
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
Language: C++

#include <iostream>
#include <stdio.h>
using namespace std;
main(){
  int N;
  scanf("%d",&k);
  if(N%10==7||(N/10)%10==7||N/100==7)printf("Yes");
  else printf("No");
}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:15: error: 'k' was not declared in this scope
    6 |   scanf("%d",&k);
      |               ^
Language: C

N = input()
flag = False

for i in range(len(N)):
    if(int(N[i]) == 7):
        flag = True

if(flag):
    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 'flag'
    2 | flag = False
      | ^~~~
Language: C


//include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <string>
#include <cstring>
#include <ctime>
#include <climits>
#include <limits>

using namespace std;

//conversion
//------------------------------------------
inline int toInt(string s) { int v; istringstream sin(s); sin >> v; return v; }
template<class T> inline string toString(T x) { ostringstream sout; sout << x; return sout.str(); }

//math
//-------------------------------------------
template<class T> inline T sqr(T x) { return x * x; }

//typedef
//------------------------------------------
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;

//container util
//------------------------------------------
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define EXISTch(s,c) ((((s).find_first_of(c)) != std::string::npos)? 1 : 0)//cがあれば1 if(1)
#define SORT(c) sort((c).begin(),(c).end())

#define REP(i,n) for(int i=0;i<(int)n;++i)
#define FOR(i,c) for(__typeof((c).begin())i=(c).begin();i!=(c).end();++i)

//constant
//--------------------------------------------
const double EPS = 1e-10;
const double PI = acos(-1.0);
const int INF = (int)1000000007;
const LL MOD = (LL)1000000007;//10^9+7
const LL INF2 = (LL)100000000000000000;//10^18

int main() {
	int n; cin >> n;
	
	bool f = false;
	while (n > 0) {
		if (n % 10 == 7)f = true;
		n /= 10;
	}

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

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

#include <bits/stdc++.h>

using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    
    string n;
    cin >> n;
    bool r = false;
    for (char c : n) {
        if (c == '7') {
            r = true;
            break; 
        }
    }
    cout << (r ? "YES" : "NO") << "\n";
    
    return 0;
}

// scanf("%d %d", &a, &b)
// printf("%d %d", 123, 456);

// getline(cin, s)
// while (cin >> x) {...} - read unknown data


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 pb push_back
#define all(x)  x.begin(),x.end()
#define vi vector<int>
#define print(x) for(auto it=x.begin();it!=x.end();it++) cout<<*it<<' '; cout<<'\n';
#define in(x,n) for(int e=0;e<n;e++){int y;cin>>y;x.pb(y);}
#define inl(x,n) for(int e=0;e<n;e++){long long y;cin>>y;x.pb(y);}
#define lower(sl)  transform(sl.begin(), sl.end(), sl.begin(), ::tolower); 
//Available in Snips
#define fi(i, x, y)   for (__typeof(x) i = x; i < y; i ++)
#define fir(i, x, y)  for (__typeof(x) i = x; i > y; i --)
#define fv(x)   for (auto itr = x.begin(); itr != x.end(); itr ++)
#define fvr(x)  for (auto itr = x.end() - 1; itr != x.begin() - 1; itr --)

int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	//code here
	string s;
    cin >> s;
    for(char x: s){
        if(x=='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>
#include<string>
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;
}


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

#include <iostream>
#include <vector>
#include <unordered_map>
#include <map>
#include <algorithm>
#include <set>
#include <unordered_set>
#include <deque>
#include <cmath>
#include <stack>
#include <queue>
#include <string>
#include <iomanip>
#include <cstring>
#include <climits>
#include <cstdio> 

#define nl '\n'

using namespace std;

string n;

int main(){

    cin >> n;

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

    cout << "No";


}
 
//g++ -std=c++14 comp.cpp -o c && c.exe
//g++ -std=c++14 comp.cpp -o c; ./c.exe
//g++ -std=c++14 comp.cpp && ./a.out

//Surely this is going to AC

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;
  
  bool flag7 = false;
  for (int i = 0; i < 3; i = i + 1) {
    if (n.at(i) == '7') {
      flag7 = true;
      break;
    }
  }
  
  if (flag7) {
    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(){
    long long rahul;
    cin>>rahul;
    long long flag=0;
    
    while(rahul!=0){
        long long x=rahul%10;
        rahul=rahul/10;
        if(x==7){
            flag=1;
            cout<<"Yes"<<endl;
            break;
        }
    }
    if(flag==0){
        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

a = str(input()).count('7')

print('No') if a==0 else print('Yes')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a = str(input()).count('7')
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | a = str(input()).count('7')
      |     ^~~
main.c:1:9: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a = str(input()).count('7')
      |         ^~~~~
main.c:1:17: error: request for member 'count' in something not a structure or union
    1 | a = str(input()).count('7')
      |                 ^
main.c:3:1: error: expected ',' or ';' before 'print'
    3 | print('No') if a==0 else print('Yes')
      | ^~~~~
main.c:3:7: warning: multi-character character constant [-Wmultichar]
    3 | print('No') if a==0 else print('Yes')
      |       ^~~~
main.c:3:32: warning: multi-character character constant [-Wmultichar]
    3 | print('No') if a==0 else print('Yes')
      |                                ^~~~~
Language: C

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

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

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

n=input()
n=int(n)
og=n
flag=0
while(n>0):
    d=n%10
    n=n//10
    if(d==7):
        flag=flag+1
        
if(flag>0):
    print("Yes")
else:
    print("No")
    
          
          

    


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

p=list(input())
a=int(a[0])
b=int(a[1])
c=int(a[2])
if a==7 or b==7 or c==7:
	print(Yes)
else:
	print(No)

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

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


int32_t main(){
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr); cout.tie(nullptr);    

    string s;
    cin >> s;
    if (s.find('7') != string::npos)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
}




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

#include <iostream>

using namespace std;

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

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

#include<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"<<endl;
  else	cout<<"No"<<endl;
  return 0;
}

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

    #include <iostream>
     
    void main(){
      int n;
      int m;
      int k;
      std::cin >> n;
     
      if ( n % 10 == 7){
        std::cout<<"Yes";
      }
      else{
        m = n%100;
        if( m % 10 == 7){
          std::cout << "Yes";
        }
        else {
          k = n % 1000;
          k %= 100;
          if ( k % 10 == 7){ 
          	std::cout << "Yes";
          }
          else {
            std::cout << "No";
          }
        }
      }
    }

Compiler output:
a.cc:3:5: error: '::main' must return 'int'
    3 |     void main(){
      |     ^~~~
Language: C++

#include <iostream>

void main{
  int n;
  int m;
  int k;
  std::cin >> n;

  if ( n % 10 == 7){
    std::cout<<"Yes";
  }
  else{
    m = n%100;
    if( m % 10 == 7){
      std::cout << "Yes";
    }
    else {
      k = n % 1000;
      k %= 100;
      if ( k % 10 == 7){ 
      	std::cout << "Yes";
      }
      else {
        std::cout << "No";
      }
    }
  }
}

Compiler output:
a.cc:3:6: error: variable or field 'main' declared void
    3 | void main{
      |      ^~~~
a.cc:4:3: error: expected primary-expression before 'int'
    4 |   int n;
      |   ^~~
a.cc:4:3: error: expected '}' before 'int'
a.cc:3:10: note: to match this '{'
    3 | void main{
      |          ^
a.cc:7:8: error: 'cin' in namespace 'std' does not name a type
    7 |   std::cin >> n;
      |        ^~~
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: expected unqualified-id before 'if'
    9 |   if ( n % 10 == 7){
      |   ^~
a.cc:12:3: error: expected unqualified-id before 'else'
   12 |   else{
      |   ^~~~
a.cc:28:1: error: expected declaration before '}' token
   28 | }
      | ^
Language: C

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, a, b) for (int i = a; i < (int)b; i++)
#define all(v) v.begin(), v.end()
const int MOD = 1e9 + 7;
const int INF = 1e9;
//'A' = 65, 'Z' = 90, 'a' = 97, 'z' = 122

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

#include<iostream>

using namespace std;

int main() {
	int a;
	cin >> a;
	for (int i = 0; i < 3; i++) {
		if (a % 10 == 7) {
			cout << "Yes\n";
			return 0;
		}
		a /= 10;
	}
	cout << "No\n";
	return 0;
}

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


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


Compiler output:
main.c: In function 'main':
main.c:4:9: error: 'cin' undeclared (first use in this function)
    4 |         cin>>N;
      |         ^~~
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: request for member 'at' in something not a structure or union
    8 | if(N.at(i)==7){
      |     ^
main.c:13:1: error: 'cout' undeclared (first use in this function)
   13 | cout<<"No"<<endl;
      | ^~~~
main.c:13:13: error: 'endl' undeclared (first use in this function)
   13 | cout<<"No"<<endl;
      |             ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: request for member 'at' in 'N', which is of non-class type 'int'
   10 | if(N.at(i)==7){
      |      ^~
Language: C

#include <iostream>
#include <algorithm>       // for next_permutation
#include <vector>
#include <bits/stl_numeric.h>
#include <queue>

#define DEBUG 0
#define REP(i, n) for (long long i = 0; i < (n); i++) 
typedef long long ll;
static const ll MOD = 1000000007;
static const ll INF = 1000000000000000000LL;
using namespace std;

static const int MAX = 510000;

int main() {

    string s,res;
    cin >> s;
    res = "No";
    REP(i,3)
    {
        if(s[i] == '7')res = "Yes";
    }
    cout << res << endl;
    return 0;
}


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

n=input()
a=n.count("7")
if a==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:3: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n=input()
      |   ^~~~~
main.c:1:3: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'a'
    2 | a=n.count("7")
      | ^
Language: C++

#include "iostream"
 
using namespace std;
 

int main()
{
  string num;
  cin >> num;
  bool check = false;
  for(int i = 0; i < num.length(); i++)
  {
  	if( (num[i] == (char)7) check = true; 
  }
  cout << (check == true ? "Yes" : "False") << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: expected ';' before 'check'
   13 |         if( (num[i] == (char)7) check = true;
      |                                ^~~~~~
      |                                ;
a.cc:14:3: error: expected primary-expression before '}' token
   14 |   }
      |   ^
a.cc:13:46: error: expected ')' before '}' token
   13 |         if( (num[i] == (char)7) check = true;
      |           ~                                  ^
      |                                              )
   14 |   }
      |   ~                                           
a.cc:14:3: error: expected primary-expression before '}' token
   14 |   }
      |   ^
Language: C

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


int main(){
	string N;
  bool check=false;
  cin>>N;
  rep(i,3){
  	if(N[i]=='7') check=true;
  }
  if(check){
  	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>
#define rep(i,x) for(long long i=0;i<x; i++)
#define INF 1000100
typedef long long  ll;
using namespace std;


int main(){
	string N;
  bool check=false;
  cin>>N;
  rep(i,3){
  	if(N[i]=='7') check=tru;
  }
  if(check){
  	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

n=input()
n=int(n)
if(n%10==7)
  print("Yes")
  else
    print("No")

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

#include <iostream>
#include <string>

int main(){
    int N;
    std::cin >> N;
    bool ans = 0;
    for(auto i = 100; i > 0; i /= 10){
        int tmp = N / i;
        if(tmp == 7){
            ans = 1;
            break;
        }
        N %= i;
    }

    std::string S = ans ? "Yes" : "No";
    std::cout << S << std::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 N;
  cin >> N;
  for(int i = 0; i < 2; i++){
    if(N%10 == 7){
      cout << "Yes" << endl;
      return;
    }
    N = N/10;
  }
  cout << "No" << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  char s[4];
  scanf("%s",s);
  if(s[0]=='7'||s[1]=='7'||s[2]=='7'){
    puts("Yes");
  }
  else{puts("No");}
}
  

Compiler output:
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()
{
	ll i,j;
	string s;
	cin>>s;
	j=0;
	for(i=0;i<s.length();i++)
	{
		if(s[i]=='7')
		{
			cout<<"Yes"<<endl;
			j=1;
			break;
		}
	}
	if(j==0)
	{
		cout<<"No"<<endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'll' was not declared in this scope
    5 |         ll i,j;
      |         ^~
a.cc:8:9: error: 'j' was not declared in this scope
    8 |         j=0;
      |         ^
a.cc:9:13: error: 'i' was not declared in this scope
    9 |         for(i=0;i<s.length();i++)
      |             ^
Language: C++

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

Compiler output:
a.cc:1:15: warning: extra tokens at end of #include directive
    1 | #include<bits>/stdc++.h
      |               ^
a.cc:1:9: fatal error: bits: No such file or directory
    1 | #include<bits>/stdc++.h
      |         ^~~~~~
compilation terminated.
Language: C++

#include<bits>/stdc++.h
using namespace std ;
int main()
{
	ll i,j;
	string s;
	cin>>s;
	j=0;
	for(i=0;i<s.length();i++)
	{
		if(s[i]=='7')
		{
			cout<<"Yes"<<endl;
			j=1;
			break;
		}
	}
	if(j==0)
	{
		cout<<"No"<<endl;
	}
}

Compiler output:
a.cc:1:15: warning: extra tokens at end of #include directive
    1 | #include<bits>/stdc++.h
      |               ^
a.cc:1:9: fatal error: bits: No such file or directory
    1 | #include<bits>/stdc++.h
      |         ^~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>

using namespace std;

int main() {

	string s;

	cin >> s;

	cout << (s[0]=='7' || s[1]=='7' || s[2]=='7' ? "Yes" : "No")  << endl;

	return 0;
}

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

#include <stdio.h>

int main(){
  unsigned int N=k=0;
  scanf ("%d",&N);
  for(int a=1 , a<=N , a++ ){
    if(a%3!=0&&a%5!=0) k=k+a;
  };
  printf("%u",k);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:18: error: 'k' undeclared (first use in this function)
    4 |   unsigned int N=k=0;
      |                  ^
main.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    6 |   for(int a=1 , a<=N , a++ ){
      |                  ^~
main.c:9:17: error: expected ')' before ';' token
    9 |   printf("%u",k);
      |                 ^
      |                 )
main.c:6:6: note: to match this '('
    6 |   for(int a=1 , a<=N , a++ ){
      |      ^
main.c:11:1: error: expected expression before '}' token
   11 | }
      | ^
Language: C

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


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

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

#include <stdio.h>

int main(){
  int N;
  scanf(%d,&N);
  for(int a=1,a<=N,a++){
    unsigned int k;
    if(a%3==0||a/5==0) k=k+a;
  };
  printf(%d,k);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected expression before '%' token
    5 |   scanf(%d,&N);
      |         ^
main.c:6:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    6 |   for(int a=1,a<=N,a++){
      |                ^~
main.c:10:10: error: expected expression before '%' token
   10 |   printf(%d,k);
      |          ^
main.c:10:15: error: expected ')' before ';' token
   10 |   printf(%d,k);
      |               ^
      |               )
main.c:6:6: note: to match this '('
    6 |   for(int a=1,a<=N,a++){
      |      ^
main.c:12:1: error: expected expression before '}' token
   12 | }
      | ^
Language: C

print('Yes' if '7' in input() else 'No')

Compiler output:
main.c:1:7: warning: multi-character character constant [-Wmultichar]
    1 | print('Yes' if '7' in input() else 'No')
      |       ^~~~~
main.c:1:7: error: expected declaration specifiers or '...' before '\x596573'
main.c:1:36: warning: multi-character character constant [-Wmultichar]
    1 | print('Yes' if '7' in input() else 'No')
      |                                    ^~~~
Language: C

    #include <bits/stdc++.h>
    #define MAX 100007
     
    #define REP(i, N) for(int (i)=0; (i) < (N); (i)++)
    #define PER(i, N) for(int (i)=(N)-1; (i) >= 0; (i)--)
     
    using namespace std;
    typedef long long ll;
    typedef pair<ll, int> pii;
     
    int main(){
        
        string s; cin >> s;
     
        REP(i, s.size()){
            if(s[i] == '7') {
                cout << "Yes\n";
                return 0;
            }
        }
        cout << "No\n";
        return 0;
    }

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

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

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

  string N;
  cin >> N;
  for(int i = 0; i < 3; i++){
    if(N[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.