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

#pragma GCC optimize(3, "Ofast", "inline")
#include <bits/stdc++.h>
#if __cplusplus >= 201103L
#include <chrono>
using namespace std::chrono;
#endif
using namespace std;
#define ll long long
#define ull unsigned long long
#define pii pair<int, int>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define CASET int ___T; scanf("%d", &___T); for(int cs=1;cs<=___T;cs++)
#ifdef LOCAL
#define prln(x) (cout << #x << ' ' << x << endl)
#define pr(x) (cout << #x << ' ' << x << ' ' )
#define prv(x) (cout << x << ' ')
#else
#define prln(x) 
#define pr(x)
#define prv(x)
#endif
#define clr(x) memset((x), 0, sizeof((x)))
#define clr1(x) memset((x), -1, sizeof((x)))
#define endl "\n"
#define pi acos(-1)
#define rep(i, st, ed) for (int i = (st); i <= (ed); ++i)
#define rep0(i, st, ed) for (int i = (st); i < (ed); ++i)
#define per0(i, st, ed) for (int i = (st); i > ed; --i)
#define per(i, st, ed) for (int i = (st); i >= ed; --i)
#define chmin(a, b) (a = a > b ? b : a)
#define chmax(a, b) (a = a < b ? b : a)
template<class T> void _sf(T &x) {cin >> x;}
void _sf(int &x) {scanf("%d", &x);}
void _sf(ll &x) {scanf("%lld", &x);}
void _sf(double &x) {scanf("%lf", &x);}
void _sf(char &x) {scanf(" %c", &x);}
void _sf(char *x) {scanf("%s", x);}
void sf() {}
template <class T, class...U> void sf(T & head, U&... tail) { _sf(head); sf(tail...);}
template<class T> void _out(const T &x) { cout << x; }
void _out(const int &x) { printf("%d", x); }
void _out(const ll &x) { printf("%lld", x); }
void _out(const double &x) { printf("%.16f", x); }
void _out(const char &x) { putchar(x); }
void _out(const char *x) { printf("%s", x); }
template<class T,class U> void _out(const pair<T,U> &x) {_out(x.F); putchar(' '); _out(x.S);}
template<class T> void _out(const vector<T> &x) { for (auto i = x.begin(); i != x.end(); _out(*i++)) if (i != x.cbegin()) putchar(' '); }
void out() {}
template<class T, class... U> void out(const T &head, const U &... tail) { _out(head); putchar(sizeof...(tail) ? ' ' : '\n'); out(tail...); }
const int mod = 1e9 + 7;
const int INF = 0x3f3f3f3f;

int read() {
    int x = 0, f = 1;
    char ch = getchar();
    while (ch < '0' || ch > '9') {
        if (ch == '-') f = -1;
        ch = getchar();
    }
    while (ch >= '0' && ch <= '9') {
        x = x * 10 + ch - '0';
        ch = getchar();
    }
    return x * f;
}


int main(){
    #ifdef LOCAL
        freopen("in.txt", "r", stdin);
        freopen("out.txt", "w", stdout);
    #endif
    string s;
    sf(s);
    bool f = false;
    for (auto ele : s) {
        if (ele == '7') {
            f = true;
            break;
        }
    }
    if (f) puts("Yes");
    else puts("No");
    return 0;
}

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

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

int main() {
	lint n=0;
	lint digit=0;
	int flag=0;
	cin>>n;
	digit=to_string(n).length()
    for(int i=0;i<digit;i++)
    {
    	n=n%pow(10,(i+1));
    	if(n==7)
    	{
    		flag=1;
    	}
    }
    if(flag==1)
    {
    	cout<<"Yes"<<endl;
    }
    else
    {
    	cout<<"No"<<endl;
    }
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:36: error: expected ';' before 'for'
   10 |         digit=to_string(n).length()
      |                                    ^
      |                                    ;
   11 |     for(int i=0;i<digit;i++)
      |     ~~~                             
a.cc:11:17: error: 'i' was not declared in this scope
   11 |     for(int i=0;i<digit;i++)
      |                 ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,y=0;
    cin>>a;
    for(int i=0;i<3;i++)
    {
        int n;
        n=a%10;
        if(n==7)
            y=1;
    }
    if(y)
        printf("Yes");
    else
        printf("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() {
  string N;
  cin >> N;

  int t=0;
  for(int i=0;N[i]!='\0';i++){
    if(N[i]==7){
      t=1;
    }
    else{
      t=t;
    }
  }
  if(t==0){
    cout << "NO" << endl;
  }
  else{
    cout << "YES" << endl;
  }
}

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

#include <bits/stdc++.h>
typedef long long int ll;
#define MOD 1000000007
#define MAXN 200001
#define f(i,a,b) for(ll i=(ll)(a);i<(ll)(b);i++)
#define rf(i,a,b) for(ll i=(ll)(a);i>=(ll)(b);i--)
using namespace std;
 
int main() {
    string s;
    cin >> s;
    ll y=0;
    f(i,0,s.size()){
        if(s[i]=='7'){
          	y=1;
            break;
        }
    }
    if(y==0){
        cout << "No";
    }else{
      	cout<<"Yes";
}


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

#include <iostream>
#include <stdio.h>
 using namespace std;
int main(){
  int x;
  cin >> x;
  if(x%10==7)cout << "Yes";
  else if(((int)(x/10))/%10==7) cout << "Yes";
  else if(((int)(x/100))/%10==7) cout << "Yes";
  else cout << "No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: expected primary-expression before '%' token
    8 |   else if(((int)(x/10))/%10==7) cout << "Yes";
      |                         ^
a.cc:9:26: error: expected primary-expression before '%' token
    9 |   else if(((int)(x/100))/%10==7) cout << "Yes";
      |                          ^
Language: C

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

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

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++)
 
 
int main(){
  string s;
  cin>>s;
  int n=s.size();
  rep(i,n){
    if(s[i]=='7'){
      cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"<<endl;
}

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

#include<iostream>
using namespace std;

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


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

#include <stdio.h>
#include <iostream>

using namespace std;
 
int N;
int main() {
  	cin >> N;
    if(N/100 == 7 || N%100/10 == 7 || N%10 == 7){
    	cout << "Yes\n";
    }else{
    	cout << "No\n";
    }
    return 0;
}

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

#include <iostream>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;

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

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

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

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

#include<bits/stdc++.h>
#define int long long
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
using namespace std;	
		


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





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

import java.utils.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    int N = sc.nextInt();
    long sum = 0;
    
    for(int i = 1; i <= N; i++){
      if(i%3 == 0)
        continue;
      if(i%5 == 0)
        continue;
      sum += i;
    }
    System.out.println(sum);
  }
}

Compiler output:
Main.java:1: error: package java.utils does not exist
import java.utils.*;
^
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: C++

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incllude; did you mean #include?
    1 | #incllude<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>n;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incllude<bits/stdc++.h>
a.cc:8:6: error: 'cout' was not declared in this scope
    8 |      cout<<"Yes";
      |      ^~~~
a.cc:8:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:3: error: 'cout' was not declared in this scope
   13 |   cout<<"No";
      |   ^~~~
a.cc:13:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

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

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

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

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

#include <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:
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;
  long long ans=0;
  cin>>n;
  for(int i=1;i<=n;i++){
    if(i%3==0||i%5==0)
    {
    }
  	else
    {
      sum+=i;
    }
  }
  cout<<sum<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:7: error: 'sum' was not declared in this scope
   16 |       sum+=i;
      |       ^~~
a.cc:19:9: error: 'sum' was not declared in this scope
   19 |   cout<<sum<<endl;
      |         ^~~
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:3: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | s=input()
      |   ^~~~~
main.c:1:3: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if '7' in s:
      | ^~
main.c:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
Language: C

/* ***********************************************
Author        :taciturnity
Created Time  :2020/2/21 8:23:51
File Name     :TEST.cpp
************************************************ */

#include <iostream>
#include <vector>
#include <queue>
#include <cstdio>
#include <map>
#include <set>
#include <stack>
#include <string>
#include <cmath>
#include <bitset>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <unordered_map>
#define ll long long
#define INF 0x3f3f3f3f
#define rep(i,x,y) for(int i = x;i <= y;++i)
#define fori(i,x,y) for(int i = x;i >= y; -- i)
#define bug puts("--------------")
#define out(x) cout<<x<<'\n';
inline char gc(){char op[2];scanf("%s",op);return op[0];}
const int N =5e5+10;
const double eps = 0.00000001;
const ll mod = 1e9 ;
using namespace std;
ll read()
{
    ll x=0,f=1;char ch=getchar();
    while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
    while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
    return x*f;
}
int main(){
    string s;
    cin >> s;
    if(s.find('7')!=string::npos) puts("Yes");
    else puts("No");
}

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

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

#define  BeatMeScanf    ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define  tc(x)          int x; cin >> x; while(x--)
#define  ll             long long
#define  vi             vector<int>
#define  pii            pair<int,int>
#define  mii            map<int,int>
#define  inf            1<<28
#define  mem(x,y)       memset(x, y, sizeof(x))
#define  ps(x,y)        fixed<<setprecision(y)<<x
#define  show(val)      cout<< #val << " -> " << val << endl
#define  Case           cout<< "Case "<< ++cs << ": "
#define  all(v)         (v).begin(), (v).end()
#define  rall(v)        (v).rbegin(), (v).rend()
#define  mod            1000000007
#define MAX             1000


int main()
{
    BeatMeScanf;

    int n;
    cin >> n;
    bool flag = 0;

    while (n)
    {
        int x = n%10;
        if(x == 7)
        {
            flag = 1;
            break;
        }
        n /= 10;
    }

    if(flag == 1) 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

#include <iostream>

using ll = long long;
using ull = unsigned long long;

using namespace std;

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

    string s;
    cin>>s;

    if(s[0] == '7' or s[1] == '7' or s[2] == '7')
        cout<<"Yes\n";
    else
        cout<<"No\n";

    return 0;
}


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

//的場梨沙★担当
//結城晴★副担当
//日野茜★副担当
#include <vector>
#include <list>
#include <map>
#include <climits>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string.h>
#include <string>
#include <cstring>
#include <ctime>
#include <queue>
#include <random>
#include <cctype>
#include <complex>
#include <regex>
#include <unordered_map>
#include <string>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <iostream>
#include <stdio.h>



using namespace std;

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

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


}


Compiler output:
main.c:4:10: fatal error: vector: No such file or directory
    4 | #include <vector>
      |          ^~~~~~~~
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:
      | ^~
main.c:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  bool ok = 1;
  while(n){
    if(n%10 == 7)ok&=0;
    n/=10;}
  if(ok)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

/*author @sushil*/
#include<bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define sushil ios_base::sync_with_stdio(false);cin.tie(NULL);
#define test() long long t;cin>>t;while(t--)
using namespace std;
int main()
{
  string s;
  cin>>s;
  if(s[0]=='7'||s[1]=='7'||s[2]=='7')
  cout<<"Yes";
  else
  cout<<"No";
}


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

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

int main(){
	int n;
	
	scanf("%d",&n);
	
	if(n<117||n>=1000){
		printf("No");
	}else{
		if((n/100==(n/10)%10)&&n%10==7){
			printf("Yes");
		}else{
			printf("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 <iostream>
#include <string>
using namespace std;
 
int main() {
  int a;
  cin >> a;
  string str = to_string(a);
  if(str.at(0) == '7' || str.at(1) == '7' || str.at(2) == '7'){
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;
    cin>>s;
    if (s.find('7') !=string::npos) {
         cout << "Yes";
     }
	else
	cout<<"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++

inlude<bits/stdc++.h>
using namespace std;
#define Endl '\n'
typedef long long int lli;
typedef pair<int, int> ii;
void solve();
int main(int argc, char const *argv[]){
 	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
  solve();
}
void solve(){
  int n;
  cin>>n;
  if(n%10 == 7 || n%100 == 7 ||n%1000 == 7){
    cout<<"YES"<<Endl;
  }else{
    cout<<"NO"<<Endl;
  }
}

Compiler output:
a.cc:1:1: error: 'inlude' does not name a type; did you mean 'inline'?
    1 | inlude<bits/stdc++.h>
      | ^~~~~~
      | inline
a.cc:5:9: error: 'pair' does not name a type
    5 | typedef pair<int, int> ii;
      |         ^~~~
a.cc: In function 'int main(int, const char**)':
a.cc:8:9: error: 'ios_base' has not been declared
    8 |         ios_base::sync_with_stdio(false);
      |         ^~~~~~~~
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin.tie(NULL);
      |         ^~~
a.cc:9:17: error: 'NULL' was not declared in this scope
    9 |         cin.tie(NULL);
      |                 ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | inlude<bits/stdc++.h>
a.cc: In function 'void solve()':
a.cc:14:3: error: 'cin' was not declared in this scope
   14 |   cin>>n;
      |   ^~~
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout<<"YES"<<Endl;
      |     ^~~~
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<"NO"<<Endl;
      |     ^~~~
Language: C

#include<iostream>
#define int long long

using namespace std;

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


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

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

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

int n;
cin>>n;

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


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

#include <bits/stdc++.h>
#include <ext/pb_ds/detail/standard_policies.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long int ll;
typedef unsigned long long int ull;
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> o_set; 

#define     int                 ll
#define     pb                  push_back
#define     mp                  make_pair
#define     xx                  first
#define     yy                  second    
#define     all(a)              a.begin(),a.end()
#define     vi                  vector<int>
#define     vpi                 vector<pii>
#define     pii                 pair<int, int>
#define     present(DT, val)    (DT.find(val) != DT.end()) //for set and map
#define     cpresent(DT, val)   (find(all(DT),val) != DT.end()) //vectors
#define     input               "/home/pollution/Desktop/WorkSpace/C++/Files/input.txt"
#define     output              "/home/pollution/Desktop/WorkSpace/C++/Files/output1.txt"
#define     error               "/home/pollution/Desktop/WorkSpace/C++/Files/error.txt"
#define     IO()                ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define     INF                 2e18
#define     MOD                 1000000007
#define     clr(x)              memset(x, 0, sizeof(x))
#define     init(x, a)          memset(x, a, sizeof(x))
#define     out(a)              for (auto i: a) cout<<i<<' '; cout<<'\n'
#define     cpy(a,b)            memcpy(a,b,sizeof(b))
#define     is(a)               to_string(a)
#define     ci(a,c)             a-c
#define     debug(i)            cout<<"point :"<<i<<'\n';
#define     setd(val,n)         cout<<fixed<<setprecision(n)<<val<<'\n'

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

signed main() { 
    IO();
    
    int t=1;
    // cin>>t;
    while(t--) 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 <iostream>
#define rep(i,a,b) for(int i=a; i< (int)(b); ++i)
#define ALL(x) (x).begin(),(x).end()
#define rALL(x) (x).rbegin(),(x).rend()
typedef long double ld;
using ll=long long;
using namespace std;
const auto mod=1e9+7;


int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  
  int n; cin >> n;
  string ans="No";
  while(n>0){
  	int k = n%10;
  	if(k==7) ans="Yes";
  	n/=10;
  }
  cout << ans << endl;
 }

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

#define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i,N) for(int i = 0;i < (int)(N);i++)
int main(){
  int n;
  cin>>n;
  int x=n%10;
  int y=n/100%10;
    int z=n/10%10;
  string ans="No";
  if(x==7||y==7||z==7){
    ans="Yes";
  }
  cout<<ans<<endl;
}


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<iostream >
#include<algorithm>
#include<string.h>
using namespace std;
int main() 
  { 
  string s;
  cin>>s;
  int c=0;
  for(int i=0;i<s.length();i++)
    { 
    if(s[i]=='7')
      c++;
    }
  if(c>=1)
    cout<<"Yes"<<endl;
  else 
    cout<<"No"<<endl;
  return 0;
  }

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

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

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

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

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

int main() {
  int N;
  cin >> N;
  if (N%10 == 7 || N/10-N/100 == 7 || N/100 == 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;
 
typedef long long int ll;
typedef pair<ll,ll> P;
 
int main(){
    int n;
    cin>>n;
    int a,b,c;
    a=n%10;
    n/=10;
    b=n%10;
    n/=10;
    c=n%10;
    if(a==7||b==7||c==7){
        cout<<"Yes";
    }else{
        cout<<"No";
    }
 
    return 0;
}

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

#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(N: int):
    strN = str(N)
    for i in range(3):
        if strN[i] == "7":
            print(YES)
            return
        
    print(NO)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    solve(N)

if __name__ == '__main__':
    main()


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/env python3
      |  ^
main.c:2:1: error: unknown type name 'import'
    2 | import sys
      | ^~~~~~
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YES'
    4 | YES = "Yes"  # type: str
      | ^~~
main.c:4:14: error: stray '#' in program
    4 | YES = "Yes"  # type: str
      |              ^
main.c:5:12: error: stray '#' in program
    5 | NO = "No"  # type: str
      |            ^
main.c:19:3: error: invalid preprocessing directive #Generated
   19 | # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
      |   ^~~~~~~~~
main.c:26:28: error: stray '#' in program
   26 |     N = int(next(tokens))  # type: int
      |                            ^
main.c:29:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   29 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C

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

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

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

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;
  cin>>a;
  int b=a/100;
  int c=a%100/10;
  int d=a%10;
  
 if(b!=7 && c!=7 && d!=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 <sstream>
//#include <fstream>
//#include <deque>
//#include <queue>
//#include <stack>
//#include <set>
//#include <list>
//#include <map>
//#include <unordered_map>
//#include <functional>
//#include <utility>
//#include <bitset>
//#include <cstdlib>
//#include <ctime>
//#include <cstdio>


#include <stdlib.h>
#include <iostream>
//#include <chrono> //clock
#include <vector>
#include <string>
//#include <iomanip>  //setprecision function
//#include <cmath>	//math
//#include <cstdio>
//#include <vector>	//vector array
//#include <algorithm>	//STL algorithm
//#include <set> //STL library set
//#include <sstream> // for stringstream


using namespace std;
//using namespace std::chrono; 


int main() {
	//stringstream ss;
	//ss<<"akhil";
	//cout<<ss.str()<<endl;
	//cout<<setprecision(16);
	ios::sync_with_stdio(0);
	cin.tie(0);
	
	
	 // TESTCASE KO DEKH KA BHAUT SARA CONDITION GENERATE MAT KRO 
	 // PAPER PD CONFIRM HO JAO THORA JADA TIME HI KYU NA LGA
	
	ll N;
	cin>>N;
	while(N!=0){
		if(N%10==7) break;
		N=N/10;
	}
	
	if(N%10==7) cout<<"YES"<<endl;
	else cout<<"NO"<<endl;
	
	
 
	return 0;
}





























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

#include<iostream>
using namespace std;
int main()
{
    
    int n,x,a;
    
    cin>>n;
    
    
    for(a=1;a<=3;a++)
    {
        
        x=n%10;
        
        if(x==7)
        {
            
            
            cout<<"Yes"; break;
            
            
        }
        
        n=n/10;
        
        
    }
    
    
    if(a==4)
    {
        
        cout<<"No";
    
    }
    
    
}


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

#include <bits/stdc++.h>
using namespace std;
 
 
void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print(unsigned long x) {cerr << x;}
void __print(unsigned long long x) {cerr << x;}
void __print(float x) {cerr << x;}
void __print(double x) {cerr << x;}
void __print(long double x) {cerr << x;}
void __print(char x) {cerr << '\'' << x << '\'';}
void __print(const char *x) {cerr << '\"' << x << '\"';}
void __print(const string &x) {cerr << '\"' << x << '\"';}
void __print(bool x) {cerr << (x ? "true" : "false");}
 
template<typename T, typename V>
void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ','; __print(x.second); cerr << '}';}
template<typename T>
void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i: x) cerr << (f++ ? "," : ""), __print(i); cerr << "}";}
void _print() {cerr << "]\n";}
template <typename T, typename... V>
void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}
#ifndef ONLINE_JUDGE
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define debug(x...)
#endif
 
#define rep(i, n)    for(int i = 0; i < (n); ++i)
#define repA(i, a, n)  for(int i = a; i <= (n); ++i)
#define repD(i, a, n)  for(int i = a; i >= (n); --i)
#define trav(a, x) for(auto& a : x)
#define all(x) x.begin(), x.end()
#define sz(x) (int)(x).size()
#define fill(a)  memset(a, 0, sizeof (a))
#define fst first
#define snd second
#define mp make_pair
#define pb push_back
typedef long double ld;
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;

void pre(){


}
 
void solve(){ 
}

int main() {
	cin.sync_with_stdio(0); cin.tie(0);
	cin.exceptions(cin.failbit);
	pre();

    string s;cin>>s;
    int fg=0;
    rep(i,sz(s))if(s[i]=='7')fg=1;
    if(fg) cout<<"Yes\n";
    else 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 <bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
 
typedef long long ll;
#define db(x) cerr << #x << ": " << x << '\n';
#define read(a) int a; cin >> a;
#define readb(a, b) int a, b; cin >> a >> b;
#define readc(a, b, c) int a, b, c; cin >> a >> b >> c;
#define readarr(a, n) int a[(n) + 1] = {}; FOR(i, 1, (n)) {cin >> a[i];}
#define readmat(a, n, m) int a[n + 1][m + 1] = {}; FOR(i, 1, n) {FOR(j, 1, m) cin >> a[i][j];}
 
#define print(a) cout << a << endl;
#define printarr(a, n) FOR (i, 1, n) cout << a[i] << " "; cout << endl;
#define printv(v) for (int i: v) cout << i << " "; cout << endl;
#define printmat(a, n, m) FOR (i, 1, n) {FOR (j, 1, m) cout << a[i][j] << " "; cout << endl;} cout << endl;
#define all(v) v.begin(), v.end()
#define sz(v) (int)(v.size())
#define rz(v, n) v.resize((n) + 1);
#define pb push_back
#define fi first
#define se second
#define vi vector <int>
#define pi pair <int, int>
#define vpi vector <pi>
#define vvi vector <vi>
#define FOR(i, a, b) for (int i = (a); i <= (b); i++)
#define FORD(i, a, b) for (int i = (a); i >= (b); i--)
const ll inf = 1e18;
const ll mod = 1e9 + 7;
const ll N = 2e4 + 1;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
 
signed main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	
	string s;
	cin >> s;
    FOR (i, 0, 2)
        if (s[i] == '7') {cout << "Yes"; return 0;}
    cout << "No";
        
}














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

#define ll long long
#define rep(i,n) for(ll i=0;i<n;i++)
#define rep2(i,a,b) for(ll i=a;i<=b;++i)
#define rep3(i,a,b) for(ll i=a;i>=b;i--)
#include <iostream>
#include <vector>
#include <string>
#include <stdlib.h>
#include <algorithm>
#include <functional>
 
using namespace std;
 
int main(void) {
    string n;
    cin >> n;
    if(n[0] == '7' or n[1] == '7' or n[2] == '7'){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}

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

#include <iostream>
using namespace std;
#include <string>
#include <vector>
#include <algorithm>
#include <map>
typedef long long ll;
#include <cmath>


int main(int argc, char *argv[])
{
	int n;
	cin >>n;
	
	string s="No";

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



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

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

int gcd(int a, int b)
{
   if (a%b == 0)
   {
       return(b);
   }
   else
   {
       return(gcd(b, a%b));
   }
}
int main() {
  long int a,b=0;cin>>a;
  rep(i,a++){
    rep(o,a++){
      rep(o,a++)b+=gcd(a,gcd(b,c));
    }
  }
  cout<<b;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:32: error: 'c' was not declared in this scope
   21 |       rep(o,a++)b+=gcd(a,gcd(b,c));
      |                                ^
Language: C

using namespace std;
#define rep(i,c) for (int i = 0; i < (int)c; i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using P = pair<int,int>;
const int inf = 1000000000; //10^9
const ll MOD = 1e9 + 7;
//加算代入演算子は+=！！！！！
//int 2^31 10^9まで
int main()
{
    string n;
    cin >> n;
    bool ans = false;
    rep(i, 3) {
        if(n[i] == '7') {
            ans = true;
        }
    }
    if (ans) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c:4:1: error: unknown type name 'using'
    4 | using ll = long long;
      | ^~~~~
main.c:4:12: error: expected expression before 'long'
    4 | using ll = long long;
      |            ^~~~
main.c:5:1: error: unknown type name 'using'
    5 | using P = pair<int,int>;
      | ^~~~~
main.c:5:11: error: 'pair' undeclared here (not in a function)
    5 | using P = pair<int,int>;
      |           ^~~~
main.c:5:16: error: expected expression before 'int'
    5 | using P = pair<int,int>;
      |                ^~~
main.c:7:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MOD'
    7 | const ll MOD = 1e9 + 7;
      |          ^~~
main.c: In function 'main':
main.c:12:5: error: unknown type name 'string'
   12 |     string n;
      |     ^~~~~~
main.c:13:5: error: 'cin' undeclared (first use in this function)
   13 |     cin >> n;
      |     ^~~
main.c:13:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:5: error: unknown type name 'bool'
   14 |     bool ans = false;
      |     ^~~~
main.c:1:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
  +++ |+#include <stdbool.h>
    1 | using namespace std;
main.c:14:16: error: 'false' undeclared (first use in this function)
   14 |     bool ans = false;
      |                ^~~~~
main.c:14:16: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:16:13: error: subscripted value is neither array nor pointer nor vector
   16 |         if(n[i] == '7') {
      |             ^
main.c:17:19: error: 'true' undeclared (first use in this function)
   17 |             ans = true;
      |                   ^~~~
main.c:17:19: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:20:14: error: 'cout' undeclared (first use in this function)
   20 |     if (ans) cout << "Yes" << endl;
      |              ^~~~
main.c:20:31: error: 'endl' undeclared (first use in this function)
   20 |     if (ans) cout << "Yes" << endl;
      |                               ^~~~
Language: C

def main():
    n = input()

    for s in n:
        if s == '7':
            print('Yes')
            return
    print('No') 


if __name__ == '__main__':
    main()


Compiler output:
main.c:1:1: error: unknown type name 'def'
    1 | def main():
      | ^~~
main.c: In function 'main':
main.c:1:11: error: expected declaration specifiers before ':' token
    1 | def main():
      |           ^
main.c:6:19: warning: multi-character character constant [-Wmultichar]
    6 |             print('Yes')
      |                   ^~~~~
main.c:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('No')
      |           ^~~~
main.c:11:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   11 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C

/*
 * @Author: Kaizyn
 * @Date: 2020-04-12 20:23:56
 * @LastEditTime: 2020-04-12 20:24:43
 */
#include <bits/stdc++.h>

// #define DEBUG

using namespace std;

const int N = 100;
const int MOD = 998244353;
const int INF = 0x3f3f3f3f;
const double eps = 1e-7;
const double PI = acos(-1);
typedef pair<int, int> pii;

int n;

inline void solve()
{
    cin >> n;
    if (n%10 == 7 || n/10%10 == 7 || n/100 == 7) cout << "YES";
    else cout << "NO";
}

signed main()
{
    ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
    int testcase = 1;
    // cin >> testcase;
    for (int i = 1; i <= testcase; ++i) {
        solve();
    }
    return 0;
}

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

#include<iostream>
using namespace std;
int main()
{
int N;
  cin >> N;
  int a, b, c;
  c = N%10;
  b = (N-c)/10%10;
  a = (N-10*b-c)/100;
  if(a == 7){
  cout << "Yes" << endl;
  }
  else if(b == 7){
  cout << "Yes" << endl;
  }
  else if(c == 7){
  cout << "Yes" << endl;
  }
  else{
  cout << "No" << endl;
  }
return 0;
}




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

n = int(input())

if int(n / 100) == 7 or int((n % 100) / 10) == 7 or 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 = 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:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Yes')
      |           ^~~~~
main.c:5:12: warning: multi-character character constant [-Wmultichar]
    5 | else:print('No')
      |            ^~~~
Language: C

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

int main(){
  int n;
  cin >> n;
  bool frag=false;
  if((n/100)==7){
    frag=true;
  }else if(((n/10)%10)==7){
    frag=true;
  }else if((n%10)==7){
    frag=true;
  }
  if(frag==true){
    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>
using namespace std;
int main()
{
	string a;
	int j=0;
	cin>>a;
	int p=a.size();
	for(int i=1;i<=p;i++)
	{
		if(a[i]-'0'==7)
		{
			cout<<"Yes";
			j=1;
			break;
		}
	}
	if(j==0)
	{
		cout<<"No";
	}
	return 0;
}


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

#include <bits/stdc++.h>

using ll = long long;
using ull = unsigned long long;

using namespace std;

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

    string s;
    cin>>s;

    if(s[0] == '7' or s[1] == '7' or s[2] == '7')
        cout<<"Yes\n";
    else
        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<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  int a,b,c;
  a=n%10;
  b=((n-a)%100)/10;
  c=((n-a-b)%1000)/100;
  if(a==7||b==7||c==7){
cout<<"Yes";
  }
else{
cout<<"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;
typedef long long ll;
typedef vector<long long> vll;
#define inf 999999
#define EPS (1e-7)
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(a) a.begin(), a.end()
#define PB push_back
const ll MOD = 1e9 + 7;
const int MAX = 10000000;

int main(){
    int N;
    cin >> N;
    int a,b,c;
    a = N % 10;
    b = (N-a) / 10 % 10;
    c = (N - 10*b -a) / 100;
    // if(N.at(0) != '7' && N.at(1) != '7' && N.at(2) != '7'){
    //     cout << "No" << endl;
    // }else{
    //     cout << "Yes" << endl;
    // }
    if(a != 7 && b != 7 && c != 7){
        cout << "No" << endl;
    }else{
        cout << "Yes" << endl;
    }
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 's' was not declared in this scope
    6 |   d1 = s % 10;
      |        ^
a.cc:9:16: error: expected ')' before '{' token
    9 |   if ((d1 == 7) {
      |      ~         ^~
      |                )
a.cc:21:1: error: expected primary-expression before '}' token
   21 | }
      | ^
Language: C

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <iterator>
#include <algorithm>
#include <map>
#include <string.h>
#include <vector>
#include <cmath>
#include <deque>
#include <iomanip>

using namespace std;
#define range(a) a.begin(), a.end()
#define rep(i, c) for(int i = 0; i < (int)c; i++)
typedef long long ll;

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


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

  char a[3] = {0};
  cin >> a;
  rep(i, 3){
    if(a[i] == '7'){
      cout << YES << endl;
      return 0;
    }
  }
  cout << NO << endl;

  return 0;
}


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