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

import java.util.*;


public Solution {
	
	public static void main(String args[]) {
		Scanner s = new Scanner(System.in);
		int sh = s.nextInt();
		int w = s.nextInt();
		if(w >= sh) {
			System.out.println("unsafe");
		}else {
			System.out.println("safe");
		}
	}
}

Compiler output:
Main.java:4: error: class, interface, enum, or record expected
public Solution {
       ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String args[]) {
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:16: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

import java.util.*;


static class Solution{
	
	public static void main(String args[]) {
		Scanner s = new Scanner(System.in);
		int sh = s.nextInt();
		int w = s.nextInt();
		if(w >= sh) {
			System.out.println("unsafe");
		}else {
			System.out.println("safe");
		}
	}
}

Compiler output:
Main.java:4: error: modifier static not allowed here
static class Solution{
       ^
1 error
Language: Java

import java.util.*;


public class Solution {
	
	public static void main(String args[]) {
		Scanner s = new Scanner(System.in);
		int sh = s.nextInt();
		int w = s.nextInt();
		if(w >= sh) {
			System.out.println("unsafe");
		}else {
			System.out.println("safe");
		}
	}
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int s,w;
  cin>>s>>w;
  if(w>=s)
    cout<<"unsafe\n";
  else
    cout<<"safe\n;
  return 0;
}

Compiler output:
a.cc:10:11: warning: missing terminating " character
   10 |     cout<<"safe\n;
      |           ^
a.cc:10:11: error: missing terminating " character
   10 |     cout<<"safe\n;
      |           ^~~~~~~~
a.cc: In function 'int main()':
a.cc:11:3: error: expected primary-expression before 'return'
   11 |   return 0;
      |   ^~~~~~
Language: C++

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

int main() {
  int s, w;
  cin>>s>>w;
  if (w >= s) {
  	cout << "unsafe\n"
  } else {
  	cout << "safe\n";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: expected ';' before '}' token
    8 |         cout << "unsafe\n"
      |                           ^
      |                           ;
    9 |   } else {
      |   ~
Language: C

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

int main() {
  int s,w;
  cin>>s>>w;
  if(s>w){
  cout<<'safe';
  }
  else{
  cout<<'unsafe';
  }
}


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 s,w;
  cin >>  s >> w;
  if(s>w) cout << "safe" << endl;
  else cout << "unsafe" << endl;
}

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

#include<iostream>
#include<algorithm>
#include<utility>
#include<vector>
#include<cmath>
using namespace std;

typedef pair<int, int> P;
typedef long long ll;
const int INF = 100000000;

ll gcd( ll a, ll b ){//最大公約数
    ll tmp;
    if( a < b ) { tmp = a; a = b; b = tmp; }
    if( b < 1 ) return -1;

    if( a % b == 0 ) return b;
    return gcd( b, a % b );
}

ll lcm(ll a, ll b){//最小公倍数
    return a * b / gcd(a, b);
}

ll sosuu(ll x){
    for(int i = 2; i < x; i++){
        if(x % i == 0) return false;
    }

    return true;
}


//入力

int main(){

    int s, w;
    cin >> s >> w;

    if(s <= w){
        cout << "unsafe" << endl;
    }
    else{
        cout << "safe" << endl;
    }


    return 0;
}

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

#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx")
#pragma GCC optimize("unroll-loops")

#ifdef _MSC_VER
#pragma warning(disable : 4996)
#include <intrin.h>
#define __builtin_popcount __popcnt
#endif

#include <limits.h>
#include <math.h>
#include <time.h>

#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <complex>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

#define REP(i, n) for (int i = 0; i < n; ++i)
#define REPR(i, n) for (int i = n - 1; i >= 0; --i)
#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORR(i, m, n) for (int i = m - 1; i >= n; --i)
#define SORT(v, n) sort(v, v + n);
#define VSORT(v) sort(v.begin(), v.end());
#define REVERSE(v, n) reverse(v, v + n);
#define VREVERSE(v) reverse(v.begin(), v.end())
#define ll long long
#define print(x) cout << (x) << '\n'
#define pe(x) cout << (x) << " "
#define DEBUG(x) cout << #x << ": " << x << endl
#define lb(v, n) lower_bound(v.begin(), v.end(), (n))
#define ub(v, n) upper_bound(v.begin(), v.end(), (n))
#define int long long
//#define double long double
#define all(x) (x).begin(), (x).end()
#define print_space(v) REP(i, v.size()) cout << v[i] << ((i == v.size() - 1) ? "\n" : " ")
template <typename T1, typename T2> inline void chmin(T1& a, T2 b) {
	if (a > b) a = b;
}
template <typename T1, typename T2> inline void chmax(T1& a, T2 b) {
	if (a < b) a = b;
}
typedef pair<int, int> pii;
typedef array<int, 3> arr3;
std::random_device rd;
std::mt19937 mt(rd());
constexpr ll MOD = 1e9 + 7;
constexpr int MAX = 200020;
const double pi = acos(-1);
constexpr double EPS = 1e-8;
constexpr ll INF = 1e18;


void solve() {
	int S, W; cin >> S >> W;
	if (W >= S)print("unsafe");
	else print("safe");
}

signed main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	// int q; cin >> q;
	// while (q--)
	solve();
}


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

import java.util.Scanner;


public class HelloWorld{
    
      public static int w,s;
      
      public static String isSafe(){
            if(w >= s) return "unsafe";
            return "safe";
      }

       public static void main(String []args){
         Scanner x = new Scanner(System.in);
         s = x.nextInt();
         w = x.nextInt();
         String ans = isSafe();
         System.out.println(ans);
        
      }
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int s,w;
  cin>>s>>w;
  if(w>=s)
    cout<<"Unsafe";
  else
    cout<<"Safe;
    
   return 0;
}

Compiler output:
a.cc:10:11: warning: missing terminating " character
   10 |     cout<<"Safe;
      |           ^
a.cc:10:11: error: missing terminating " character
   10 |     cout<<"Safe;
      |           ^~~~~~
a.cc: In function 'int main()':
a.cc:12:4: error: expected primary-expression before 'return'
   12 |    return 0;
      |    ^~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define pb push_back
#define fs first
#define sc second
#define sz size
#define forn(i, n) for (ll i = 0; i < (ll) (n); ++i)
#define IO ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)

using ll = long long;
const ll inf = 1e9+5; 

const double PI =  3.141592653589793;

int main(){
	IO;
	ll s,w;
	cin>>s>>w;
	(w>=s)?cout<<"unsafe\n";cout<<"safe\n";
	return 0;
}

// _   .-')                .-. .-')                 .-')                                               
//( '.( OO )_              \  ( OO )               ( OO ).                                             
// ,--.   ,--.).-'),-----. ,--. ,--.  .-'),-----. (_)---\_) ,--. ,--.     .-----.  ,-.-')  .-'),-----. 
// |   `.'   |( OO'  .-.  '|  .'   / ( OO'  .-.  '/    _ |  |  | |  |    '  .--./  |  |OO)( OO'  .-.  '
// |         |/   |  | |  ||      /, /   |  | |  |\  :` `.  |  | | .-')  |  |('-.  |  |  \/   |  | |  |
// |  |'.'|  |\_) |  |\|  ||     ' _)\_) |  |\|  | '..`''.) |  |_|( OO )/_) |OO  ) |  |(_/\_) |  |\|  |
// |  |   |  |  \ |  | |  ||  .   \    \ |  | |  |.-._)   \ |  | | `-' /||  |`-'| ,|  |_.'  \ |  | |  |
// |  |   |  |   `'  '-'  '|  |\   \    `'  '-'  '\       /('  '-'(_.-'(_'  '--'\(_|  |      `'  '-'  '


Compiler output:
a.cc: In function 'int main()':
a.cc:21:32: error: expected ':' before ';' token
   21 |         (w>=s)?cout<<"unsafe\n";cout<<"safe\n";
      |                                ^
      |                                :
a.cc:21:32: error: expected primary-expression before ';' token
Language: C

#include<stdio.h>
int s,w;
scanf("%d%d",&s,&w);
if(w>=s){
  printf("unsafe");
}
else{
  printf("safe");
}

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d%d",&s,&w);
      |       ^~~~~~
main.c:3:14: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d%d",&s,&w);
      |              ^
main.c:3:17: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d%d",&s,&w);
      |                 ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(w>=s){
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else{
      | ^~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
  ll a,b;
  cin>>a>>b;
  if(a<=5) printf("unsafe\n");
  else printf("safe\n");
  return 0;
}

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

#include<iostream>
using namesapce std;
int main(){
 	int s,w;
  	cin>>s>>w;
  	if(s>w)cout<<"safe";
  	else cout<<"unsafe";
  	return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin>>s>>w;
      |         ^~~
      |         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:6:16: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         if(s>w)cout<<"safe";
      |                ^~~~
      |                std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         else cout<<"unsafe";
      |              ^~~~
      |              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;
typedef vector<int> vi;
typedef pair<int,int> pi;

const int INF=INT_MAX-1;

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


    int s,w;
    cin >> s >> w;
    if(s<=w)
        cout << "unsafe\n";
    else
        cout << "safe\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;
/**
 * Write a description of class SheepAndWolves here.
 *
 * @author (your name)
 * @version (a version number or a date)
 */
public class SheepAndWolves
{
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int s = sc.nextInt();
        int w = sc.nextInt();
        
        if(w >= s) {
            System.out.println("unsafe");
        } else {
            System.out.println("safe");
        }   
    } 
}


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

#include <stdio.h>

void main(){
  sscanf("%d %d",&s,&w);
  int int_s = (int)s;
  int int_w = (int)w;
  if(int_s>int_w){
    printf("safe");
  }
  else if(int_s<=int_w){
    printf("unsafe");
  }
}

Compiler output:
main.c: In function 'main':
main.c:4:19: error: 's' undeclared (first use in this function)
    4 |   sscanf("%d %d",&s,&w);
      |                   ^
main.c:4:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:22: error: 'w' undeclared (first use in this function)
    4 |   sscanf("%d %d",&s,&w);
      |                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int s,w;
  cin>>s>>w;
  if(w>=s)
    cout<<"unsafe"<<endl;
  else
    cout<<"safe<<endl;

Compiler output:
a.cc:10:11: warning: missing terminating " character
   10 |     cout<<"safe<<endl;
      |           ^
a.cc:10:11: error: missing terminating " character
   10 |     cout<<"safe<<endl;
      |           ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:10:11: error: expected primary-expression at end of input
   10 |     cout<<"safe<<endl;
      |           ^
a.cc:10:11: error: expected '}' at end of input
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C

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

int main() {
  int S, W;
  cin >>S >>W;
  if (S>W){
    cout << "safe" << endl;
  }
  else {
    cout << "unsafe" << endl;
  }


}

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

#include <iostream>

int main() {
	int a,b;
  	cin >> a >> b;
  if(a <= b) cout <<"unsafe" << endl;
  else cout << "safe" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> a >> b;
      |         ^~~
      |         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:6:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(a <= b) cout <<"unsafe" << endl;
      |              ^~~~
      |              std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   if(a <= b) cout <<"unsafe" << endl;
      |                                 ^~~~
      |                                 std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else cout << "safe" << endl;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   else cout << "safe" << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include <iostream>
#include <algorithm>
#include <cstring>
#include <math.h>
#define ll long long int 
using namespace std;


int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	int s,w;
	cin>>s>>w;
	cout<<(w>=s?"unsafe":"safe");
	
	return 0; 
}

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

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<map>
#include<math.h>
#include<iomanip>
#include<set>
#include<limits.h>
#include<cmath>
#include<queue>
#include<stack>

#include<stdio.h>
#include<stdlib.h>

#define rep(i,n) for(ll i = 0; i < (ll)n; i++)
#define swap(a,b) a^=b;b^=a;a^=b;
#define chmax(a,b) {if(a < b) a = b;}
#define chmin(a,b) {if(a > b) a = b;}

using namespace std;
typedef long long ll;
const ll INF = 1LL << 60;

int main(void) {
	cin.tie(0);
	ios::sync_with_stdio(false);
	//Program Start	

	int S, W;
	cin >> S >> W;
	if (S <= W) {
		printf("unsafe");
	}
	else {
		printf("safe");
	}



EndPoint:;

	//Program End
#ifndef DEBUG
	system("pause");
#endif // !DEBUG

	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;

int main(){
	int a, b;
  	cin >> a >> b;
  	if(a <= b){
      	cout << "unsafe" << endl;
    }else{
		cout << "safe" << endl;
    }
  	
  	return 0;

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

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


int main() {
int s,w ;
cin >> s>>w;
if (w>=s) cout <<"unsafe" << endl;
else cout<< "safe" <<endl;
}

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

#include<bits/stdc++.h>
using namespace std;
#define SZ(v) ((int)(v).size())
#define zero(v) memset(v,0,sizeof(v))
#define rep(i,n) for(int i=0;i<(n);i++)
#define foreach(it,c) for(__typeof(c.begin()) it=c.begin();it!=c.end();it++)
#define all(v) (v).begin(),(v).end()
template<typename T>inline bool chkmin(T &a,const T &b){return a>b?a=b,1:0;}
template<typename T>inline bool chkmax(T &a,const T &b){return a<b?a=b,1:0;}
typedef long long ll;
typedef unsigned uint;
const int INF=0x3f3f3f3f;
const double EPS=1e-10;
typedef pair<int,int>P;
int inline in(){int x=0,c;for(;(uint)((c=getchar())-'0')>=10;)
{if(c=='-')return -in();if(!~c)throw ~0;}do{x=(x<<3)+(x<<1)+(c-'0');}
while((uint)((c=getchar())-'0')<10);return x;}
int main(){
	int S,W;
	cin>>S>>W;
	if(W>=S){
		cout<<"unsafe"<<endl;
	}else{
		cout<<"safe"<<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 <iostream>
#include <bits/stdc++.h>
#include <numeric> //For gcd()
#define ll long long int
#define all(v) (v).begin(), (v).end()
#define pb push_back
#define fo(i, n) for (int i = 0; i < n; ++i)
#define foe(i, n) for (int i = 1; i <= n; ++i)
#define Fo(i, k, n) for (int i = k; i < n; ++i)
#define FOR(i, a, b) for (int i = (a); i < (b); ++(i))
#define vi vector<int>
#define vll vector<ll>
#define vvl vector<vector<ll>>
#define vpll vector<pair<ll, ll>>
#define MOD 998244353
#define MAX 1024
using namespace std;
using pi = pair<ll, ll>;

void main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	ll s,w;
	cin>> s>> w;
	if(w >= s){
		cout<<"unsafe"<<endl;
	} else cout<<"safe"<<endl;
  return ;
}

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

<?php
# スペース区切りの整数の入力
fscanf(STDIN, "%d %d", $S, $W);
# 出力
if($W >= $S){
    print("unsafe");
} else {
    print("safe");
}

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:2:3: error: invalid preprocessing directive #\U000030b9\U000030da\U000030fc\U000030b9\U0000533a\U00005207\U0000308a\U0000306e\U00006574\U00006570\U0000306e\U00005165\U0000529b
    2 | # スペース区切りの整数の入力
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:4:3: error: invalid preprocessing directive #\U000051fa\U0000529b
    4 | # 出力
      |   ^~~~
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if($W >= $S){
      | ^~
main.c:7:3: error: expected identifier or '(' before 'else'
    7 | } else {
      |   ^~~~
Language: C++

#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define repr(i,a,b) for(int i=a;i>=b;i--)
#define ll long long int
using namespace std;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0); cout.tie(0);
    #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);
    #endif
    int s;w; cin>>s>>w;
    if(w>=s)
        cout<<"unsafe\n";
    else
        cout<<"safe\n";

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:11: error: 'w' was not declared in this scope
   14 |     int s;w; cin>>s>>w;
      |           ^
Language: C

#include <iostream>
#include <bits/stdc++.h>
#include <numeric> //For gcd()
#define ll long long int
#define all(v) (v).begin(), (v).end()
#define pb push_back
#define fo(i, n) for (int i = 0; i < n; ++i)
#define foe(i, n) for (int i = 1; i <= n; ++i)
#define Fo(i, k, n) for (int i = k; i < n; ++i)
#define FOR(i, a, b) for (int i = (a); i < (b); ++(i))
#define vi vector<int>
#define vll vector<ll>
#define vvl vector<vector<ll>>
#define vpll vector<pair<ll, ll>>
#define MOD 998244353
#define MAX 1024
using namespace std;
using pi = pair<ll, ll>;

int32_t main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	ll s,w;
	cin>> s>> w;
	if(w >= s){
		cout<<"unsafe"<<endl;
	} else cout<<"safe"<<endl;
}

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

#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define repr(i,a,b) for(int i=a;i>=b;i--)
#define ll long long int
using namespace std;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0); cout.tie(0);
    #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);
    #endif
    int s;w; cin>>s>>w;
    if(w>=s)
        cout<<"unsafe\n";
    else
        cout<<"safe\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>

using namespace std;

int main() {
    int s = 0;
    int w = 0;

    cin >> s >> w;

    if (s <= w)
        cout << "unsafe" << endl;
    else
        cout << "safe" << endl;

    return 0;
}


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

#include "bits/stdc++.h"

using namespace std;

int main() {
    int s = 0;
    int w = 0;

    cin >> s >> w;

    if (s <= w)
        cout << "unsafe" << endl;
    else
        cout << "safe" << endl;

    return 0;
}


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

#include <iostream>

using namespace std;

int main() {
    int s = 0;
    int w = 0;

    cin >> s >> w;

    if (s <= w)
        cout << "unsafe" << endl;
    else
        cout << "safe" << endl;

    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
int  main()
{	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
  int a,b,c,d;
  cin>>a>>b>>c>>d;
  while(1)
  {
    int x=c-b;
    int y=a-d;
    if(x<=0)
    { 
      cout<<"Yes";
      break;
    }
    else if(y<=0)
    {
      cout<<"No";
      break;
    }
  }
}


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 _USE_MATH_DEFINES
#include <math.h>
#include <algorithm>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(), x.end()
#define rall(x) x.rbegin(), x.rend()
#define acc(v) accumulate(v.begin(), v.end(), 0)

using namespace std;
typedef long long ll;
const int INF = 1e9;
const ll LINF = 1e18;
const ll MOD = 1e9 + 7;

int main()
{
	int s, w;
	cin >> s >> w;
	cout << (2w >= s ? "unsafe" : "safe") << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:18: error: unable to find numeric literal operator 'operator""w'
   20 |         cout << (2w >= s ? "unsafe" : "safe") << endl;
      |                  ^~
Language: C

#include <bits/stdc++.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <algorithm>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(), x.end()
#define rall(x) x.rbegin(), x.rend()
#define acc(v) accumulate(v.begin(), v.end(), 0)

using namespace std;
typedef long long ll;
const int INF = 1e9;
const ll LINF = 1e18;
const ll MOD = 1e9 + 7;

int main()
{
	int s, w;
	cin >> s >> w;
	cout << (2w >= s ? "unsafe" : "safe") << endl;
}


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

#include < iostream >
using namespace std;

int main(){
	int S,W;
  cin >> S >> W;
  if (S <= W){
  	cout << "unsafe";
  }
  else {
  	cout << "safe"; 
  }
	return 0 ;
}

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

#include<iostream>


using namespace std;

int main()
{
	int s,w;
	cin>>s>>w;
	if(w>=s)
	{
		cout<<"unsafe";

	}
	else
	{
		cout<<"safe";
	}
}

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

 //om namah shivaaay//
#include <bits/stdc++.h>
#define Om_namah_Shivaay ios::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
 #define ll long long
 using namespace std;
 int main()
 {
    Om_namah_Shivaay;
    int s,w;
    cin>>s>>w;
    if(s<=w) cout<<"unsafe";
    if(s>w) cout<<"safe";
}


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

#ABC164 A
decide_dict = {
    "True": "safe",
    "False": "unsafe"
}
S, W = input().split()
print(decide_dict[str(int(S) > int(W))])

Compiler output:
main.c:1:2: error: invalid preprocessing directive #ABC164
    1 | #ABC164 A
      |  ^~~~~~
main.c:2:1: warning: data definition has no type or storage class
    2 | decide_dict = {
      | ^~~~~~~~~~~
main.c:2:1: error: type defaults to 'int' in declaration of 'decide_dict' [-Wimplicit-int]
main.c:3:5: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    3 |     "True": "safe",
      |     ^~~~~~
main.c:3:5: note: (near initialization for 'decide_dict')
main.c:3:5: error: initializer element is not computable at load time
main.c:3:5: note: (near initialization for 'decide_dict')
main.c:3:11: error: expected '}' before ':' token
    3 |     "True": "safe",
      |           ^
main.c:2:15: note: to match this '{'
    2 | decide_dict = {
      |               ^
main.c:6:1: error: expected ',' or ';' before 'S'
    6 | S, W = input().split()
      | ^
Language: C++

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

int main(){
    int S,W;
    cin >> S >> W;
    if (W >= S) cout << "unsafe" << endl;
    else cout << "safe" << endl;
    
}

Compiler output:
a.cc:1:1: error: stray '##' in program
    1 | ##include <bits/stdc++.h>
      | ^~
a.cc:1:3: error: 'include' does not name a type
    1 | ##include <bits/stdc++.h>
      |   ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> S >> W;
      |     ^~~
a.cc:7:17: error: 'cout' was not declared in this scope
    7 |     if (W >= S) cout << "unsafe" << endl;
      |                 ^~~~
a.cc:7:37: error: 'endl' was not declared in this scope
    7 |     if (W >= S) cout << "unsafe" << endl;
      |                                     ^~~~
a.cc:8:10: error: 'cout' was not declared in this scope
    8 |     else cout << "safe" << endl;
      |          ^~~~
a.cc:8:28: error: 'endl' was not declared in this scope
    8 |     else cout << "safe" << endl;
      |                            ^~~~
Language: C

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


int32_t main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr); cout.tie(nullptr);    
    
    int a, b, c, d;
    cin >> a >> b >> c >> d;
    
    int cnt = 1;
    bool takahashi = false, aoki = false;
    while (!takahashi && !aoki){
      if (cnt & 1) 
        c -= b;
      else
        a -= d;
      if (a <= 0){
        aoki = true;
        break;
      }
      if (c <= 0){
        takahashi = true;
        break;
      }
      cnt++;
    }
    if (takahashi)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int s,i,w,f;
  cin>>n>>w;
  i=(n<=w)?1:0;
  if(i)cout<<"unsafe\n";
  else cout<<"safe\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'n' was not declared in this scope
    6 |   cin>>n>>w;
      |        ^
Language: C

    #define _GLIBCXX_DEBUG
    #include <bits/stdc++.h>
    using namespace std;
     
    int main() {
     int a , b;
      cin << a << b << endl;
      if(a>b){
        cout >> "safe" >> endl;
      }
      else{
        cout >> "unsafe" >> endl;
      }
    }

Compiler output:
main.c:2:14: 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;
    using ll = long long;
    #define pb push_back
    #define eb emplace_back
    #define mp make_pair
    #define ff first
    #define ss second

    void io(){
        ios_base::sync_with_stdio(false);
        cin.tie(NULL);
        cout.tie(NULL);
        #ifdef LOCAL
            freopen("input.txt","r",stdin);
            freopen("output.txt","w",stdout);
        #endif
    }
    ll ans;
    int x;
    const int N = 2e5 + 5;
    int main() {
        io();
        string s;
        int n, p;
        
      	cin >> s;
      	n = s.size()  	
      	map <int, int> f;
      	p = 2019;
        if(p == 2) {
            for(int i = 0; i < n; i++) {
                if((s[i] - '0') % 2 == 0) {
                    ans += (i + 1);
                }
            }
            cout << ans;
        }
        else if(p == 5) {
            for(int i = 0; i < n; i++) {
                if(s[i] == '5' || s[i] == '0') {
                    ans += (i + 1);
                }
            }
            cout << ans;
        }
        else {
            reverse(s.begin(), s.end());
            int num = 0;
            f[0] = 1;
            int t = 1;
            for(int i = 0; i < n; i++) {
                num = num + t * (s[i] - '0');
                t = t * 10 % p;
                num = num % p;
                f[num]++;


            }          

            for(auto it : f) {

                    ans += ((1LL * it.second * (it.second - 1)) / 2);

            }
            cout << ans;
        }



    }


Compiler output:
a.cc: In function 'int main()':
a.cc:28:21: error: expected ';' before 'map'
   28 |         n = s.size()
      |                     ^
      |                     ;
   29 |         map <int, int> f;
      |         ~~~          
a.cc:50:13: error: 'f' was not declared in this scope
   50 |             f[0] = 1;
      |             ^
Language: C

#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
#define rep(i,s,e) for(i64 (i) = (s);(i) < (e);(i)++)
#define all(x) x.begin(),x.end()

template<class T>
static inline std::vector<T> ndvec(size_t&& n, T val) noexcept {
  return std::vector<T>(n, std::forward<T>(val));
}

template<class... Tail>
static inline auto ndvec(size_t&& n, Tail&&... tail) noexcept {
  return std::vector<decltype(ndvec(std::forward<Tail>(tail)...))>(n, ndvec(std::forward<Tail>(tail)...));
}

template<class T, class Cond>
struct chain {
  Cond cond; chain(Cond cond) : cond(cond) {}
  bool operator()(T& a, const T& b) const {
    if(cond(a, b)) { a = b; return true; }
    return false;
  }
};
template<class T, class Cond>
chain<T, Cond> make_chain(Cond cond) { return chain<T, Cond>(cond); }

int main() {
  int s, w;
  cin >> s >> w;
  cout << (s <= w ? "unsafe" : "safe") << 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 <vector>
#include <algorithm>
#include <map>
#include <cstring>
#include <math.h>
#include <bitset>
#include <queue>
#include <set>
#include <iomanip>
#include <assert.h>
#include <cstdio>
// #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
constexpr long long int INFLL = 1001001001001001LL;
constexpr long long int infll = 1001001001001001LL;
constexpr int INF = 1000000007;
constexpr int inf = 1000000007;
const int mod = 1000000007;

//----------------------------------------------------------------

int main()
{
    ll s, w;
    cin >> s >> w;
    if (s <= w)
    {
        cout << "unsafe" << endl;
    }
    else
    {
        cout << "safe" << endl;
    }
}


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

// https://atcoder.jp/contests/abc164/tasks/abc164_a

#include "algorithm"
#include "bitset"
#include "cmath"
#include "functional"
#include "iomanip"
#include "iostream"
#include "map"
#include "numeric"
#include "queue"
#include "set"
#include "string"
#include "vector"
#define rep(i, to) for (ll i = 0; i < (to); ++i)
#define rep1(i, to) for (ll i = 1; i <= (to); ++i)
#define repf(i, from, to) for (ll i = from; i < (to); ++i)
#define repr(i, from) for (ll i = from - 1; i >= 0; --i)
#define all(vec) vec.begin(), vec.end()
#define unless(cond) if (!(cond))
#define fi first
#define se second
using namespace std;
typedef long long ll;
typedef long double ld;
template <typename T>
using V = vector<T>;
using VL = V<ll>;
using VVL = V<VL>;
template <typename T, typename U>
using P = pair<T, U>;
using PL = P<ll, ll>;
using VPL = V<PL>;

template <typename T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}

template <typename T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}

struct exit_exception : public std::exception {
  const char* what() const throw() { return "Exited"; }
};

template <typename T>
void drop(T res) {
  cout << res << endl;
  throw exit_exception();
}

const ll INF = 1e18;

void solve();

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

  try {
    solve();
  } catch (exit_exception& e) {
  }

  return 0;
}
#endif

void solve() {
  ll S, W;
  cin >> S >> W;

  if (W >= S) {
    drop("unsafe");
  } else {
    drop("safe");
  }
}


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

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

int main() {
  int S, W;
  cin >> S >> W;
  if (S<=W)
    cout << "unsafe\n";
  else
    cout << "safe\n";
  return 0;
}

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

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

int main() {
  int N;
  cin >> N;
  vector <string> S(200010);

  int counter = 0;

  for(int i=0; i<N; i++){
    cin >> S.at(i);
  }
  sort(S.begin(),S.end());
  reverse(S.begin(),S.end())
  for(int i=0;i<N-1;i++){
    if(S.at(i)!=S.at(i+1)){
      counter++;
    }
  }

  cout << counter << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:29: error: expected ';' before 'for'
   15 |   reverse(S.begin(),S.end())
      |                             ^
      |                             ;
   16 |   for(int i=0;i<N-1;i++){
      |   ~~~                        
a.cc:16:15: error: 'i' was not declared in this scope
   16 |   for(int i=0;i<N-1;i++){
      |               ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int a,b;
  cin>>a>>b;
  if(a=<b)printf("un");
  printf("safe\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: expected primary-expression before '<' token
    6 |   if(a=<b)printf("un");
      |        ^
Language: C

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define ff first
#define ss second

void io(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    #ifdef LOCAL
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
}
auto seed = chrono::high_resolution_clock::now().time_since_epoch().count();
mt19937_64 mt(seed);
#ifdef LOCAL
    #include "debug.h"
#else
    #define debug(...) 42
#endif

const int N = 2e3 + 50;
const int mod = 998244353 ;

int main(){
    io();

    int s, w;
    cin >> s >> w;
    if(s > w)
        cout << "safe";
    else
        cout << "unsafe";    

}



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

#include<iostream>
int main(){
int a,b;
  cin>>a>>b;
  if(a=<b)printf("un");
  printf("safe\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>a>>b;
      |   ^~~
      |   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:5:8: error: expected primary-expression before '<' token
    5 |   if(a=<b)printf("un");
      |        ^
Language: C++

#<iostream>
int main(){
int a,b;
  cin>>a>>b;
  if(a=<b)printf("un");
  printf("safe\n");
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #<
    1 | #<iostream>
      |  ^
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin>>a>>b;
      |   ^~~
a.cc:5:8: error: expected primary-expression before '<' token
    5 |   if(a=<b)printf("un");
      |        ^
a.cc:5:11: error: 'printf' was not declared in this scope
    5 |   if(a=<b)printf("un");
      |           ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #<iostream>
a.cc:6:3: error: 'printf' was not declared in this scope
    6 |   printf("safe\n");
      |   ^~~~~~
a.cc:6:3: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C

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

int main(){
  int s,w;
  cin >> s >> w;
  if(w >= s) cout << "unsafe" << endl;
  else cout << "safe" << 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>
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
using namespace std;

typedef long long ll;
typedef double db;
typedef long double ldb;

template<class T> inline void checkmin(T &a,const T &b){if(b<a) a=b;}
template<class T> inline void checkmax(T &a,const T &b){if(b>a) a=b;}

const int inf=1e9+10;

int s,w; 

int main(){
	scanf("%d%d",&s,&w);
	if(s<=w) printf("unsafe\n");
	else printf("safe\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

N = int(input())
lottery = []
while len(lottery) < N:
    lottery.append(input())
print(len(set(lottery)))


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | N = int(input())
      |     ^~~
Language: C

s = str(input())
  p=0
  for i in range(0, len(s)):
	for j in range(len(s)), i, -1):
		if int(s[i:j])%2019==0:
			p+=1
print(p)

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

import java.util.*;
public class Main{
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		long c = scan.nextLong();
		long d = scan.nextLong();
      	for(int i = 0; i < 1000000; i++);
		long aw = c-b;
		long t = a-d;
		if(aw>=t && aw>0){
			System.out.println("No");
          break;
		}
		else{
			System.out.println("Yes");
          break;
		}
    }
	}
}

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

#include <bits/stdc++.h>
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
  enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef DEBBY
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
    *this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "

#define ll long long
#define rep(i,a,b) for(int i=int(a); i<=int(b); i++)
#define sz(v)  (int)(v).size()
#define all(v) (v).begin(), (v).end()
#define pi pair<int,int>
#define vi vector<int>
#define vpi vector<pi>
#define fs first
#define sd second
#define pb push_back


void solve(){
   int w,s; cin >> s >> w;
   if(w>=s)
    cout << "unsafe";
    else 
    cout << "safe";
} 

int main(){
    ios_base::sync_with_stdio(false);
    cin.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()
{
	int y,l;
	cin >> y >> l;
	
	if(y>l)
	{
		cout << "safe" << endl;
		return 0;
	}
	else if(l>y)
	{
		cout << "unsafe" << endl;
		return 0;
	}
	else if(l=y)
	{
		cout << "unsafe" << 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;
 
typedef long long int ll;
#define endl "\n"
#define fi first
#define sec second 
#define pb push_back
#define test cout<<"debuged\n";
#define INF ll(1e18)
#define MOD 1000000007
#define debug(x) cout<<x<<"\n";
#define pll pair<ll,ll>
#define mp make_pair
#define Minato_Namikaze ios_base::sync_with_stdio(false) , cin.tie(NULL);
#define all(v) v.begin(),v.end()
#define MAX 200015
 
int main()
{
 
 
ll w,s;
cin>>w>>s;
if(w<=s)cout<<"unsafe\n";
else cout<<"safe\n";

}

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

#include <bits/stdc++.h>
#define rep(i,a,b) for(ll i=ll(a);i<ll(b);i++)
#define irep(i,a,b) for(ll i=ll(a);i>=ll(b);i--)
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; }
#define pb push_back
#define mp make_pair
#define F .first
#define S .second 
using ll=long long;
using ld=long double;
const ll INF = 1LL<<60;
const ll mod=1e9+7;
using namespace std;
ll GCD(ll a, ll b) { return b ? GCD(b, a%b) : a; }

int main(){
    ll s,w;
    cin>>s>>w;
    if(w>=s)cout<<"unsafe";
    else cout<<"safe";
    
}


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>
#include <map>
#include <math.h>
using namespace std;

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

	int strLength = S.size();
	int count = 0;

	const int n = 471; // 2019/3 = 673, 471*10+1 = 673*7 

	for (int i = 0; i < (strLength -3); i++)
	{
		for (int j = i+3; j < strLength; j++)
		{
			string numStr = S.substr(i, j - i + 1);
			long long num;
			if(j-i > 10){
				int length = j -i;
				int tmpi = i;
				int mod = 0;
				while (length > 10)
				{
					string tmpNumStr = (numStr.substr(tmpi,10));
					long long tmpNum = std::stoll(tmpNumStr) + mod * 10000000000;
					mod = tmpNum % 2019;

					length -= 10;
					tmpi += 10;
				}
				num = std::stoll(numStr.substr(tmpi, j-tmpi +1)) + mod * math::pow(10, j-tmpi+1);
			}else{
				num = std::stoll(numStr);
			}

			if(num % 2019 == 0){
				count++;
			}
		}
	}

	cout << count << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:36:90: error: 'math' has not been declared
   36 |                                 num = std::stoll(numStr.substr(tmpi, j-tmpi +1)) + mod * math::pow(10, j-tmpi+1);
      |                                                                                          ^~~~