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

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

int main()
{
	int n,m;
	cin >> n >> m;
	
	if(n<m)
	{
		cout<<"unsafe";
	}
	else
	cout<<"safe";
	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

#pragma region Macros
#include <bits/stdc++.h>
#define SORT(x) sort((x).begin(), (x).end())
#define RSORT(x) sort((x).rbegin(), (x).rend())
#define ALL(x) (x).begin(), (x).end()
#define REV(x) reverse(ALL(x))
#define rep(i, n) for (ll i = 0; i < n; i++)
#define reps(i, m, n) for (ll i = m; i < n; i++)
#define repr(i, m, n) for (ll i = m; i >= n; i--)
#define SP << " " <<
#define INF2 1000000000000000037
#define INF  1000000007
#define lwb(x,n) distance(x.begin(),lower_bound(ALL(x),(n)))
#define upb(x,n) distance(x.begin(),upper_bound(ALL(x),(n)))
#define fora(i, ...) if(ll i = -1) for(__VA_ARGS__) if(i++, true)
#ifdef _MY_DEBUG
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0,a1,a2,a3,x,...) x
#define debug_1(x1) cout<<#x1<<": "<<x1<<endl
#define debug_2(x1,x2) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<endl
#define debug_3(x1,x2,x3) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<", "#x3<<": "<<x3<<endl
#define debug_4(x1,x2,x3,x4) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<", "#x3<<": "<<x3<<", "#x4<<": "<<x4<<endl
#define de(...) CHOOSE((__VA_ARGS__,debug_4,debug_3,debug_2,debug_1,~))(__VA_ARGS__)
#else
#define de(...)
#endif
using namespace std;
using ll = long long;
using ld = long double;
template<class T = ll> using v = vector<T>;
template<class T = ll> using vv = vector<vector<T>>;
template<class T = ll> using vvv = vector<vector<vector<T>>>;
template<class T> bool maxi(T &a, const T &b){ if(a<b){a=b;return 1;}return 0;}
template<class T> bool mini(T &a, const T &b){ if(b<a){a=b;return 1;}return 0;}
template<class T> ll sumer(const T& a){ return accumulate(ALL(a),0LL); }
template<class T> void UNIQUE(vector<T> &a){ SORT(a);a.erase(unique(ALL(a)),a.end());}
template<class T, class U> ostream &operator<<(ostream &os, const pair<T,U> &pe) { os << pe.first << " " << pe.second; return os;}
template<class T> ostream &operator<<(ostream &os, const v<T> &ve) { rep(i,ve.size()) os<< (i?" ":"")<<ve[i]; return os;}
ll topbit(ll a) { return a==0?-1:63-__builtin_clzll(a);}
ll botbit(ll a) { return a==0?64:__builtin_ctzll(a);}
ll popcount(ll a) { return __builtin_popcountll(a);}
#define dame {cout<< retword <<"\n"; return;}
#pragma endregion
//--MODIFS---------------------------------
#pragma region Modifs
#define retword "-1"
#define MOD  1000000007
using P  = pair<ll,ll>;
using TP  = tuple<ll,ll,ll>;
#pragma endregion
//--GLOBAL---------------------------------

//--MAIN-----------------------------------
void Main() {
    ll S,W;
    cin>>S>>W;
    cout<< ( W>=S ? "unsafe" : "safe" )<<"\n";
}
//--START----------------------------------
int main() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    cout << fixed << setprecision(15);
    // ll Qkai; cin>>Qkai; rep(QQ,Qkai) Main();
    Main();
}
//-----------------------------------------

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

s,w = map(int, user_input().split())
if w >= s:
	print("unsafe")
else:
	print("safe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s,w = map(int, user_input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'w' [-Wimplicit-int]
    1 | s,w = map(int, user_input().split())
      |   ^
main.c:1:7: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s,w = map(int, user_input().split())
      |       ^~~
main.c:1:11: error: expected expression before 'int'
    1 | s,w = map(int, user_input().split())
      |           ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if w >= s:
      | ^~
Language: C

from sys import stdin

def main():
    s_w = [int(x) for x in stdin.readline().split()]
    if s_w[1] >= s_w[0]:
        print("unsafe")
    else:
        print("safe")

main()

Compiler output:
main.c:1:1: error: unknown type name 'from'
    1 | from sys import stdin
      | ^~~~
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    1 | from sys import stdin
      |          ^~~~~~
main.c:1:10: error: unknown type name 'import'
Language: C

s=int(input())
w=int(input())
if w>=s:
    print('unfair')
else:
    print('fair')


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s=int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: error: expected expression before 'int'
    1 | s=int(input())
      |   ^~~
main.c:4:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |     print('unfair')
      |           ^~~~~~~~
main.c:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('fair')
      |           ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'elce' was not declared in this scope
    9 |   elce{
      |   ^~~~
Language: C

#include<iostream> 
using namespace std;
int main() {
	int a, b;
	cin >> a >> b;
	if (a <= b)cout << "unsafe";
	else cout << "safe";
	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 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 <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: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(w>=s)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()
{
	int S,W;
	cin>>S>>W;
	if(W<S)
	cout<<"safe";
	else
	cout<<"unsafe";
	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, 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>
using namespace std;
int main()
{
  int s, w;
  
  scanf("%d %d", &s, &w);
    
  if(w >= s) {
    printf("unsafe");
  } else {
    printf("safe");
  }
  
   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;

#define fr(i,n) for(int i = 0; i<n; i++)
#define sz(v) (int)(v.size())
#define prin(a) cout << #a << " = " << a << endl
#define all(v) (v).begin(),(v).end()
typedef long long ll;

int main(){
	ll s, w;
	scanf("%lld%lld", &s, &w);
	if(w>=s) puts("unsafe");
	else puts("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

// 失敗するからこそ そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
#ifdef DAIJOBU
#include "/home/v-o_o-v/deb.h"
#define deb(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#include <bits/stdc++.h>
#define deb(x...)
#endif 

using namespace std;

#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define for1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define ford(i, n) for (int i = (int)(n) - 1; i >= 0; --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)

mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
 
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pii> vpi;
typedef long long lint;
typedef double ld;

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

    int s, w;
    cin >> s >> w;
    if(w >= s)puts("unsafe");
    else puts("safe");
    return 0;
}
// Write Here


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

#include <iostream>
#include <stdio.h>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
//合成数xはx**0.5以下の約数を持つ
int main(){
    int x,y;
    cin>>x>>y;
    if (x>y){
        cout<<"safe"<<endl;
    }
    else{
        cout<<"unsafe"<<endl;
    }
}

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

#include<iostream>
#include<string>
using namespace std;


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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: expected '(' before 'cout'
   11 |     else if cout << "unsafe"<< endl;
      |             ^~~~
      |             (
Language: C

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

int main() {
  int Sheep, Wolf;
  cin >> Sheep; 
  cin >> Wolf;
  if(Sheep > Wolf){
    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<bits/stdc++.h>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    if(a>b)    cout<<"safe"<<endl;
    else    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;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'ekse' was not declared in this scope
    9 |   } ekse {
      |     ^~~~
Language: C

const lines: string[] = [];
const reader = require("readline").createInterface({
  input: process.stdin,
  output: process.stdout,
});
reader.on("line", function (line: string) {
  lines.push(line);
});

reader.on("close", function () {
  const input = (lines[0] as string).split(" ");
  const hNum = Number(input[0]);
  const wNum = Number(input[1]);

  console.log(wNum >= hNum ? "unsafe" : "safe");
});


Compiler output:
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    1 | const lines: string[] = [];
      |            ^
main.c:2:7: error: type defaults to 'int' in declaration of 'reader' [-Wimplicit-int]
    2 | const reader = require("readline").createInterface({
      |       ^~~~~~
main.c:2:16: error: implicit declaration of function 'require' [-Wimplicit-function-declaration]
    2 | const reader = require("readline").createInterface({
      |                ^~~~~~~
main.c:2:35: error: request for member 'createInterface' in something not a structure or union
    2 | const reader = require("readline").createInterface({
      |                                   ^
main.c:2:52: error: expected expression before '{' token
    2 | const reader = require("readline").createInterface({
      |                                                    ^
main.c:6:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    6 | reader.on("line", function (line: string) {
      |       ^
main.c:8:2: error: expected identifier or '(' before ')' token
    8 | });
      |  ^
main.c:10:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
   10 | reader.on("close", function () {
      |       ^
main.c:16:2: error: expected identifier or '(' before ')' token
   16 | });
      |  ^
Language: C

S, W = map(int,input().split())
print('unsafe'if W >= S else 'safe')



Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S, W = map(int,input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'S' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'W' [-Wimplicit-int]
    1 | S, W = map(int,input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | S, W = map(int,input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | S, W = map(int,input().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print('unsafe'if W >= S else 'safe')
      | ^~~~~
main.c:2:7: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    2 | print('unsafe'if W >= S else 'safe')
      |       ^~~~~~~~
main.c:2:30: warning: multi-character character constant [-Wmultichar]
    2 | print('unsafe'if W >= S else 'safe')
      |                              ^~~~~~
Language: Java

    public static void main(String[] args) {
        int n1 = Integer.parseInt(args[0]);
        int n2 = Integer.parseInt(args[1]);
 
        if (n2 >= n1) System.out.println("unsafe");
        else System.out.println("safe");
    }

Compiler output:
Main.java:1: 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)
1 error
Language: C++

#include<iostream>

using namespace std;

int main() {
	int s,w;
	cin>>s>>w;
	cout<<(s>w "safe":"unsafe")<<endl;
	return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: expected ')' before string constant
    8 |         cout<<(s>w "safe":"unsafe")<<endl;
      |               ~   ^~~~~~~
      |                   )
Language: C++

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
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>>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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"unsafe";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout<<"safe";
      |     ^~~~
      |     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;

int s, w;

int main() {
  cin >> s >> w;

  if (w >= s) {
    printf("unsafe")
  }
  else {
    printf("safe")
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected ';' before '}' token
   10 |     printf("unsafe")
      |                     ^
      |                     ;
   11 |   }
      |   ~                  
a.cc:13:19: error: expected ';' before '}' token
   13 |     printf("safe")
      |                   ^
      |                   ;
   14 |   }
      |   ~
Language: C

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

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

    ll s, w; cin >> s >> w;

    if (w>=s) 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 m,s;
	cin>>m>>s;
	if(m>s||m==s){
		cout<<"unsafe";
	}
	else{
		cout<<"safe";
	}
	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 int long long
#define itn int
#define fi first
#define se second
#define be begin()
#define en end()
#define reverse
const int mod=1000000007;
const int INFi=2147483647;
const long long INFl=9223372036854775807LL;
template<typename T> T abs(T a,T b){
  return max(a,b)-min(a,b);
}
signed main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int s,w;
  cin>>s>>w;
  if(s<=w) 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 <iostream>
using namespace std;

int main()
{
  int S,W;
  string result;
  cin >> S >> W;

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

  cout << result << endl;
}

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

#include<stdio.h>
int main()
{
	int S, W;
	scanf_s("%d %d", &S, &W);
		if (S > W)
			printf("safe");
		else
			printf("unsafe");

}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d %d", &S, &W);
      |         ^~~~~~~
      |         scanf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected primary-expression before '>' token
    5 |   cin>>>s>w;
      |        ^
Language: C++

#include <iostream>
using namespace std;

int main()
{
    int sheep, wolves;
    cin >> sheep >> wovles;
    
    if (wolves >= sheep)
    {
        cout << "unsafe";
    }
    
    else
    {
        cout << "safe";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: 'wovles' was not declared in this scope; did you mean 'wolves'?
    7 |     cin >> sheep >> wovles;
      |                     ^~~~~~
      |                     wolves
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:
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 int
const int N=1e3;

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

	#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";
	else
		cout<<"safe";

	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 INF (int)1e9
#define endl "\n"
#define ll long long
#define ull unsigned long long

using namespace std;

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

    cout << (n > m ? "safe" : "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<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:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main()
{
  int a,b;
  cin>>a;
  cin>>b;
  if(a>b)
  {
    cout<<"safe";
  }
  else
  {
    cout<<"unsafe";
  }
  
}

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

S, W = map(int, input().split())

print('safe' if S > W else 'unsafe')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S, W = map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'S' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'W' [-Wimplicit-int]
    1 | S, W = map(int, input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | S, W = map(int, input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | S, W = map(int, input().split())
      |            ^~~
main.c:3:1: error: expected ',' or ';' before 'print'
    3 | print('safe' if S > W else 'unsafe')
      | ^~~~~
main.c:3:7: warning: multi-character character constant [-Wmultichar]
    3 | print('safe' if S > W else 'unsafe')
      |       ^~~~~~
main.c:3:28: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    3 | print('safe' if S > W else 'unsafe')
      |                            ^~~~~~~~
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: In function 'int main()':
a.cc:12:9: error: expected ';' before '}' token
   12 | return 0
      |         ^
      |         ;
   13 | }
      | ~
Language: Java

import java.util.Scanner;

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


    
  

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

#include <iostream>                                                                                                     using namespace std;
using namespace std;]

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

Compiler output:
a.cc:1:121: warning: extra tokens at end of #include directive
    1 | #include <iostream>                                                                                                     using namespace std;
      |                                                                                                                         ^~~~~
a.cc:2:21: error: expected unqualified-id before ']' token
    2 | using namespace std;]
      |                     ^
Language: C++

#include<bits/stdc++.h>
int main()
{
   ios_base::sync_with_stdio(false);
   cin.tie(NULL);
   long long int sheeps,wolf;
   cin>>sheeps>>wolf;
   if(wolf>=sheeps)
   {
     cout<<"unsafe"<<endl;
   }
   else
   {
     cout<<"safe"<<endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:4: error: 'ios_base' has not been declared
    4 |    ios_base::sync_with_stdio(false);
      |    ^~~~~~~~
a.cc:5:4: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |    cin.tie(NULL);
      |    ^~~
      |    std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:10:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |      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:10:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |      cout<<"unsafe"<<endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |      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:14:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |      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>
using namespace std;

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

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

int main() {
 int S,W;
  cin >> S >> W ;
  if (S <= W){
  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;

int main()
{
    int S,W;
    cin >> S >> W;
    if(W < S){
        cout<<"safe"<<endl;
    }else {
        cout<<"unsafe"<<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
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define in insert
#define sz(x) (int)x.size()
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define speed ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
const int INF = 1e18 + 5;
const int mod = 1e9 + 7;
const int  N = 2e5 + 314;
const long double pi = 3.1415926535897932384626433832795;
int bp(int pow, int n){
    int d = 1;
    while(n)
    {
        if(n%2==1)d=(d*pow)%mod;
        pow=(pow*pow)%mod;
        n/=2;
    }
    return d;
}
void solve(){
    int n, m;
    cin>>n>>m;
    if(n<=m)cout<<"unsafe";
    else cout<<"safe";
}
signed main(){
    speed;
    int t=1;
    //cin>>t;
    while(t--)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<iostream>
#include<vector>

using namespace std;

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

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

S,W=map(int, input().split())
if W>=S:
    print("unsafe")
else:
    print("safe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S,W=map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'S' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'W' [-Wimplicit-int]
    1 | S,W=map(int, input().split())
      |   ^
main.c:1:5: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | S,W=map(int, input().split())
      |     ^~~
main.c:1:9: error: expected expression before 'int'
    1 | S,W=map(int, input().split())
      |         ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if W>=S:
      | ^~
Language: C

#include<bits/stdc++.h>
using namespace std;
int s,w;
int main(){
  cin>>s>>w;
  cout<<(s>w?"safe":"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 <bits/stdc++.h>
using ll = long long;
using namespace std;

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

  int S, W; 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++

using namespace std;

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


Compiler output:
a.cc:4:1: error: extended character 　 is not valid in an identifier
    4 | 　int a ,b;
      | ^
a.cc: In function 'int main()':
a.cc:4:1: error: '\U00003000int' was not declared in this scope
    4 | 　int a ,b;
      | ^~~~~
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b;
      |               ^
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << "safe" << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:23: error: 'endl' was not declared in this scope
    7 |     cout << "safe" << endl;
      |                       ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "unsafe" <<endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:28: error: 'endl' was not declared in this scope
   10 |         cout << "unsafe" <<endl;
      |                            ^~~~
a.cc:10:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include<iostream>
//#include<vector>

int main(){
	int s,w;
	std::cin>>s>>w;

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

	return 0;
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: expected unqualified-id before '>>' token
    6 |   int >>S;
      |       ^~
a.cc:7:7: error: expected unqualified-id before '>>' token
    7 |   int >>W;
      |       ^~
a.cc:8:6: error: 'S' was not declared in this scope
    8 |   if(S <= W){
      |      ^
a.cc:8:11: error: 'W' was not declared in this scope
    8 |   if(S <= W){
      |           ^
Language: C

#include<bits/stdc++.h>
#define pb push_back
#define mp make_pair
using namespace std;

int main(){
	int s,w; cin >> s >> w;
	s>w?cout<<"safe"<<endl: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

using System;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        var inputs = Console.ReadLine()
            .Split(' ')
            .Select(txt => int.Parse(txt))
            .ToList();
        var s = inputs[0];
        var w = inputs[1];
        Console.WriteLine(s <= w ? "unsafe" : "safe");
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Linq;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Linq;
      |             ^
main.c:4:1: error: unknown type name 'class'
    4 | class Program
      | ^~~~~
main.c:5:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    5 | {
      | ^
Language: C

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

int main() {
  int s, w;
  cin >> s >> w;
  if (w >= s) puts("unsafe");
  else puts("safe");
 	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

// Written By Mahtab Tanim
#include<bits/stdc++.h>
using namespace std;
#define MP ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define nl "\n"
#define End return 0
#define ll long long int
#define mp make_pair
#define pb push_back
#define ull unsigned long long int
#define pi acos(-1)
#define forn(i,a,b) for (int i=a;i<=b;i++)
int main()
{
    int s,w;
    cin>>s>>w;
    if(w>=s) cout<<"Unsafe"<<endl;
    else cout<<"Safe"<<nl;
End;
}


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: expected primary-expression before ')' token
   12 |         else()
      |              ^
Language: C

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

 
int main(){
  double s;
  int w;
  cin >> s >> w;
  if(s/2<=w){
    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 int long long int
const int N=1e3;

int32_t main(){
	ios::sync_with_stdio(false);
	cin.tie(NULL);

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

	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 rep(i, n) for(int i = 0; i < (n); ++i)
using ll = long long;
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: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(w<s)
        cout<<"safe";
    else
        cout<<"unsafe";
    return 0;
}


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

#include<iostream>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    if(a>b)    cout<<"safe"<<endl;
    else    cout<<"unsafe"<<endl;
    return 0;
}
 

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

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

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;


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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected primary-expression before ')' token
   11 |         else(){
      |              ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:23: error: expected ';' before 'if'
    5 |   scanf("%d %d",&S,&W)
      |                       ^
      |                       ;
    6 |    if(S>W)
      |    ~~                  
main.c:8:3: error: 'else' without a previous 'if'
    8 |   else
      |   ^~~~
Language: C

S, W = map(int,input().split())
if W >= S:
    print("unsafe")
else:
    print("safe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S, W = map(int,input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'S' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'W' [-Wimplicit-int]
    1 | S, W = map(int,input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | S, W = map(int,input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | S, W = map(int,input().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if W >= S:
      | ^~
Language: C

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

int main() {
 int S,W;
  cin >> S >> W ;
  if (S <= W){
  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;

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

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(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.c:1:1: error: unknown type name 'import'
    1 | import java.io.BufferedReader;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.BufferedReader;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.io.InputStreamReader;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.InputStreamReader;
      |            ^
main.c:3:1: error: unknown type name 'import'
    3 | import java.util.Scanner;
      | ^~~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.util.Scanner;
      |            ^
main.c:5:1: error: unknown type name 'class'
    5 | class Main {
      | ^~~~~
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    5 | class Main {
      |            ^
Language: C

#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <cmath>
#include <functional>
#include <set>
#include <ctime>

using namespace std;
typedef long long ll;

int __gcd(int x, int y)
{
    if (y == 0) return x;
    return __gcd(y, x % y);
}


int main(){
    int s, w, a;
    cin >> s >> w;
    if (w >= s) {
        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

N, M = map(int,input().split())
print("unsafe" if N<=M else "safe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | N, M = map(int,input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'N' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'M' [-Wimplicit-int]
    1 | N, M = map(int,input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | N, M = map(int,input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | N, M = map(int,input().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print("unsafe" if N<=M else "safe")
      | ^~~~~
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: In function 'int main()':
a.cc:10:16: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
   10 |     cout<"safe"<<endl;
      |          ~~~~~~^~~~~~
Language: Java

import java.util.Scanner;

public class A {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sheep = sc.nextInt();
        int wolf = sc.nextInt();
        if (sheep <= wolf) {
            System.out.println("unsafe");
        } else {
            System.out.println("safe");
        }
    }
}

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

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

int main() {
  int Sheep, Wolf;
  cin >> Sheep; cin >> Wolf;
  if(Sheep > Wolf)
    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 <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;

const int_least64_t INF = 10000000;

int main(){
    //cin coutを高速化
	std::ios::sync_with_stdio(false);
	std::cin.tie(0);
	std::cout.tie(0);

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

    if(w >= s){
        cout << "unsafe" << endl;
    } else {
        cout << "safe" << 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;
int main() {
 int a,b;
  cin >> a,b;
  if(a>b){
    cout << "safe" << endl;
  }
    else{
      cout "unsafe" <<endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: expected ';' before string constant
   10 |       cout "unsafe" <<endl;
      |           ^~~~~~~~~
      |           ;
Language: C

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

int main() {
  
  int >>S;
  int >>W;
  if(S <= W){
    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>
#define ll long long int

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   13 |   cin>>s>>w;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:16:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |     cout<<"unsafe";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:19:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |     cout<<"safe";
      |     ^~~~
      |     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<stdio.h>
int main(){
  int sheep,wolf;
  scanf("%d %d",&sheep,&wolf);
  if(sheep <= wolf){
    printf("unsafe\n")}
  else{printf("safe\n")};
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before '}' token
    6 |     printf("unsafe\n")}
      |                       ^
      |                       ;
main.c:7:24: error: expected ';' before '}' token
    7 |   else{printf("safe\n")};
      |                        ^
      |                        ;