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

import java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = in.nextInt();

        if(n % 10 == 7 ||n % 10 % 10 == 7  || n % 10 % 10 %10 == 7)
            out.println("Yes");
        else out.println("No");
        out.close();
    }
}


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

mport java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = in.nextInt();

        if(n % 10 == 7 ||n % 10 % 10 == 7  || n % 10 % 10 %10 == 7)
            out.println("Yes");
        else out.println("No");
        out.close();
    }
}


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

#include <iostream>
using namespace std;

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

    bool is=0;
    while (n) {
        int r=n%10;
        if (r==7) {
            is=1;
        }

        n/=10;
    }

    if (is)     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++

def main():
    N = int(input())
    S = list(input())
    print(S)
    ans = 0
    for i in range(N):
        first_s = S[i]
        # print(first_s)
        for j in range(i+1, N):
            print(j)
            if S[j] != first_s:
                second_s = S[j]
                # print(second_s)
                for k in range(j+1, N):
                    if (S[k] != first_s) and (S[k] != second_s):
                        if not k == 2*j-i:
                            ans += 1

    print(ans)


if __name__ == '__main__':
    main()


Compiler output:
a.cc:8:11: error: invalid preprocessing directive #print
    8 |         # print(first_s)
      |           ^~~~~
a.cc:13:19: error: invalid preprocessing directive #print
   13 |                 # print(second_s)
      |                   ^~~~~
a.cc:22:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   22 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:1:1: error: 'def' does not name a type
    1 | def main():
      | ^~~
Language: C

#include <string>
#include <iostream>
using namespace std;
int main() {
  string s, verdict = "No\n";
  cin >> s;
  for (auto c: s) if (c == '7') verdict = "Yes\n";
  cout << verdict;
  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  string verdict = "No\n";
  for (auto c: s) {
    if (c == '7') verdict = "Yes\n";
  }
  cout << verdict << '\n';
  return 0;
}

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

#include<bits/stdc++.h> 
using namespace std; 
int main()
{
	int n;
	scanf("%d",&n);
	for(int i=0;i<3;++i)
	{
		if(n%10==7)
		{
			printf("YES\n");
			return 0;			
		}
		n=n/10;
	}
	printf("NO\n");
return 0; 
} 


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

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
 
using namespace __gnu_pbds;
using namespace std;
 
#define int 		long long
#define vi 			vector<int>
#define vec(x) 		vector<x>
#define matrix 		vector<vector<int>>
#define pii 		pair<int,int>
#define repf(i,s,e)  for(int i=s;i<e;i++)
#define repb(i,e,s) for(int i=e;i>=s;i--)
#define MOD			1000000007
#define pb 			push_back
#define ff 			first
#define ss 			second		
#define w(x)		int x; cin>>x; while(x--)
const int INF=1e18;

#define TRACE
#ifdef TRACE
#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
	cerr << name << " : " << arg1 << std::endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
	const char* comma = strchr(names + 1, ',');cerr.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...);
}
#else
#define trace(...)
#endif
 
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> pbds;
// find_by_order(k-1)  returns iterator to kth element starting from 0; Returns the kth smallest element
// order_of_key(k) returns count of elements strictly smaller than k;Returns the number of elements less than k
// erase,insert same as normal set


void solve(){
	int n;
	cin>>n;

	bool ok=0;
	while(n>0){
		int num=n%10;
		if(num==7) ok=1;
		n/=10;
	}

	if(ok){
		cout<<"Yes\n";
	}
	else{
		cout<<"No\n";
	}
}
 
int32_t main(){
	ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
	// if(fopen("input.txt", "r")){
	//     freopen("input.txt", "r", stdin),
	//     freopen("output.txt", "w", stdout);
	// }
	
	int t=1;
	//cin>>t;
	while(t--){
		solve();
	}
}

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


public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String str = scan.nextLine();
    sc.close();
    
    for(char a : str){
      if(a == '7'){
        System.out.print("Yes");
        return;
      }
    }
    System.out.print("No");
  }
}


Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    String str = scan.nextLine();
                 ^
  symbol:   variable scan
  location: class Main
Main.java:8: error: for-each not applicable to expression type
    for(char a : str){
                 ^
  required: array or java.lang.Iterable
  found:    String
4 errors
Language: Java


public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String str = scan.nextLine();
    
    for(char a : str){
      if(a == '7'){
        System.out.print("Yes");
        return;
      }
    }
    System.out.print("No");
  }
}


Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    String str = scan.nextLine();
                 ^
  symbol:   variable scan
  location: class Main
Main.java:7: error: for-each not applicable to expression type
    for(char a : str){
                 ^
  required: array or java.lang.Iterable
  found:    String
4 errors
Language: C

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

int main(){
	string str;
	cin >> str;
	bool ans = false;
	for (char ch : str){
		if(ch == '7') ans = true;
	}
	puts((ans) ? "Yes" : "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()
{
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
 cin>>t;
 if (t % 10 == 7 || (t / 10) % 10 == 7 || (t / 100) % 10 == 7)cout<<"YES";
 else cout<<"NO";

   return 0;
}

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

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

bool check(int N)
{
  while(N){
    int a  = N%10 ;
    if(a==7) return true ;
    N = N/10;
  }
  return false ;
}

int main()
{
  int N;
  cin >> N ;
  return check(N) ;
}


Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namspace'
    3 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:18:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   18 |   cin >> N ;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C

/*
    JAI JAGANNATH!
*/
//@Author : zanj0
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
typedef long long int lli;
#define ff              first
#define ss              second
#define pb              push_back
#define mp              make_pair
#define pii             pair<lli,lli>
#define vi              vector<lli>
#define mii             map<lli,lli>
#define pqb             priority_queue<lli>
#define pqs             priority_queue<lli,vi,greater<lli> >
#define setbits(x)      __builtin_popcountll(x)
#define zrobits(x)      __builtin_ctzll(x)
#define mod             1000000007
#define inf             1e18
#define ps(x,y)         fixed<<setprecision(y)<<x
#define mk(arr,n,type)  type *arr=new type[n];
#define w(x)            lli x; cin>>x; while(x--)
mt19937                 rng(chrono::steady_clock::now().time_since_epoch().count());

typedef tree<lli, null_type, less<lli>, rb_tree_tag, tree_order_statistics_node_update> pbds;


void zanj0()
{
	ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}

int main()
{
	zanj0();
	string s;
	cin >> s;
	bool ok = false;
	for (lli i = 0; i < s.size(); i++) ok = ok || (s[i] == '7');
	if (!ok) {
		cout << "No" << endl;
	} else cout << "Yes" << endl;
	return 0;
}

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

N = input()
print("Yes" if "7" in N else "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 "7" in N else "No")
      | ^~~~~
Language: C

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

const ll INF = 1000000009;

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

int main(){
#ifndef LOCAL
  ios_base::sync_with_stdio(0), cin.tie(NULL), cout.tie(NULL);
#endif
  // int t;cin >> t;while(t--) solve();
  solve();
}


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

 #include "bits/stdc++.h"
using namespace std;
const int MAX = 700000;
const int MOD = 1000000007;

long long  fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
	fac[0] = fac[1] = 1;
	finv[0] = finv[1] = 1;
	inv[1] = 1;
	for (int i = 2; i < MAX; i++) {
		fac[i] = fac[i - 1] * i % MOD;
		inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
		finv[i] = finv[i - 1] * inv[i] % MOD;
	}
}

// 二項係数計算
long long COM(int n, int k) {
	if (n < k) return 0;
	if (n < 0 || k < 0) return 0;
	return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}
/*第二引数で第一引数を割ったときの切り上げの計算*/
long long int maxtime(long long int x, long long int y){
	return(x + y - 1) / y;

}
/*最大公約数*/
long long int lcm(long long int number1, long long int number2) {
	long long int m = number1;
	long long int n = number2;

	if (number2 > number1) {
		m = number2;
		n = number1;
	}
	long long int s = -1;
	while (s != 0) {
		s = m % n;
		m = n;
		n = s;
	}
	return m;
}
/*最大公倍数*/
long long int gcd(long long int number1, long long int number2) {
	long long int m = number1;
	long long int n = number2;
	return m / lcm(m, n) * n;
}
/*逆元計算*/
long long int  modinv(long long a, long long m) {
	long long int b = m, u = 1, v = 0;
	while (b) {
		long long int t = a / b;
		a -= t * b; swap(a, b);
		u -= t * v; swap(u, v);
	}
	u %= m;
	if (u < 0) u += m;
	return u;
}
// index が条件を満たすかどうか
vector<long long int >meguru;
bool isOK(int index, int key) {
	if (meguru[index] >= key) return true;
	else return false;
}
// 汎用的な二分探索のテンプレ
int binary_search(int key) {
	int left = -1; //「index = 0」が条件を満たすこともあるので、初期値は -1
	int right = (int)meguru.size(); // 「index = a.size()-1」が条件を満たさないこともあるので、初期値は a.size()
	/* どんな二分探索でもここの書き方を変えずにできる！ */
	while (right - left > 1) {
		int mid = left + (right - left) / 2;

		if (isOK(mid, key)) right = mid;
		else left = mid;
	}
	/* left は条件を満たさない最大の値、right は条件を満たす最小の値になっている */
	return right;
}
long long modpow(long long a, long long n, long long mod) {
	long long res = 1;
	while (n > 0) {
		if (n & 1) res = res * a % mod;
		a = a * a % mod;
		n >>= 1;
	}
	return res;
}
long long int big[60][2] = {};

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

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

package atCorder;
import java.util.Scanner;
public class alucky {

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

}


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

fun main() {
    val n = readLine()!!
    println(if (n.contains('7')) "Yes" else "No")
}


Compiler output:
main.c:1:1: error: unknown type name 'fun'
    1 | fun main() {
      | ^~~
main.c: In function 'main':
main.c:2:5: error: unknown type name 'val'
    2 |     val n = readLine()!!
      |     ^~~
main.c:2:13: error: implicit declaration of function 'readLine' [-Wimplicit-function-declaration]
    2 |     val n = readLine()!!
      |             ^~~~~~~~
main.c:2:23: error: expected ',' or ';' before '!' token
    2 |     val n = readLine()!!
      |                       ^
main.c:4:1: error: expected declaration or statement at end of input
    4 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc: In function 'void seven(int)':
a.cc:12:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
   12 |         return 0;
      |                ^
Language: C

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(k,i,n) for(ll i=k;i<n;++i)
int main(void){
    string s;
    cin>>s;
    rep(0,i,s.length())if(s.substr(i,1)=="7"){
        cout<<"Yes";
        return 0;
    }
    cout<<"No";
}


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

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

// Begin Template IO/Utility
#define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__)
void dbg_out(){
	cerr<<endl;
}
template<typename Head, typename... Tail> void dbg_out(Head H, Tail... T){
	cerr<<' '<< H;
	dbg_out(T...);
}
template<typename T> ostream& operator<<(ostream &os, const vector<T> &V){
	os<<'[';
	for(int i=0;i<(int)V.size();i++)
		os<<V[i]<<",]"[i==(int)V.size()-1];
	return os;
}
template<typename T> istream& operator>>(istream &is, vector<T> &V){
	for(T &x:V)
		is>>x;
	return is;
}
template<typename T, typename U> ostream& operator<<(ostream &os, const pair<T,U> &p){
	os<<'{'<<p.first<<','<<p.second<<'}';
	return os;
}
template<typename T, typename U> istream& operator>>(istream &is, pair<T,U> &p){
	is>>p.first>>p.second;
	return is;
}
template<typename T> void minself(T &a, T b){
	a=min(a,b);
}
template<typename T> void maxself(T &a, T b){
	a=max(a,b);
}
// End Template IO/Utility

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


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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define rep(i, n)    for(ll i = 0; i < (n); ++i)
#define repA(i, a, n)  for(ll i = a; i <= (n); ++i)
#define repD(i, a, n)  for(ll i = a; i >= (n); --i)
#define trav(a, x) for(auto& a : x)
#define all(x) x.begin(), x.end()
#define sz(x) (ll)(x).size()
#define unique_sort(x) (sort(x.begin(), x.end()), x.resize(distance(x.begin(), unique(x.begin(), x.end()))))
#define fill(a)  memset(a, 0, sizeof (a))
#define ff first
#define ss second
#define pb push_back
typedef long double ld;
typedef vector<ll> vll;
const ll INF = 1e18;
const ld PI = 4*atan((ld)1);
const ll mod = 1e9+7;

int main()
{
    ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    ll tt=1;
        // cin >> tt;
    while((tt)--){
        ll n;cin >> n;
        ll f=0;
        while(n!=0){
           ll t= n%10;
           n/=10;
           if(t==7){
             f=1; break;
           }
        }
        if(f){
            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;
#define int long long
#define float long double
#define f(i,a,b) for(int i = a;i < b;i++)
#define ff(i,a,b)  for(int i = a-1;i>=b;i--)
#define endl '\n'
#define IOS ios_base::sync_with_stdio(false), cin.tie(NULL)
const int mod = 1e9+7;
//int to string -> to_string()
//string to int -> stoi()

int32_t main()
{
   IOS;
   string s;
   cin>>s;
   if(s[0]=='7' or s[1]=='7' or 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 <bits/stdc++.h>
using namespace std;
#define int long long
#define float long double
#define f(i,a,b) for(int i = a;i < b;i++)
#define ff(i,a,b)  for(int i = a-1;i>=b;i--)
#define endl '\n'
#define IOS ios_base::sync_with_stdio(false), cin.tie(NULL)
const int mod = 1e9+7;
//int to string -> to_string()
//string to int -> stoi()

int32_t main()
{
   IOS;
   string s;
   cin>>s;
   if(s[0]=='7' or s[1]=='1' or 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 <bits/stdc++.h>
using namespace std;
#define all(v) (v).begin(), (v).end()
#define lp(i, n) for (int i = 0; i < (n) ; ++i)
#define sz(v) (ll)(v).size()
#define int long long
#define mod 1000000007

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

int32_t main(){
ios::sync_with_stdio(0), cin.tie(NULL), cout.tie(NULL);
        int t = 1;
        //cin >> t;
        while ( t-- ) {
                solve();
        }
return 0;
}


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

<?php
    fscanf(STDIN, '%d', $n);
    if (strpos($n, '7') !== false) {
        echo 'Yes';
    } else {
        echo 'No';
    }

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:2:19: warning: multi-character character constant [-Wmultichar]
    2 |     fscanf(STDIN, '%d', $n);
      |                   ^~~~
main.c:3:5: error: expected identifier or '(' before 'if'
    3 |     if (strpos($n, '7') !== false) {
      |     ^~
main.c:4:14: warning: multi-character character constant [-Wmultichar]
    4 |         echo 'Yes';
      |              ^~~~~
main.c:5:7: error: expected identifier or '(' before 'else'
    5 |     } else {
      |       ^~~~
main.c:6:14: warning: multi-character character constant [-Wmultichar]
    6 |         echo 'No';
      |              ^~~~
Language: C

// i hope i get better                                                           
#include <bits/stdc++.h>
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define all(x) x.begin(), x.end()
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int sz=1e2+9;
string s;
bool ok;

int main(){
	cin>>s;
	for(auto u:s){
		if(u=='7') ok=1;
	}
	if(ok) cout<<"Yes";
	else cout<<"No";
	return 0;
}

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

// i hope i get better                                                           
#include <bits/stdc++.h>
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define all(x) x.begin(), x.end()
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int sz=1e2+9;
string s;
bool ok;

int main(){
	cin>>s;
	for(auto u:s){
		if(u=='7') ok=1;
	}
	if(ok) cout<<"YES";
	else cout<<"NO";
	return 0;
}

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

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

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

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

#define      pb    push_back
#define      ff    first
#define      ss    second
#define      ll    long long int
#define      endl  "\n"
#define      FASTIO        ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);


#define      TEST    int t ; cin >> t ; while( t -- )

const ll big = 10e7 + 11 ;

int  main (  ) {

    FASTIO ;

    int n ;
    cin >> n ;

    int f = 0 ;

    while( n ){
        int k = n % 10 ;

        if( k == 7 ) f++ ;

        n /= 10 ;
    }
    if( f ) cout << "Yes" ;
    else   cout << "No" ;


    return  0 ;
}


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

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

#define      pb    push_back
#define      ff    first
#define      ss    second
#define      ll    long long int
#define      endl  "\n"
#define      FASTIO        ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);


#define      TEST    int t ; cin >> t ; while( t -- )

const ll big = 10e7 + 11 ;

vector < ll > Pow ;

int  main (  ) {

    FASTIO ;

    string s ;
    cin >> s ;

    int f = 0 ;

    for( int i = 0 ; i < s.size( ) ; i++ ){
        if( s[ i ] == '7' ) f++ ;
    }

    if( f ) cout << "Yes" ;
    else  cout << "No" ;


    return  0 ;
}


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

public class Main {

	public static void main(String[] args) {
		try(Scanner sc = new Scanner(System.in)) {
			String s = sc.next();
			System.out.println(s.contains("7") ? "Yes" : "No");
		}
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		try(Scanner sc = new Scanner(System.in)) {
		    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		try(Scanner sc = new Scanner(System.in)) {
		                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C

#include <bits/iostream>
#include <bits/string>



using namespace std;

int main()
{
    string s;

    cin>> s ;
    string ans="No";

    if(s[0]=='7'  || s[1]=='7' ||s[2]=='7')ans="Yes";
    cout<<ans;
}






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

#include <bits/stdc++.h>

using namespace std;

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

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

#include <iostream>
#include <string>



using namespace std;

int main()
{
    string s;

    cin>> s ;
    string ans="No";

    if(s[0]=='7'  || s[1]=='7' ||s[2]=='7')ans="Yes";
    cout<<ans;
}






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


#include <string>
#include <cstdio>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <functional>


using namespace std;

int main()
{
    string s;

    cin>> s ;
    string ans="No";

    if(s[0]=='7'  || s[1]=='7' ||s[2]=='7')ans="Yes";
    cout<<ans;
}






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

#include <iostream>
#include <string>
#include <cstdio>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <functional>


using namespace std;

int main()
{
    string s;

    cin>> s ;
    string ans="No";

    if(s[0]=='7'  || s[1]=='7' ||s[2]=='7')ans="Yes";
    cout<<ans;
}






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,a,b,c;
  cin>>N;
  a=N%10;
  b=(N%100);
  b=b/10;
  c=N/100;
  if(a==7 || b==7 || c==7)
  {
    cout<<"Yes';
  }
  else
  {
    cout<<"No";
  }
  return 0;
}

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

public class Test {
	public static void main (String[] args){
      if(args[0]==7 || args[1]==7 || args[2]==7){
        System.out.println("Yes");
      }else{
        System.out.println("No");
      }
    } 	
}

Compiler output:
Main.java:1: error: class Test is public, should be declared in a file named Test.java
public class Test {
       ^
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                ^
  first type:  String
  second type: int
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                              ^
  first type:  String
  second type: int
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                                            ^
  first type:  String
  second type: int
4 errors
Language: Java

public class Test {
	public static void main (String[] args){
      if(args[0]==7 || args[1]==7 || args[2]==7){
        System.out.prinln("Yes");
      }else{
        System.out.prinln("No");
      }
    } 	
}

Compiler output:
Main.java:1: error: class Test is public, should be declared in a file named Test.java
public class Test {
       ^
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                ^
  first type:  String
  second type: int
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                              ^
  first type:  String
  second type: int
Main.java:3: error: bad operand types for binary operator '=='
      if(args[0]==7 || args[1]==7 || args[2]==7){
                                            ^
  first type:  String
  second type: int
Main.java:4: error: cannot find symbol
        System.out.prinln("Yes");
                  ^
  symbol:   method prinln(String)
  location: variable out of type PrintStream
Main.java:6: error: cannot find symbol
        System.out.prinln("No");
                  ^
  symbol:   method prinln(String)
  location: variable out of type PrintStream
6 errors
Language: C

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

//#pragma GCC optimize "trapv"
#define FASTIO ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define rep(i,a,b) for(int i=a; i<b; i++)
#define drep(i,a,b) for(int i=a; i>b; i--)
#define inf 1e+18L
#define mod 1000000007
#define pb push_back
#define vi vector<int>
#define pii pair<int, int>
#define ll long long 
#define fi first
#define se second
const auto pi = 3.14159265359;
const auto e = 2.718281828459;

int numdigits(int x)
{
    return floor(log10(x)) + 1;
}

template<typename T>
T modpower(T x, T y)
{
    T res = 1;
    x %= mod;
    if(x == 0) return 0;
    while(y > 0)
    {
        if(y&1) res = (res*x)%mod;
        y >>= 1;
        x = (x*x)%mod;
    }
    return res;
}

void solve()
{
    ll n, k;
    cin >> n >> k;
    vector<ll> dp(k+1, 0); //dp[i] is the number of sequences with gcd i
    drep(i,k,0)
    {
        ll val = k/i;
        val = modpower(val, n);
        val %= mod;
        for(int j=2*i; j<=k; j+=i)
        {
            val -= dp[j];
        }
        dp[i] = val;
    }
    // for(auto k : dp) cout << k << " ";
    // cout << "\n";
    ll ans = 0;
    rep(i,1,k+1)
    {
        ll var = ((dp[i]%mod)*(i%mod))%mod;
        ans = ((ans%mod) + (var%mod))%mod;
        ans %= mod;
    }
    cout << ans << "\n";
}

int main()
{
    FASTIO
    // int t;
    // cin >> t;
    // while(t--)
        solve();
    return 0;
}

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

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String str = sc.next();
    if(str.contains("7") {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:5: error: ')' expected
    if(str.contains("7") {
                        ^
1 error
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> n;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:55: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if(n / 100 == 7 || n / 10 % 10 == 7 || n % 10 == 7) cout << "Yes";
      |                                                       ^~~~
      |                                                       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout << "No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

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

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


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

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

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

/*786*/
#include <bits/stdc++.h>

#define pu ios_base::sync_with_stdio();cin.tie(NULL);cout.tie(NULL);

#define ll                  long long
#define yes                 cout<<"YES"<<endl
#define no                  cout<<"NO"<<endl
#define sp                  ' '
#define vi                  vector<int>
#define vl                  vector<ll>
#define pb                  push_back
#define mp                  make_pair
#define f(i,n)              for(i=0;i<n;i++)
#define stop                return 0;
#define new                 cout<<endl
#define res(x)              cout<<x<<endl;
#define vip                 vector<pair<int,int> >
#define srt(v)              sort(v.begin(),v.end());
#define test                int t;cin>>t;while(t--)
#define mx(a)               *max_element(a,a+n)

using namespace std;
int main()
{
    pu;
   string s;
   cin>>s;
   int f=s.find_first_of('7');
   if(f>=0)yes;
   else no;
        stop;
}


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

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

int main() {
  string  c;
	cin >> s;
  for (int i = 0; i < 3; i++)
  	if (c[i] == '7')
  		return cout << "YES" << '\n', 0;
  	cout << "NO" << '\n';
 	return 0; 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 's' was not declared in this scope
    6 |         cin >> s;
      |                ^
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.at(0)=='7') cout << "Yes" << endl;
  else if(s.at(1)=='7') cout << "Yes" << endl;
  else if(s.at(2)=='7') cout << "Yes" << endl;
  else cout << "No" << endl; 
  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
    string N;
    cin >> N;
    if(N[0]=='7' || N[1]=='7' || N[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 <iostream>
using namespace std;
int main(){
    string N;
    cin >> N;
    if(N[0]=='7' || N[1]=='7' || N[2]=='7'){
        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 <iostream>
using namespace std;

int main(){
    string N;
    cin >> N;
    for(int i=0;i<3;i++){
        if(N[i]=='7'){
            cout << "yes";
            break;
        }else if(i=2){
            cout << "No";
        }
    }
}

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

#include<iostream>
using namespace std;

int main(){
    string N;
    cin >> N;
    for(int i=0;i<3;i++){
        if(N[i]=='7'){
            cout << "yes";
            break;
        }else if(i=2){
            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>
using namespace std;
int main() {
    string s;
    cin >> s;
    for (auto c: s) {
        if (c == '7') {
            cout << "Yes";
            return 0;
        }
    }
    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;
using ll = long long;
using ld = long double;
using P = pair<ll,ll>;
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define rep2(i,m,n) for(int (i)=(m);(i)<(n);(i)++)
#define ALL(obj) (obj).begin(), (obj).end()
#define rALL(obj) (obj).rbegin(), (obj).rend()
const ll INF = 1LL<<60;
const ll MOD = 1e9+7;


int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    int n; cin>>n;
    bool b = false;
    for(int i=0; i<3; i++){
        if(n%10==7)b=true;
        n/=10;
    }
    cout<<(b?"Yes":"No");
    
    return 0;
}

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

#include<iostream>
 
using namespace std;
 
int main(){
 
  long long n;
  cin>>n;
  long long i=1;
  long long sum = ((n)*(n+1))/2;
  while(i<=n){
  
    if((i%15)||(i%3)||(i%5)){
    	sum-=i;
      	
    }
    i++;
  }
  cout<<sum<<endl;
  return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:20:12: error: expected '}' at end of input
   20 |   return 0;
      |            ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main()
{
    int n,i=0;
    cin>>n;
    while(n!=0)
    {
        if(n%10==7)
        {
            i=1;
            break;
        }
        n/=10;
    }
    if(i==1)
    {
        cout<<"YES"<<endl;
    }
    else cout<<"NO"<<endl;
    return 0;

}


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

import java.util.*;
public class taskA{
     public static void main(String []args){
         Scanner scan = new Scanner(System.in);
         int a = scan.nextInt();
         
         boolean flag = true;
         while ( a != 0 ){
            if ( a % 10 == 7 ){
                flag = false;
                break;
            }
            
            a/=10;
         }
         
         if ( !flag ){
             System.out.println("Yes");
         }else{
             System.out.println("No");
         }
     }
}

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

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

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

ll power(ll a,ll b){return b?power(a*a%mod,b/2)*(b%2?a:1)%mod:1;}
const int maxn = 1e5 + 5;
ll n, f, k[maxn];

int main(){
    #ifdef LOCAL
        freopen("in.txt", "r", stdin);
        freopen("out.txt", "w", stdout);
    #endif
    sf(n, k);
    ll ans = 0;
    for (int i = k; i >= 1; --i) {
        f[i] = power(k / i, n);
        for (int j = 2 * i; j <= k; j += i) f[i] -= f[j];
        ans = (ans + i * f[i] % mod) % mod;
    }
    cout << (ans + mod) % mod << endl;
    return 0;
}

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

#include "bits/stdc++.h"
 
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef pair<int,int> pii;
#define int ll
#define fi first
#define se second
#define Sort(a) sort(a.begin(),a.end())
#define rep(i,n) for(int i = 0;i < (n) ; i++) 
#define REP(i,n) for(int i = 0;i < (n) ; i++) 
#define MP(a,b) make_pair(a,b)
#define pb(a) push_back(a)
#define INF LLONG_MAX/4
#define INTINF INT_MAX/2
#define all(x) (x).begin(),(x).end()
#define debug(x) cerr<<#x<<": "<<x<<endl
#define debug_vec(v) cerr<<#v<<":";rep(i,v.size())cerr<<" "<<v[i];cerr<<endl
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;}
/*----------------------------------------------------------------*/
// int MOD = 998244353;
int MOD = 1000000007;

/*----------------------------------------------------------------*/
signed main(){
	
	string n;cin >> n;
	if(n[0] == '7')cout << "Yes" << endl;
	else if(n[1] == '7')cout << "Yes" << endl;
	else if(n[2] == '7')cout << "Yes" << endl;
	else cout << "No" << endl;
	

	
	return 0;
}
/*----------------------------------------------------------------*/

// g++ -std=c++14 code1.cpp
// sudo pip3 install --upgrade online-judge-tools
// rm -r -f test;oj dl https://code-festival-2018-quala.contest.atcoder.jp/tasks/code_festival_2018_quala_c
// rm -r -f test;oj dl https://pakencamp-2019-day3.contest.atcoder.jp/tasks/pakencamp_2019_day3_c
// rm -r -f test;oj dl https://atcoder.jp/contests/abc162/tasks/abc162_a


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,h,t,o;
  cin >>  N;
  h = N/100;
  t = (N-(h*100))/10;
  o = N-(h*100)-t*10;
  if(h == 7 || t == 7 || o == 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>
#include <math.h>

int　main()
{
	int N = 0;
	scanf("%d", &N);

	for (int i = 0; i++; i < 3)
	{
		int a = pow(10, i);
		if (N % a == 7)
		{
			printf("Yes\n");
			return 0;
		}
	}

	printf("No\n");
}

Compiler output:
main.c:4:4: error: stray '\343' in program
    4 | int<U+3000>main()
      |    ^~~~~~~~
Language: C

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


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

import java.util.Scanner;

/**
 * A162
 */
public class A162 {

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int dig=sc.nextInt();
        int temp;
        int flag=0;
        for(int i=0;i<3;i++){
            temp=dig%10;
            dig=dig/10;
            if(temp==7){
                flag=flag+1;
                // System.out.println("yes");
                break;
            }
            

        }
        if(flag==1)
        {
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:6: error: class A162 is public, should be declared in a file named A162.java
public class A162 {
       ^
1 error