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

import std.algorithm;
import std.array;
import std.conv;
import std.stdio;

void main()
{
    string n;
    
    n = readln;
    
    if (
        n[0..1] == "7"
        || n[1..2] == "7"
        || n[2..3] == "7"
    ) {
        writeln("Yes");
    } else {
        writeln("No");
    }
}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import std.algorithm;
      | ^~~~~~
main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import std.algorithm;
      |           ^
main.c:2:1: error: unknown type name 'import'
    2 | import std.array;
      | ^~~~~~
main.c:2:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import std.array;
      |           ^
main.c:3:1: error: unknown type name 'import'
    3 | import std.conv;
      | ^~~~~~
main.c:3:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import std.conv;
      |           ^
main.c:4:1: error: unknown type name 'import'
    4 | import std.stdio;
      | ^~~~~~
main.c:4:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import std.stdio;
      |           ^
main.c: In function 'main':
main.c:8:5: error: unknown type name 'string'
    8 |     string n;
      |     ^~~~~~
main.c:10:9: error: 'readln' undeclared (first use in this function)
   10 |     n = readln;
      |         ^~~~~~
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:11: error: too many decimal points in number
   13 |         n[0..1] == "7"
      |           ^~~~
main.c:14:14: error: too many decimal points in number
   14 |         || n[1..2] == "7"
      |              ^~~~
main.c:15:14: error: too many decimal points in number
   15 |         || n[2..3] == "7"
      |              ^~~~
main.c:17:9: error: implicit declaration of function 'writeln' [-Wimplicit-function-declaration]
   17 |         writeln("Yes");
      |         ^~~~~~~
Language: C

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

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

inline long long read(){
    long long s = 0, w = 1;
    char ch = getchar();
    while (ch < '0' || ch > '9'){
        if (ch == '-') w = -1;
        ch = getchar();
    }
    while (ch >= '0' && ch <= '9'){
        s = s * 10 + ch - '0';
        ch = getchar();
    }
    return s * w;
}

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

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

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



int main() {
  
  int N,i=0;
  cin >> N;
  
  i = count(N.begin(),N.end(),'7');
  
  if(i != 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>

#include <algorithm>
using namespace std;
struct Fast {
    Fast() {
        cin.tie(0);
        ios::sync_with_stdio(false);
        cout << fixed << setprecision(20);
    }
} fast;

long long mod = 1000000007;

long long modpow(long long m, long long n) {
    if (n == 0) return 1;
    if (n % 2 == 0) {
        long long t = modpow(m, n / 2);
        return (t * t) % mod;
    } else {
        return (modpow(m, n - 1) * m) % mod;
    }
}

void yes() {
    cout << "Yes" << endl;
    exit(0);
}
void no() {
    cout << "No" << endl;
    exit(0);
}
#define REP(i, n) for (long long i = 0; i < (n); i++)
int main() {
    long long a, b, c;
    cin >> a;
    string s = to_string(a);
    for (int i = 0; i < s.size(); i++) {
        if (s[i] == '7') {
            yes();
            return 0;
        }
    }
    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<iostream>
using namespace std;
int main()
{
    ios::sync_with_stdio(0);
    int x;
	cin>>x;
	if(x%10==7||x/100==7||x/10%10==7) cout<<"Yes";
	else cout<<"No"; 
    return 0;
}


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

#include<iostream>

using namespace std;

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

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

#include <stdio.h>
int main(){
  
  char s[3];
  scanf("%s",&s);
  for(i=0;i<3,i++){
    if(s[i]==7){
      printf("Yes");
      break;
    }
  }
  printf("No");
  
 return 0; 
}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: 'i' undeclared (first use in this function)
    6 |   for(i=0;i<3,i++){
      |       ^
main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:18: error: expected ';' before ')' token
    6 |   for(i=0;i<3,i++){
      |                  ^
      |                  ;
Language: C

clude<stdio.h>
void main(){
	int n;
    scanf("%d",&n);
    int flag = 0,rem = 0;
    while(n!=0){
    rem = n%10;
    if(rem == 7){
    printf("YES");
    flag = 1;
    }
    n /=10;
    }
    if(flag == 0){
    printf("NO");
    }
    }
    

Compiler output:
main.c:1:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | clude<stdio.h>
      |      ^
Language: C

n=input()
if (n.count('7')) >= 1:
  print('Yes')
else:
  print('No')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n=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 'if'
    2 | if (n.count('7')) >= 1:
      | ^~
main.c:3:9: warning: multi-character character constant [-Wmultichar]
    3 |   print('Yes')
      |         ^~~~~
main.c:5:9: warning: multi-character character constant [-Wmultichar]
    5 |   print('No')
      |         ^~~~
Language: C

#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <iomanip>
#include <queue>
#include <deque>
#include <unordered_map>
#define rep(i,n) for(int i=0;i<n;i++)
#define repn(i,n) for(int i=1;i<=n;i++)
using namespace std;
typedef long long ll;

int N;

int main(){
    cin>>N;

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

    cout<<"No"<<endl;
}

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

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

int main() 
{
  int n;
  cin >> n;
  int flag =0;
  int i =2,k =100;
  while(n>0 )
  {
      int digit = n/k;
      if(digit  == 7 )
        {   flag = 1;
            break;
        }
      n = n%k;
      i--;
      k = k/10;

  }
if( flag == 1)
{
    cout << "Yes";
}  
else cout << "No";

}


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

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

bool rucky(int a){
  string s = atoi(a);
  for(int i=0;i<s.length();i++){
    if(s[i]=="7"){
      return true;
    }    
  }
  return false;
}

int main(void){
  int n;
  
  cin>>n;
  
  if(rucky(n)){
    cout<<"Yes";
  }
  else{
    cout<<"No";
  }
  
  return 0;
}


Compiler output:
a.cc: In function 'bool rucky(int)':
a.cc:5:19: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    5 |   string s = atoi(a);
      |                   ^
      |                   |
      |                   int
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:5:18: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    5 |   string s = atoi(a);
      |              ~~~~^~~
a.cc:7:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |     if(s[i]=="7"){
Language: C

#include <iostream>
using namespace std;

int main()
{
    char n[3];
    for (int i = 0; i < 3; i++)
        cin >> n[i];

    bool flag = false;
    for (int i = 0; i < 3; i++) {
        if (n[i] == '7')
            flag = true;
        else
            flag = false;
    }

    if (flag)
        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 <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
 
using namespace std;
int main()
{
  int N;
  int one7;
  int ten7;
  int hnd7;
  
  cin >> N;

    one7 = N % 10;
    ten7 = N % 100 - one7;
    hnd7 = N - ten7 - one7;

    if(one7 == 7){
        cout << "Yes";
    }
    else if(ten7 == 70){
        cout << "Yes";
    }
    else if(hnd7 == 700){
        cout << "Yes";
    }
    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 <bits/stdc++.h>
using namespace std;

int main() {
 int N;
  cin >> N;
  int A = 0;
  if(N[0] == 7)A++;
     if(N[1] == 7)A++;
        if(N[2] == 7)A++;
  if(A > 0){
    cout << "Yes" << << endl;
  }
else{
  cout << "No"  << endl;
}
}

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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define f(i,a,n) for(int i=a;i<n;i++)
#define ve vector
#define ss second 
#define ff first
#define pf pop_front
#define pob pop_back
#define psf push_front
#define res(x) cout<<x<<'\n'
#define read(t) ll t;cin>>t

int main(){
    ll n;
    cin>>n;
    bool aman=false;
    while(n>0){
       if(n%10==7){
           aman=true;
       }
       n=n/10;
    }
    if(aman){
        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 <bits/stdc++.h>
using namespace std;
int main(){
  int N,a,b,c;
  cin>>N>>;
  a=N/100;
  b=(N-a*100)/10;
  c=(N-a*100-b*10);
  if(a==7||B==7||c==7)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}


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

package main

import "fmt"

func main(){
	var N int
	var a, b, c int
	fmt.Scan(&N)

	tmp := N / 100
	a = tmp % 10

	tmp = N / 10
	b = tmp % 10

	c = N % 10
	
	// fmt.Println(a, b, c);
	if a == 7 || b == 7 || c == 7 {
		fmt.Println("Yes");
	}else{
		fmt.Println("No");
	}
}

Compiler output:
main.c:1:1: error: unknown type name 'package'
    1 | package main
      | ^~~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    3 | import "fmt"
      | ^~~~~~
Language: C

#include<iostream>
#include<string>

using namespace std;

int main() {
  string s;
  cin >> s;
  for (auto& e : s) {
    if (e == '7') {
      cout << "Yes" << endl;
      exit(0);
    }
  }
  cout << "No" << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
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: 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 ans=0;
 for(int i=0;i<=2;i++){
   if(N.at(i)==7){
     ans++;
   }
 }
  if(ans==0){
    cout<<"No"<<endl;
  }
  else{
    cout<<"Yes"<<endl;
  }
     
 


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |    if(N.at(i)==7){
      |         ^~
a.cc:17:4: error: expected '}' at end of input
   17 |   }
      |    ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C

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

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

  if(n%10==7 || (n/10)%10==7 || (n/100)%10==7) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;

  return 0;
}

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

import numpy as np
import math
# for AtCoder
# import fractions
from collections import deque 
from functools import reduce

# input = sys.stdin.readline

n = input()

if (n[0] == '7' or n[1] == '7' or n[2] == '7'):
    print('Yes')
else:
    print('No')

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import numpy as np
      | ^~~~~~
main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'as'
    1 | import numpy as np
      |              ^~
main.c:1:14: error: unknown type name 'as'
main.c:3:3: error: invalid preprocessing directive #for
    3 | # for AtCoder
      |   ^~~
main.c:4:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    4 | # import fractions
      |   ^~~~~~
main.c:4:10: error: #import expects "FILENAME" or <FILENAME>
    4 | # import fractions
      |          ^~~~~~~~~
main.c:8:3: error: invalid preprocessing directive #input
    8 | # input = sys.stdin.readline
      |   ^~~~~
main.c:13:11: warning: multi-character character constant [-Wmultichar]
   13 |     print('Yes')
      |           ^~~~~
main.c:15:11: warning: multi-character character constant [-Wmultichar]
   15 |     print('No')
      |           ^~~~
Language: C

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

int main(){
    string n;
    cin>>n;
    char h,j,i; 
    h=n.at(0);
    j=n.at(1);
    i=n.at(2);
    if(h=='7'||j=='7'||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.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()
{

        long int n;
        cin>>n;
        bool f = false;
        while(n){
            n=n%10;
            if(n==7){
                cout<<"Yes";
                f=true;
                break;
        }
        n/=10;
        }
        if(!f)
            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;
 
int main() {
    int N;
    string n;
    cin >> N;
 
    n = to_string(N);

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


  	return 0;
}

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

nw = str(input())
bool = "False"

for i in range(3):
    if nw[i] == str(7):
        bool = "True"

if bool == "False":
    print("No")
else:
    print("Yes")

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

#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>

typedef unsigned long long int uint64;
typedef long long int          int64;
 
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))

void get_N (int64 *n)
{
  int cnt;
  
  cnt = scanf("%lld", n);

  return;
}

void get_NK (int64 *n, int64 *k)
{
  int cnt;
  
  cnt = scanf("%lld %lld", n, k);

  return;
}

void get_N1234 (int64 *n1, int64 *n2, int64 *n3, int64 *n4)
{
  int cnt;

  if (n2 == NULL) {
    cnt = scanf("%lld", n1);
    return;
  }
  if (n3 == NULL) {
    cnt = scanf("%lld %lld", n1, n2);
    return;
  }
  if (n4 == NULL) {
    cnt = scanf("%lld %lld %lld", n1, n2, n3);
    return;
  }
  cnt = scanf("%lld %lld %lld %lld", n1, n2, n3, n4);
  return;
}

void omit_LF (void)
{
  char c;
  int  cnt;
  
  cnt = scanf("%c", &c);
  return;
}

char *get_S (int64 n)
{
  char *buf;
  int  i;
  int  cnt;

  buf = malloc((size_t)(n * sizeof(char)));
  if (buf == NULL) {
    return NULL;
  }

  cnt = scanf("%s", buf);

  return buf;
}

char *get_SN (int64 max, int64 *size)
{
  char *buf;
  int  i;
  int  n;
  int  cnt;

  buf = malloc((size_t)(max * sizeof(char)));
  if (buf == NULL) {
    return NULL;
  }

  cnt = scanf("%s", buf);

  n = strlen(buf);

  *size = n;
  
  return buf;
}

int64 *get_NSeq (int64 n)
{
  int64 *buf;
  int64 i;

  buf = malloc((size_t)(n * sizeof(int64)));
  for (i=0; i<n; i++) {
    get_N(&buf[i]);
  }

  return buf;
}

typedef struct _tmp_t {
  int64    a;
  int64    b;
} tmp_t;


int compare_a(const void *a, const void *b)
{
  tmp_t *x;
  tmp_t *y;

  x = (tmp_t *)a;
  y = (tmp_t *)b;

  if (x->a > y->a) return 1;
  if (x->a < y->a) return -1;

  return 0;
}

int compare_b(const void *a, const void *b)
{
  tmp_t *x;
  tmp_t *y;

  x = (tmp_t *)a;
  y = (tmp_t *)b;

  if (x->b > y->b) return 1;
  if (x->b < y->b) return -1;

  return 0;
}

void qsort_a (tmp_t *array, int size)
{
  qsort(array, size, sizeof(tmp_t), compare_a);
}

void qsort_b (tmp_t *array, int size)
{
  qsort(array, size, sizeof(tmp_t), compare_b);
}

int main()
{
  int64 N;
  int64 d1;
  int64 d10;
  int64 d100;

  str = get_N(&N);

  d1   = N%10;
  d10  = (N%100)/10;
  d100 = N/100;

  if ((d1   == 7) ||
      (d10  == 7) ||
      (d100 == 7)) {
    printf("Yes");
  } else {
    printf("No");
  }

  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:162:3: error: 'str' undeclared (first use in this function)
  162 |   str = get_N(&N);
      |   ^~~
main.c:162:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<iostream>
#include<cstring>
using namespace std;
char a[10];
bool ff=false;
int main(){
	cin>>a;
	for(int i=0;i<strlen(a);i++){
		if(a[i]=='7'){
			ff=true;
		}
	}
	if(ff){
		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>
using namespace std;

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

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

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

#include <iostream>
#include <algorithm>
#include <string>
#define flush fflush(stdout)
using namespace std;
typedef long long ll;


int main(void) {
    int i;
    string s;

    cin >> s;

    for (i = 0; i < 3; i++) {
        if (s[i] == '7') {
            cout << "Yes" << endl;
            return 0l
        }
    }
    cout << "No" << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:22: error: expected ';' before '}' token
   18 |             return 0l
      |                      ^
      |                      ;
   19 |         }
      |         ~
Language: C

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

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

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

#include <iostream>
using namespace std;

void Main()
{
    int n;
    cin >> n;
    if(n % 10 == 7){
        cout << "Yes" << endl;
        return;
    }
    if(n / 10 % 10 == 7){
        cout << "Yes" << endl;
        return;
    }
    if(n / 100 % 10 == 7){
        cout << "Yes" << endl;
        return;
    }
    cout << "No" << endl;
}

int main(int argc, char **argv)
{
    Main();
    return 0;
}


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

import java.util.Scanner;
public class Main{
    public static Scanner scan  = new Scanner(System.in);
    public static void main(String[]args){
        int n = nextInt();
        int n1,n2,n3;
        n1 = n%10;
        n2 = n%100-n1;
        n3 = n%1000-n2-n1;
        yesNo(n1==7||n2==70||n3==700);
    }



    public static int nextInt(){
        return Integer.parseInt(scan.next());
    }
    public static long nextLong(){
        return Long.parseLong(scan.next());
    }
    public static String next(){
        return scan.next();
    }
    public static double nextDouble(){
        return Double.parseDouble(scan.next());
    }
    public static float nextFloat(){
        return Float.parseFloat(scan.next());
    }

    //Yes or No
    public static void yesNo(boolean flag){
        if(flag) System.out.println("Yes");
        else System.out.println("No");
    }
    public static void print(Object a){
        System.out.println(a);
    }
}

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

#include <bits/stdc++.h>
using namespace std;
void init(){
    cin.tie(0);
    cin.sync_with_stdio(0);
}

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

 else     cout<<"No";












}


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

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

int main(){
    string 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;
using ll=long long;
int main()
{
    int n;cin >>n;
    bool flg=false;
    while(n>0){
        if(n%10==7)flg=true;
        n/=10;
    }
    if(flg)puts("Yes");
    else puts("No");
    return 0;
}


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

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

int main() {
  int N;
  cin >> N;
  int flag = false;
  while(N!=0) {
    if(N%10==7) flag = true;
    N /= 10;
  }
  cout << (flag ? "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<algorithm>//sort,二分探索,など
#include<bitset>//固定長bit集合
#include<cmath>//pow,logなど
#include<complex>//複素数
#include<deque>//両端アクセスのキュー
#include<functional>//sortのgreater
#include<iomanip>//setprecision(浮動小数点の出力の誤差)
#include<iostream>//入出力
#include<map>//map(辞書)
#include<numeric>//iota(整数列の生成),gcdとlcm(c++17)
#include<queue>//キュー
#include<set>//集合
#include<stack>//スタック
#include<string>//文字列
#include<unordered_map>//イテレータあるけど順序保持しないmap
#include<unordered_set>//イテレータあるけど順序保持しないset
#include<utility>//pair
#include<vector>//可変長配列
using namespace std;
typedef long long ll;

#define rep(i, n) for(int i = 0; i < (n); i++)

int main(){
int N;
bool flag = false;
cin>>N;
if(N%10 == 7)flag =true;
else if((N/10)%10==7)flag = true;
else if(N/100==7)flag = true;
if(flag)cout<<"Yes"<<endl;
else cout<<"No"<<endl;
    return 0;
}

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

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

int main() {
  int N;
  cin >> N;
  
  if (a == 7 || b == 7 || c == 7) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'a' was not declared in this scope
    8 |   if (a == 7 || b == 7 || c == 7) {
      |       ^
a.cc:8:17: error: 'b' was not declared in this scope
    8 |   if (a == 7 || b == 7 || c == 7) {
      |                 ^
a.cc:8:27: error: 'c' was not declared in this scope
    8 |   if (a == 7 || b == 7 || c == 7) {
      |                           ^
Language: C

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

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

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

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

int main() {
    int n;
    //vector<int> a(n);
    //for (int i  = 0; i < n; i++) cin >> a.at(i);
//
    //bool can = false;
    //for (int i = 0; i < n; i++) {
    //    if (a.at(i) == 7) can = true;
    //}
    //if (can) cout << "Yes" << endl;
    //else cout << "No" << endl;
    cin >> n;
    bool can = false;
    int a = n / 100;
    n %= 100;
    int b = n / 10;
    n %= 10;
    int c = n;
    //cout << a << b << c ;
    if (a == 7 || b == 7 || c == 7) cout << "Yes" << endl;
    else cout << "No" << endl;
}

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

//pragma
//#pragma GCC optimize("Ofast")
//#pragma GCC optimize("unroll-loops")

#include <bits/stdc++.h>

#define YOU using
#define DONT namespace
#define SAY std

YOU DONT SAY;

typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ll,int> pli;
typedef pair<int,ll> pil;
typedef vector<int> vi;
typedef vector<pii> vii;
typedef vector<pll> vll;

#define REPP(i,a,b,d) for(int i=a;i<=b;i+=d)
#define REP(i,a,b) REPP(i,a,b,1)
#define REVV(i,a,b,d) for(int i=a;i>=b;i-=d)
#define REV(i,a,b) REVV(i,a,b,1)

#define FOR(i,a) for(int i=0; i<a; i++)
#define FORD(i,a) for(int i=(int)a-1; i>=0; i--)

#define pb push_back
#define F first
#define S second

const int OO = 1e9;
const ll INF = 1e18;

const int irand(int lo,int hi){
	return ((double)rand()/(RAND_MAX + 1.0)) * (hi-lo+1) + lo;
}

const ll lrand(ll lo,ll hi){
	return ((double)rand()/(RAND_MAX + 1.0)) * (hi-lo+1) + lo;
}

#define getc getchar
template<typename T>
T getnum(){
	int sign = 1;
	T ret = 0;
	char c;

	do{
		c = getc();
	}while(c == ' ' || c == '\n');
	if(c == '-')sign = -1;
	else ret = c-'0';
	while(1){
		c = getc();
		if(c < '0' || c > '9')break;
		ret = 10*ret + c-'0';
	}
	return sign * ret;
}

inline void ini(int& x){
	x = getnum<int>();
}

inline void scani(int& x){
	scanf("%d",&x);
}

//end of macro

int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    #define endl '\n'
    cout.setf(ios::fixed);
    cout.setf(ios::showpoint);
    cout.precision(10);

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

    cout << (yes ? "Yes" : "No") << endl;

    return 0;
}


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

# input
N = list(input())

# output
print("Yes" if ('7' in N) else "No")


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

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

using namespace std;

int main(){
    int n=0;
    //char s[200];
    bool flag = false;
    //vector<int> a(N,0);

    cin >> n;

    if(n%10 == 7)
        flag = true;
    else{
        n /=10;
        if(n%10 == 7)
            flag = true;
        else{
            n /=10;
            if(n%10 == 7)
                flag = true;
        }
    }
    
    //for(int i=0;i<n;i++);


    

    //cout << ans << endl;
    cout << ( (flag) ? "Yes" : "No" ) << endl;
}


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

clude<bits/stdc++.h>
using namespace std;
#define ll long long
#define int ll
#define pii pair<int,int>
#define fi first
#define se second
#define mp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define M 998244353
 
int32_t main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t=1;
 
    while(t--)
    {
        int N;
        if(N%10==7 || (N/10)%10==7 || ((N/10)/10)%10==7)
        {
            cout<<"YES";
        }
        else cout<<"NO";
    }
 
   return 0;
 
//    cout<<"Sum of x+y = " << z;
}

Compiler output:
main.c:1:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | clude<bits/stdc++.h>
      |      ^
main.c:12:1: error: unknown type name 'int32_t'
   12 | int32_t main() {
      | ^~~~~~~
main.c:1:1: note: 'int32_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
  +++ |+#include <stdint.h>
    1 | clude<bits/stdc++.h>
main.c: In function 'main':
main.c:13:5: error: 'ios_base' undeclared (first use in this function)
   13 |     ios_base::sync_with_stdio(false);
      |     ^~~~~~~~
main.c:13:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:13: error: expected ';' before '::' token
   13 |     ios_base::sync_with_stdio(false);
      |             ^~
      |             ;
main.c:14:5: error: 'cin' undeclared (first use in this function)
   14 |     cin.tie(NULL);
      |     ^~~
main.c:14:13: error: 'NULL' undeclared (first use in this function)
   14 |     cin.tie(NULL);
      |             ^~~~
main.c:1:1: note: 'NULL' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
  +++ |+#include <stddef.h>
    1 | clude<bits/stdc++.h>
main.c:22:13: error: 'cout' undeclared (first use in this function)
   22 |             cout<<"YES";
      |             ^~~~
Language: C

#include <iostream>
using namespace std;

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


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

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

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

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

#include <bits/stdc++.h>
#define int long long
#define all(c) (c).begin(),(c).end()
#define pii pair<long long,long long>
#define endl '\n'

using namespace std;

signed main(){
    std::ios::sync_with_stdio(false);
    string s;
    cin >> s;
    if(s[0]=='7' || s[1]=='7' || s[2]=='7'){
        cout << "Yes";
    }
    else cout << "No";
    
}

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

N = int(input())
if "7" in str(N):
    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())
      |     ^~~
Language: C

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

int main() {
	int N;
	cin>>N;
	int G=N.size();
	bool a=false
  for(int i=0; i<G; i++){
if(N.at(i)==7){
a=true;
  }
}
if(a=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>
#include<math.h>
#include<string>
#include<cmath>
 
int main(void){
    int N;
    scanf("%d",&N);
    std::string str=std::to_string(N);
    for(int k=0;k<str.length();k++){
        if(str[k]=='7'){
            printf("Yes");
            return 0;
        }
    }
    printf("No");
    return 0;
}

Compiler output:
main.c:3:9: fatal error: string: No such file or directory
    3 | #include<string>
      |         ^~~~~~~~
compilation terminated.
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) != 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>

#define rep(i, a, b) for ( int i = (a); i < (b); i++ )
#define per(i, a, b) for ( int i = (b)-1; i >= (a); i--)
#define pb push_back
#define mp make_pair
#define bg begin()
#define en end()
#define all(v) (v).begin(), (v).end()
#define sz(v) (int)(v).size()


using namespace std;

typedef long long ll;

static const long long MOD = 1000000007;

int ans;

int main(void) {
    string n;
     cin >> n;
     rep(i, 0, 3) {
         if (n[i]=='7') {
             puts("Yes");
             return 0;
         }
     }

     puts("No");

	return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
//cout << fixed << setprecision(17) << res << endl;
 
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; 																								   
																													   
const int INF = 1000000001;																						   
const float PI = 3.14;																								   
typedef long long LL;																								   
																													   
typedef vector<int> vi;																								   
typedef list<int> li;																								   
typedef queue<int> qi; 																								   
typedef pair<int,int> ii; 																							   
typedef map<string,int> msi; //np msi['nazwa'] = 'liczba'															   
typedef vector<ii> vii; //vector par<int>, do tworzenia tablicy dla grafów wagowych #dijkstra #Bellman_Ford			   
typedef priority_queue< ii, vector<ii>, greater<ii> > pq; //kolejka priorytetowa vectorów par(top()=min) #dijkstra	   
																													   																					   
vector<ii>::iterator iter;																							   
																													   																				   
#define print_list(x) for(it = (x).begin(); it != (x).end(); it++) {cout << *it << " ";}							   
#define print_vector(x) for(it2 = (x).begin(); it2 != (x).end(); it2++) {cout << *it2 << " ";}						   
#define search_list(x) for(it = (x).begin(); it != (x).end(); it++)													   
#define search_vector(x) for(it2 = (x).begin(); it2 != (x).end(); it2++);											   
#define pb(x) push_back(x) 																							   
#define pf(x) push_front(x)																							   
#define mp(x, y) make_pair(x, y)                                                                                       
///////////////////////////////////////////////GLOBAL DEFINITIONS////////////////////////////////////////////////////////



///////////////////////////////////////////////////FUNCTIONS/////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////MAIN////////////////////////////////////////////////////////////////
int main(int argc, char* argv[])																					 
{ios_base::sync_with_stdio(false); cin.tie(NULL);                  												       
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	
	string s;
	cin >> s;
	bool check = false;
	int n = s.size();
	for(int i = 0; i < n; i++){
		if(s[i] == '7'){
			check = true;
			break;
		}
	}
	
	if(check) cout << "Yes" << '\n';
	else cout << "No" << '\n';


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

import java.util.Scanner;

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

Compiler output:
Main.java:8: error: cannot find symbol
    for (int i = 0; n.size(); i++) {
                     ^
  symbol:   method size()
  location: variable n of type String
Main.java:9: error: cannot find symbol
      if (n[index] == '7') flag = true;
            ^
  symbol:   variable index
  location: class Main
Main.java:9: error: array required, but String found
      if (n[index] == '7') flag = true;
           ^
3 errors
Language: C

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

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

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

import java.util.Scanner;

public class atc1 {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int a = stdIn.nextInt();
        int b = a;
        int c = 1;

        if(a == 7){
            System.out.println("Yes");
            return;
        }

        while(a/10 >0){
            if(a%10 == 7){
                System.out.println("Yes");
                return;
            }
            a/= 10 ;
            c++ ;
        }
        System.out.println("No");
    }
}


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

#include<iostream>
using namespace std;
 
#define i64 int64_t
 
int main()
{
  int N;
  
  cin >> N;
  
  if(N/100==7
    || (N%100)/10 == 7
    || N%10 == 7){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
  
  return;
}

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

import java.util.Scanner;

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


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

#include <iostream>
using namespace std;
void fast(){
cin.tie(0);
cin.sync_with_stdio(0);
}
int main()
{
    fast();
    int n;
    cin>>n;
   for(int i=0;i<7;i++)
   {
       if (n%10==7){cout<<"YES";return 0;}
       n/=10;
   }
   cout<<"NO";
return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int H,A,B,N,R,M,K,X,Y,Z,C;
  string S,T,U;
  int N_tmp=0;
  cin >> N;
  
  if(N / 100 == 7){
          cout << "Yes" << endl;
          return 0;
  }


  N_tmp = N % 100;
  
  if(N_tmp / 10 == 7){
              cout << "Yes" << endl;
          return 0;
  }

  N_tmp = N % 10;

  if(N_tmp / 1 == 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>

int main() {
  int n;
  std::cin >> n;
  int a = n / 100;
  int b = n / 10 % 10;
  int c = n % 10;
  if (a == 7 || b == 7 || c == 7) std::cout << "Yes" << std::endl;
  else std::cout << "No" << 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>
#define ll long long int
#define pb push_back
#define mp make_pair
#define mod 1000000007
#define pi 3.141592653589793
const int N = 200001;
using namespace std;




int main() {
//    cout << fixed << setprecision(10);
    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";



}


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

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

int main() {
  int N,a,b,c;
  cin >> N;
  a = N/100;
  b = N%100/10;
  c = N%10;
  if(a%7==0||b%7==0||c%7==0){
    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

k = input()
if k[0] == k[1] or k[1] ==k[2] or k[2]==k[3]:
    print("Yes")
else:
    print("No")
   

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