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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |   if(str.at(0)=="7" ||string.at(1)=="7" || string.at(2)=="7"){
      |      ~~~~~~~~~^~~~~
a.cc:12:29: error: expected primary-expression before '.' token
   12 |   if(str.at(0)=="7" ||string.at(1)=="7" || string.at(2)=="7"){
      |                             ^
a.cc:12:50: error: expected primary-expression before '.' token
   12 |   if(str.at(0)=="7" ||string.at(1)=="7" || string.at(2)=="7"){
      |                                                  ^
Language: C++

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

int main() {
  
  string str;
  
  cin >> str;
  
  for(int i=0;i<3;i++){
    
    int ci;
    char ci = str.at(i);
  }
  
  if(c0=="7" ||c1=="7" || c2=="7"){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" <<endl;
  }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:10: error: conflicting declaration 'char ci'
   13 |     char ci = str.at(i);
      |          ^~
a.cc:12:9: note: previous declaration as 'int ci'
   12 |     int ci;
      |         ^~
a.cc:16:6: error: 'c0' was not declared in this scope; did you mean 'y0'?
   16 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |      ^~
      |      y0
a.cc:16:16: error: 'c1' was not declared in this scope; did you mean 'y1'?
   16 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |                ^~
      |                y1
a.cc:16:27: error: 'c2' was not declared in this scope
   16 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |                           ^~
Language: C++

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

int main() {
  
  string str;
  
  cin >> str;
  
  for(int i=0;i<3;i++){
    char ci = str.at(i);
  }
  
  if(c0=="7" ||c1=="7" || c2=="7"){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" <<endl;
  }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:6: error: 'c0' was not declared in this scope; did you mean 'y0'?
   14 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |      ^~
      |      y0
a.cc:14:16: error: 'c1' was not declared in this scope; did you mean 'y1'?
   14 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |                ^~
      |                y1
a.cc:14:27: error: 'c2' was not declared in this scope
   14 |   if(c0=="7" ||c1=="7" || c2=="7"){
      |                           ^~
Language: C

#include <iostream>
using namespace std;
void ABC161(void);
void ABC162(void);
void ABC163(void);
void ABC164(void);

int main(void){
    ABC162();
}

void ABC162(){
    int n,a,b,c;
    cin>>n;
    a=n/100;
    b=(n/10)%10;
    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: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <math.h>

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



int main() {

    string s;
    cin >> s;
    bool ans=false;
    rep(i,3)
    {
        if(s[i]=='7')
            ans = true;
    }

    cout << (ans ? "Yes" : "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;
#define rep(i,N) for(int i = 0; i < (N); i++)
#define repo(i,N) for(int i = 1; i < (N); i++)
//#define int long long
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(),(x).end()
//#define num 1000000007
#define pi acos(-1.0)
//cout << fixed << setprecision (10);   小数点以下１０桁まで
//intの最大値2147483647 ≒ 2×10^9
//long longの最大値9223372036854775807 ≒ 9×10^18
//'大文字'+=32;    で小文字に
//string s = to_string(int数);
//int n = stoi(string文字列);

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


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

import java.util.Scanner;

public class Solution {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()));
		}
	}
}


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

class Solution{

public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()));
		}
	}
}

Compiler output:
Main.java:14: error: cannot find symbol
		try (Scanner scanner = new Scanner(System.in)) {
		     ^
  symbol:   class Scanner
  location: class Solution
Main.java:14: error: cannot find symbol
		try (Scanner scanner = new Scanner(System.in)) {
		                           ^
  symbol:   class Scanner
  location: class Solution
2 errors
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";
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected '}' before 'else'
    8 |     else cout<<"No";
      |     ^~~~
a.cc:6:38: note: to match this '{'
    6 |   if(s[0]=='7'||s[1]=='7'||s[2]=='7'){
      |                                      ^
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";
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(s[0]=="7"||s[1]=="7"||s[2]=="7"){
a.cc:6:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(s[0]=="7"||s[1]=="7"||s[2]=="7"){
a.cc:6:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(s[0]=="7"||s[1]=="7"||s[2]=="7"){
a.cc:8:5: error: expected '}' before 'else'
    8 |     else cout<<"No";
      |     ^~~~
a.cc:6:38: note: to match this '{'
    6 |   if(s[0]=="7"||s[1]=="7"||s[2]=="7"){
      |                                      ^
Language: C

#include<iostream>
#include<iomanip>
#include<vector>
#include<string>
#include<cstring>
#include<map>
#include<set>
#include<queue>
#include<stack>
#include<algorithm>
#include<cmath>
#include<cstdio>
#include<cstdlib>
#include<climits>
#include<fstream>

#define MOD (1000000007)

using namespace std;

typedef long long int Int;

constexpr Int TEN(int n) { return n == 0 ? 1 : 10 * TEN(n-1); }

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

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

    return 0;
}


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

#include <iostream>
#include <cstring>

using namespace std;

int main(){
    char s[4];
    scanf("%s",s);
    if(s[0]=='7'||s[1]=='7'||s[2]=='7')
        puts("Yes");
    else puts("No");
}

Compiler output:
main.c:1: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;
	for(int i=1;i<=3;i++)
	{
		int 
		if(n%10*i==7)
		count++;
	}
	if(count==0)
    {
    	cout<<"No"<<endl;
	}
	else
	 cout<<"yes"<<endl;
	 return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected unqualified-id before 'if'
    9 |                 if(n%10*i==7)
      |                 ^~
a.cc:12:17: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator=='
   12 |         if(count==0)
      |            ~~~~~^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'string' was not declared in this scope
    3 |         string s;
      |         ^~~~~~
a.cc:4:9: error: 'cin' was not declared in this scope
    4 |         cin>>s;
      |         ^~~
a.cc:4:14: error: 's' was not declared in this scope
    4 |         cin>>s;
      |              ^
a.cc:6:7: error: 'cout' was not declared in this scope
    6 |       cout<<"YES";
      |       ^~~~
a.cc:8:6: error: 'cout' was not declared in this scope
    8 |      cout<<"NO";
      |      ^~~~
Language: C++

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: 'falg' was not declared in this scope; did you mean 'flag'?
   12 |       falg=1;
      |       ^~~~
      |       flag
Language: C

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

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

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

import java.util.*;

class Main{
  public static void main(String[] args){
    
    Scanner scanner = new Scanner(System.in);
    int N = scanner.nextInt();
    
    int a = N/100;
    int c = N%10;
    int b = (N-100*a-c)/10;
    
    if(a==7||b==7||c==7){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}

    
  }
}


Compiler output:
Main.java:22: error: class, interface, enum, or record expected
  }
  ^
1 error
Language: C++

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

int main(){
  string s;
  cin >> s;
  if (s.find("7") == string::npos) cout << "Yes" << endl;
  else cout << "No" << endl;

  retrun 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'retrun' was not declared in this scope
   13 |   retrun 0;
      |   ^~~~~~
Language: C

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

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

n=int(input())
a=set()
while n!=0 :
    rem=n%10
    a.add(rem)
    n/=10
if 7 in a :
    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:3: error: expected expression before 'int'
    1 | n=int(input())
      |   ^~~
Language: C

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

}






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

N = input()
print('Yes') if N[0] == '7' or N[1] == '7' or N[2] == '7' 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 'print'
    2 | print('Yes') if N[0] == '7' or N[1] == '7' or N[2] == '7' else print('No')
      | ^~~~~
main.c:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes') if N[0] == '7' or N[1] == '7' or N[2] == '7' else print('No')
      |       ^~~~~
main.c:2:70: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes') if N[0] == '7' or N[1] == '7' or N[2] == '7' else print('No')
      |                                                                      ^~~~
Language: C

//
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ar array
#define vec vector 


void solve(){
    int n;
    cin >> n;
    while(n != 0){
        int pop = n % 10;
        if(pop == 7){
            cout << "YES" << endl;
            return;
        }
        n /= 10;
    }
    cout << "NO" << endl;
}

int main(){
    solve();
}



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<iostream>
#include<math.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
int main() {
	int n;
	cin >> n;
	int x = n / 100;
	int y = (n / 10)%10;
	int z = n % 10;
	
	if (x % 7 == 0 || y % 7 == 0 || z % 7 == 0) {
		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>
#include<math.h>
#include<cmath>
using namespace std;
typedef long long ll;
ll inf = 1000000000;
typedef pair<ll, ll> P;
int main() {
	int n;
	cin >> n;
	int x = n / 100;
	int y = (n / 10)%10;
	int z = n % 100;
	if (x % 7 == 0 || y % 7 == 0 || z % 7 == 0) {
		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 <bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef pair<int, int> P;
typedef pair<ll, ll> Pl;

const int INT_INF = 2147483646;
const ll LL_INF = 9223372036854775807;

bool SecondCompare(const pair<int,int> &a,const pair<int,int> &b)
{
       return a.second<b.second;
}
 
bool SecondCompareDes(const pair<int,int> &a,const pair<int,int> &b)
{
       return a.second>b.second;
}

ll minll(ll a, ll b){
    if(a >= b)  return b;
    else    return a;
}

ll maxll(ll a, ll b){
    if(a >= b)  return a;
    else    return b;
}

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

const ll SIZE = 1e5+10;

string n;

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

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

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

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

#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <limits>
#include <sstream>
#include <fstream>
#include <climits>
#include <map>
#include <numeric>
#include <functional>

typedef signed char        int8;
typedef short              int16;
typedef int                int32;
typedef long long          int64;
typedef unsigned char      uint8;
typedef unsigned short     uint16;
typedef unsigned int       uint32;
typedef unsigned long long uint64;

int main(void) {
  std::string s;
  std::cin >> s;
  bool has7 = false;
  for (int i = 0; i < s.size(); i++) {
    if (s.at(i) == '7') {
      has7 = true;
    }
  }
  std::cout << (has7 ? "Yes" : "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>
using namespace std;
 
int main() {
    string a;
    cin>>a;
    int b=0;
    for(int i=0;i<3;i++){
        if(a.at(i)=='7'){
            b++;
        }
    }
    if(b>=1){
        cout<<"Yes"<<endl;

    }
    else{
        cout<<"No"<<endl;
    }
}

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

#include<iostream>
#include<string>
using namespace std;
int main() {
	string N;
	cin >> N;
	bool ans = false;
	for (int i = 0; i < 3; i++) {
		if (N[i] == '7') ans = true;
	}
	if (ans) cout << "Yes" << endl;
	else cout << "No" << endl;
}

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

#include <cstdio>

int main()
{
	int n;
	scanf("%d", &n);
	if (n % 10 == 7 || n / 10 == 7 || n / 100 == 7) 
		printf("Yes\n");
	else
		printf("No\n");

	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()

{
	int p,j,i;
	cin>>p;
	string a=to_string(p);
	int s=a.size();
	for(int j=0; j<s; j++)
	{
		if(a[j]=='7')
		{
			cout<<"Yes";
			break;
		}
		i=j;
	}
		if(i+1 ==s)
		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>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define INF 1LL << 60;
#define LLINF 1e12
#define PI 3.14159265359
int dy[] = {1, 0, -1, 0};
int dx[] = {0, 1, 0, -1};
int ny, nx;
typedef long long ll;
using namespace std;

ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }

ll lcm(ll m, ll n)
{
    if ((0 == m) || (0 == n))
        return 0;
    return ((m / gcd(m, n)) * n);
}

ll llpow(ll x, ll y)
{
    ll ans = 1;
    REP(i, y)
    ans *= x;
    return ans;
}

ll llmin(ll x, ll y) { return x < y ? x : y; }
ll llmax(ll x, ll y) { return x > y ? x : y; }

template <typename Container>
bool exist_in(const Container &c, const typename Container::value_type &v)
{
    return (c.end() != std::find(c.begin(), c.end(), v));
}

template <class T>
inline bool chmax(T &a, T b)
{
    if (a < b)
    {
        a = b;
        return true;
    }
    return false;
}
template <class T>
inline bool chmin(T &a, T b)
{
    if (a > b)
    {
        a = b;
        return true;
    }
    return false;
}

//std::cout << std::defaultfloat << std::setprecision(10);
////////////////////////////////////////
int main()
{
    ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);

    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:
a.cc: In function 'int main()':
a.cc:69:14: error: unable to find character literal operator 'operator""or' with 'char' argument
   69 |     if(N[0]=='7'or N[1]=='7' or N[2]=='7') cout << "Yes"<< endl;
      |              ^~~~~
a.cc:69:19: error: expected ')' before 'N'
   69 |     if(N[0]=='7'or N[1]=='7' or N[2]=='7') cout << "Yes"<< endl;
      |       ~           ^~
      |                   )
Language: C

fun main(args: Array<String>) {
    val n = readLine()!!.count{it == '7'}
    if(n > 0) {
        println("Yes")
    }
    else {
        println("No")
    }
    
}

Compiler output:
main.c:1:1: error: unknown type name 'fun'
    1 | fun main(args: Array<String>) {
      | ^~~
main.c:1:14: error: expected ')' before ':' token
    1 | fun main(args: Array<String>) {
      |              ^
      |              )
Language: C

/*
このコード、と～おれ!
Be accepted!
∧＿∧　
（｡･ω･｡)つ━☆・*。
⊂　　 ノ 　　　・゜+.
　しーＪ　　　°。+ *´¨)
 　　　　　　　　　.· ´¸.·*´¨) ¸.·*¨)
			　　　　　　　　　　(¸.·´ (¸.·'* ☆
					*/

#include <iostream>
#include <vector>
#include <array>
#include <queue>
#include <stack>
#include <map>
#include <string>
#include <climits>
#include <tuple>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <cmath>
#include <algorithm>
#include <memory>
#include <iomanip>

#define rep(i, n) for(Int (i) = 0; (i) < (n); ++(i))
#define debug(var) std::cout << #var << ": " << var << "\n"
using Int = int64_t;
constexpr Int INF = INT_MAX;



void calc() {

	Int N; std::cin >> N;
	std::string str = std::to_string(N);
	bool flag = false;
	rep(i, str.size()) {
		if (str[i] == '7')flag = true;
	}
	std::cout << (flag ? "Yes" : "No");

}


int main() {

	calc();

	return 0;
}

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

n = input()
for ni in n:
    if ni == '7':
        print('YES')
        quit()
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 'for'
    2 | for ni in n:
      | ^~~
main.c:4:15: warning: multi-character character constant [-Wmultichar]
    4 |         print('YES')
      |               ^~~~~
main.c:6:7: warning: multi-character character constant [-Wmultichar]
    6 | print('NO')
      |       ^~~~
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:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | n = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if n.count("7") >= 1:
      | ^~
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int n,ans; 
int main(){
	cin>>n;
	for(int i=1;i<=n;i++)
	{
	ans=n%10;
	if(ans!=7)continue;
	else cout<<"Yes";return 0;
	n=n/10;
	}
	cout<<"No";
return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int n; 
int main(){
	cin>>n;
	while(n)
	{
		cout<<n%10<<" ";
		n=n/10;
	}
	
return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int a; 
int main(){
	cin>>a;
	while(n)
	{
		cout<<n%10<<" ";
		n=n/10;
	}
	
return 0;
}


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

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

void solve(){
   string s; cin >> s;
   bool ans = false;
   for(int i = 0 ; i < 2; ++i){
       if(s[i] == '7') ans = true;
   }
   cout << (ans?"Yes":"No");
}

signed main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    solve();
    return 0;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'storing' was not declared in this scope; did you mean 'stdin'?
    6 |   storing S;
      |   ^~~~~~~
      |   stdin
a.cc:8:10: error: 'S' was not declared in this scope
    8 |   cin >> S;
      |          ^
Language: C

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


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


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

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<utility>
#include <functional>
#include <set>
#include <map>
#include <queue>
#include <cmath>
#include <stack>

using namespace std;


int main() {
	
	int n;
	cin >> n;
	while (n > 0) {
		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>
using namespace std;

int main(){
	int N,a,b,c;
    cin >> N;
	a=N\100;
    b=N%100;
    c=b%100;
  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 <stdio.h>

int main(void){
  int N;
  scanf ("%d", N);
  if (N[0] == 7 || N[1] == 7 || N[2] == 7){
    printf("Yes\n");
  }
  else {
    printf("No\n");
  }
}

Compiler output:
main.c: In function 'main':
main.c:6:8: error: subscripted value is neither array nor pointer nor vector
    6 |   if (N[0] == 7 || N[1] == 7 || N[2] == 7){
      |        ^
main.c:6:21: error: subscripted value is neither array nor pointer nor vector
    6 |   if (N[0] == 7 || N[1] == 7 || N[2] == 7){
      |                     ^
main.c:6:34: error: subscripted value is neither array nor pointer nor vector
    6 |   if (N[0] == 7 || N[1] == 7 || N[2] == 7){
      |                                  ^
Language: C

defmodule Main do
  def main do
    a = IO.read(:line) |> String.trim
    if String.match?(a, ~r/a*7+a*/) do
      IO.puts("Yes")
    else 
      IO.puts("No")
    end
  end
end


Compiler output:
main.c:1:1: error: unknown type name 'defmodule'
    1 | defmodule Main do
      | ^~~~~~~~~
main.c:1:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do'
    1 | defmodule Main do
      |                ^~
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  std::ostringstream oss;
  
    oss << N;
 
  char a = N.at(0);
  char b = N.at(1);
  char C = N.at(2);
  
  if (a != "7" && b != "7" && c != "7") {
    cout << "No" << endl;
  }
  else {
    cout << "Yes" << endl;
  }
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: request for member 'at' in 'N', which is of non-class type 'int'
   12 |   char a = N.at(0);
      |              ^~
a.cc:13:14: error: request for member 'at' in 'N', which is of non-class type 'int'
   13 |   char b = N.at(1);
      |              ^~
a.cc:14:14: error: request for member 'at' in 'N', which is of non-class type 'int'
   14 |   char C = N.at(2);
      |              ^~
a.cc:16:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |   if (a != "7" && b != "7" && c != "7") {
      |       ~~^~~~~~
a.cc:16:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |   if (a != "7" && b != "7" && c != "7") {
      |                   ~~^~~~~~
a.cc:16:31: error: 'c' was not declared in this scope
   16 |   if (a != "7" && b != "7" && c != "7") {
      |                               ^
Language: C

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

string s;

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

    cin >> s;

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

    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 <cassert>
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cwchar>
#include <cwctype>
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <array>
#include <atomic>
#include <chrono>
#include <codecvt>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
#define all(x) (x).begin(),(x).end()
#pragma GCC optimize("Ofast")
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll INF=(1LL<<62);
const ld pi=acosl((ld)-1);
// const ll mod = 1000000007;
const ll mod = 1234567;
const int dx[4]={0,1,0,-1};
const int dy[4]={1,0,-1,0};
const int ddx[8]={1,0,-1,-1,-1,0,1,1};
const int ddy[8]={1,1,1,0,-1,-1,-1,0};
#define endn "\n"

bool solve(){
  string s;cin>>s;
  cout<<(s[0]=='7' or s[1]=='7' or s[2]=='7' ? "Yes" : "No")<<endl;
  return false;
}

signed main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout<<fixed<<setprecision(30);
  solve();
}


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

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

int main() {
  int N;
  cin >> N;
  std::string to_string(int);
  cin >> N;
  char a = N.at(0);
  char b = N.at(1);
  char c = N.at(2);
  cin >> a >> b >> c;
  
  if (a != "7" && b!= "7" && c!= "7") {
    cout << "No" << endl;
  }
  else {
    cout << "Yes" << endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |   char a = N.at(0);
      |              ^~
a.cc:10:14: error: request for member 'at' in 'N', which is of non-class type 'int'
   10 |   char b = N.at(1);
      |              ^~
a.cc:11:14: error: request for member 'at' in 'N', which is of non-class type 'int'
   11 |   char c = N.at(2);
      |              ^~
a.cc:14:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   14 |   if (a != "7" && b!= "7" && c!= "7") {
      |       ~~^~~~~~
a.cc:14:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   14 |   if (a != "7" && b!= "7" && c!= "7") {
      |                   ~^~~~~~
a.cc:14:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   14 |   if (a != "7" && b!= "7" && c!= "7") {
      |                              ~^~~~~~
Language: C++

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

int main() {
  int N;
  cin >> N;
  std::string to_string(int);
  cin >> N;
  string a = N.at(0);
  string b = N.at(1);
  string c = N.at(2);
  cin >> a >> b >> c;
  
  if (a != "7" && b!= "7" && c!= "7") {
    cout << "No" << endl;
  }
  else {
    cout << "Yes" << endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |   string a = N.at(0);
      |                ^~
a.cc:10:16: error: request for member 'at' in 'N', which is of non-class type 'int'
   10 |   string b = N.at(1);
      |                ^~
a.cc:11:16: error: request for member 'at' in 'N', which is of non-class type 'int'
   11 |   string c = N.at(2);
      |                ^~
Language: C++

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

int main() {
  int N;
  cin >> N;
  std::string to_string(int);
  cin >> N;
  string a = N.at(0);
  string b = N.at(1);
  string c = N.at(2);
  
  if (a != "7" && b!= "7" && c!= "7") {
    cout << "No" << endl;
  }
  else {
    cout << "Yes" << endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: request for member 'at' in 'N', which is of non-class type 'int'
    9 |   string a = N.at(0);
      |                ^~
a.cc:10:16: error: request for member 'at' in 'N', which is of non-class type 'int'
   10 |   string b = N.at(1);
      |                ^~
a.cc:11:16: error: request for member 'at' in 'N', which is of non-class type 'int'
   11 |   string c = N.at(2);
      |                ^~
Language: C

#include <stdio.h>
int main(void){
  char a, b, c;
  char buf[100];
  fgets(buf, sizeof(buf), stdin);
  sscanf(buf, "%c%c%c", a, b, c);
  if (a="7" || b="7" || c="7"){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:26: error: lvalue required as left operand of assignment
    7 |   if (a="7" || b="7" || c="7"){
      |                          ^
Language: C

#include <stdio.h>
int main(void){
  char a, b, c;
  char buf;
  fgets(buf, sizeof(buf), stdin);
  sscanf(buf, "%c%c%c", a, b, c);
  if (a="7" || b="7" || c="7"){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: passing argument 1 of 'fgets' makes pointer from integer without a cast [-Wint-conversion]
    5 |   fgets(buf, sizeof(buf), stdin);
      |         ^~~
      |         |
      |         char
In file included from main.c:1:
/usr/include/stdio.h:654:38: note: expected 'char * restrict' but argument is of type 'char'
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                     ~~~~~~~~~~~~~~~~~^~~
main.c:6:10: error: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion]
    6 |   sscanf(buf, "%c%c%c", a, b, c);
      |          ^~~
      |          |
      |          char
/usr/include/stdio.h:430:43: note: expected 'const char *' but argument is of type 'char'
  430 | extern int sscanf (const char *__restrict __s,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~
main.c:7:26: error: lvalue required as left operand of assignment
    7 |   if (a="7" || b="7" || c="7"){
      |                          ^
Language: C

#include <stdio.h>
int main(void){
  int a, b, c;
  int buf;
  fgets(buf, sizeof(buf), stdin);
  sscanf(buf, "%c%c%c", &a, &b, &c);
  if (a=7 || b=7 || c=7){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: passing argument 1 of 'fgets' makes pointer from integer without a cast [-Wint-conversion]
    5 |   fgets(buf, sizeof(buf), stdin);
      |         ^~~
      |         |
      |         int
In file included from main.c:1:
/usr/include/stdio.h:654:38: note: expected 'char * restrict' but argument is of type 'int'
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                     ~~~~~~~~~~~~~~~~~^~~
main.c:6:10: error: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion]
    6 |   sscanf(buf, "%c%c%c", &a, &b, &c);
      |          ^~~
      |          |
      |          int
/usr/include/stdio.h:430:43: note: expected 'const char *' but argument is of type 'int'
  430 | extern int sscanf (const char *__restrict __s,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~
main.c:7:22: error: lvalue required as left operand of assignment
    7 |   if (a=7 || b=7 || c=7){
      |                      ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'abc' was not declared in this scope; did you mean 'abs'?
    7 |   int N=abc;
      |         ^~~
      |         abs
Language: C++

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

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

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

#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
using namespace std;
int main() {
	string a;
	bool b = 0;
	cin >> a;
	for (int i = 0; i < 3; i++)
	{
		if (a[i]=="7")
		{
			b = true;
		}
	}
	b ? cout << "Yes" << endl : cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |                 if (a[i]=="7")
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ')' before '{' token
    7 |     if(N.at(i)==7{
      |       ~          ^
      |                  )
a.cc:16:4: error: expected primary-expression before '}' token
   16 |    }
      |    ^
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:19:4: error: expected '}' at end of input
   19 |   }
      |    ^
a.cc:6:23: note: to match this '{'
    6 |   for(int i=0;i<3;i++){
      |                       ^
a.cc:19:4: error: expected '}' at end of input
   19 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int 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;
    break;
  }
  else{
    cout<<"No"<<endl;
    break;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: break statement not within loop or switch
    9 |     break;
      |     ^~~~~
a.cc:13:5: error: break statement not within loop or switch
   13 |     break;
      |     ^~~~~
Language: C++

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

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

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

#include <iostream>

using namespace std;

int main()
{
    int n; cin >> n;
    string ans = "No";

    while (n > 0) {
        int tmp = n % 10;
        n /= 10;
        if (tmp == 7) ans = "Yes";
    }

    cout << ans << 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(){
    char A;
    cin >> A;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: invalid types 'char[int]' for array subscript
    9 |     if(A[0] == "7" || A[1] == "7" || A[2] == "7"){
      |         ^
a.cc:9:24: error: invalid types 'char[int]' for array subscript
    9 |     if(A[0] == "7" || A[1] == "7" || A[2] == "7"){
      |                        ^
a.cc:9:39: error: invalid types 'char[int]' for array subscript
    9 |     if(A[0] == "7" || A[1] == "7" || A[2] == "7"){
      |                                       ^
Language: C++

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


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

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

//is there any case of -1 or any special corner cases ?
#include<bits/stdc++.h>
using namespace std;
#define int long long int 
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define vi vector<int>
#define pi pair<int,int>
#define all(v) v.begin(),v.end()
#define zeros(arr) memset(arr,0,sizeof(arr));
#define precise(num)  cout<<fixed; cout << std::setprecision(num)
#define nl cout<<"\n";
#define test int t;cin>>t;wahile(t--) 
const int maxx  = 3*1e5 , limit = 1e17 , MOD=1e9+7;
string binary(int n){bitset<32>b(n) ;string p =b.to_string();return p;}
int decimal(string s){int res = 0; for(int i = 0; i < s.size() ; i++ ){if(s[i] == '1')res = res + pow(2,s.size() - i -1);}    return res;}
bool isPrime(int n){if (n <= 1) return false; if (n <= 3) return true;if (n % 2 == 0 || n % 3 == 0) return false;
for (int i = 5; i * i <= n; i = i + 6) if (n % i == 0 || n % (i + 2) == 0) return false; return true; }
int pow (int x, int n,int mod) {if (n == 0) return 1; int res = pow (x, n / 2,mod);res = (res * res) % mod;if (n % 2) res = (res * x ) % mod;return res;}
#define boost  ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int32_t main(){
    boost;
    string s;
    cin>>s;
    if(s[0] =='7'||s[1] =='7'||s[2] =='7'){
        cout<<"Yes\n";
    }else
    cout<<"No\n";
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: lvalue required as left operand of assignment
   10 |    if(a==7 ||b==7 ||c=7){
      |       ~~~~~~~~~~~~^~~
Language: C++

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

Compiler output:
a.cc:5:17: error: stray '\' in program
    5 |  int N, a, b, c \\
    6 |    cin >> N \\
a.cc:6:13: error: stray '\' in program
    6 |    cin >> N \\
    7 |    a=N/100 \\
a.cc:7:12: error: stray '\' in program
    7 |    a=N/100 \\
    8 |    b=N/10-a \\
a.cc:8:13: error: stray '\' in program
    8 |    b=N/10-a \\
    9 |    c=N-(a+b) \\
a.cc:9:14: error: stray '\' in program
    9 |    c=N-(a+b) \\
   10 |    if(a==7 ||b==7 ||c=7){
a.cc: In function 'int main()':
a.cc:6:4: error: expected initializer before 'cin'
    6 |    cin >> N \\
      |    ^~~
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else{
      |   ^~~~
Language: C

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

int main()
{
cin>>s;
for(int i=0;i<=s.size();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 <bits/stdc++.h>

using namespace std;

int main()
{
  	string s;
  	cin >> s;
  	
  	bool jelTacno = false;
  
  	for(int i = 0; i < (int)s.size(); ++i)
    {
     	if(s[i]=='7')jelTacno = true; 
    }
  
  	cout << ((jelTacno)?("Yes"):("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.