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

#include<bits/stdc++.h>
using namespace std;
const int N =100005;
int a[N],b[N];
int main(){
	int a,b;
	cin>>a>>b;
	if(b>=a)printf("unsafe\n");
	else printf("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>
#include <iomanip>
using namespace std;

int main(int argc, char *argv[]) {
    int s,w;
    cin >> s >> w;
    if(s>w) cout << "safe" << endl;
    else cout << "unsafe" << endl;
    return 0;
}


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

//AUTHOR: RAVAN_2070
//PUNE INSTITUTE OF COMPUTER TECHNOLOGY
/*                                                    
      I LOVE CLARICE STARLING...                                                               
        EXPLAINATION BELOW->
*/
#include<bits/stdc++.h>
using namespace std;
typedef unsigned long long int ull;
typedef long long int ll;
typedef long double ld;
typedef vector<ll> vi;
typedef vector<pair<ll,ll>> vii;
typedef pair<ll,ll> pii;
typedef map<ll,ll> mii;
#define MOD7 1000000007
#define MOD9 1000000009
#define pi 3.1415926535
#define Test_cases ll TC;cin>>TC;while(TC--)
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define all(x) x.begin(),x.end()
#define rall(x) x.rbegin(), x.rend()
#define sp(x) fixed<<setprecision(x)
#define sz(x) (ll)(x.size())
#define fo(i,a,b) for(i=a;i<b;i++)
#define foe(i,a,b) for(i=a;i<=b;i++)
void solve()
{
  int s,w;cin>>s>>w;
  if(w>=s)cout<<"unsafe\n";
  else cout<<"safe\n";
}
int main()
{
   fastio
   solve();
  return 0;
}
//map<ll,ll,greater<int>> to sort in descending order ,in iterator declaration no greater<int>
//if you want to apply lowerbound on set use s.lower_bound(key),not the one used for vector
// Syntax to create a min heap for priority queue priority_queue <int, vector<int>, greater<int>>; 
/* TIPS FOR DEBUGGING
 * Check if values are not overflowing (use long long where required)
 * Check if ranges are inclusive or not.
 * Check properly if greedy will work or not before using it.
 * Check EDGE CASES!! Seriously, even in 2B, saving 8 points by being
 * 2 minutes faster will bite you in the ass if you don't make sure
 * it works on edge cases.
 * Keep adding to this list.
*/


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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
 
#define REPI(i, a, n)	for(ll (i)=(a);(i)<(int)(n);(i++))
#define REP(i,n) REPI(i,0,n)
#define REP1(i,n) for(ll (i)=1;(i)<=(n);(i++))
#define ALL(x) x.begin(), x.end()
#define MAX(x) *max_element(ALL(x))
#define MIN(x) *min_element(ALL(x))
 
struct ProconInit {
	static constexpr int IOS_PREC = 15;
	static constexpr bool AUTOFLUSH = false;
 
	ProconInit() {
		cin.tie(nullptr);
		ios::sync_with_stdio(false);
		cout << fixed << setprecision(IOS_PREC);
		if (AUTOFLUSH)
			cout << unitbuf;
	}
} PROCON_INIT;
 
template<typename T>
int contains(std::vector<T> vec, int number) {
	auto itr = std::find(vec.begin(), vec.end(), number);
	size_t index = std::distance(vec.begin(), itr);
	if (index != vec.size()) { // 発見できたとき
		return 1;
	}
	else { // 発見できなかったとき
		return 0;
	}
}
ll gcd(ll a, ll b) {
	if (a < b)swap(a, b);
	if (a % b == 0)return b;
	return gcd(a % b, b);
}
ll lcm(ll a, ll b) {
	return a / gcd(a, b) * b;
}
ll fact(ll n) {
	ll m;
	if (n == 0) {
		return 1;
	}
	m = fact(n - 1);
	return n * m;
}
 
ll Combination(unsigned long long n, unsigned long long r) {
	if (r * 2 > n) r = n - r;
	uintmax_t dividend = 1;
	uintmax_t divisor = 1;
	for (unsigned int i = 1; i <= r; ++i) {
		dividend *= (n - i + 1);
		divisor *= i;
	}
	return dividend / divisor;
}
 
struct vec {
	ll x, y;
 
	bool operator == (const vec &v) const{
		return x == v.x && y == v.y;
	}
 
};
 
namespace std {
	template<>
	class hash<vec> {
	public:
		size_t operator () (const vec& p) const { return p.x%SIZE_MAX; }
	};
}

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

Compiler output:
a.cc:4:5: error: expected unqualified-id before ')' token
    4 | int() main{
      |     ^
Language: C

s, w = [int(i) for i in 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 = [int(i) for i in 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 = [int(i) for i in input().split()]
      |    ^
main.c:1:8: error: expected expression before '[' token
    1 | s, w = [int(i) for i in input().split()]
      |        ^
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if w >= s :
      | ^~
main.c:4:9: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |   print('unsafe')
      |         ^~~~~~~~
main.c:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('safe')
      |         ^~~~~~
Language: Java

import java.util.Scanner;
public class Problem {
   
    public static void main(String[] args) { 
		Scanner sc = new Scanner(System.in);
int S=sc.nextInt();
int W=sc.nextInt();
if(S<=W){
    System.out.println("Unsafe");
}
else
{
    System.out.println("Safe");
}


    } 
}


Compiler output:
Main.java:2: error: class Problem is public, should be declared in a file named Problem.java
public class Problem {
       ^
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 LOCAL
~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 cool ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define int  long long int
#define pb push_back
#define fe first
#define lb lower_bound 
#define ub upper_bound
#define pii pair<pair<int,int>,pair<int,int> >
#define se second
#define endl "\n"
#define pi pair<int, int>
#define mi          map<int,int>
#define mii         map<pi,int>
#define vi vector<int> 
#define vvi vector<vi>
#define bs   binary_search
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rep1(i,a,b) for(int i=a;i<=b;i++)	
#define all(c) (c).begin(),(c).end()
#define sz(x)       (int)x.size() 
#define PI 3.14159265358979323846

 const int N=2e5+5;

 int mod= 1e9+7;
 int dx[4]={0,0,+1,-1};
 int dy[4]={+1,-1,0,0};  
 
 
int po(int a, int b) {
	a %= mod;
	int res = 1;
	while (b > 0) {
		if (b & 1)
			res = (res * a) % mod;
		a =(a*a) % mod;
		b >>= 1;
	}
	 return res;	
   }
  


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

    
int32_t main() {
	cool;
	int t=1;
	//cin>>t;
	while(t--)
	solve();


return 0;	   
}


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

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

const static ll MOD = (1e+9)+7;

ll modpow(ll a,ll n){
    if(n==0)return 1;
    if(n%2==1)return a*modpow(a,n-1)%MOD;
    ll t = modpow(a,n/2) % MOD;
    return t*t % MOD;
}

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

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
1 error
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 <stdio.h>
 
int main(){
 
  	int S,W;
  	if(scanf("%d%d",&S,&W); < 2) {
      fprintf(stderr, "error: ill-formed fraction.\n");
      exit(1);
	}
  
	if(S > W){
    	printf("safe");
    } else {
    	printf("unsafe");
    }
  	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:31: error: expected ')' before ';' token
    6 |         if(scanf("%d%d",&S,&W); < 2) {
      |           ~                   ^
      |                               )
main.c:8:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    8 |       exit(1);
      |       ^~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    1 | #include <stdio.h>
  +++ |+#include <stdlib.h>
    2 | 
main.c:8:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    8 |       exit(1);
      |       ^~~~
main.c:8:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C++

#include <iostream>
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:
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before '<' token
    7 |   if(s =< w) {
      |         ^
Language: C

#include<bits/stdc++.h>
#define fastio std::ios_base::sync_with_stdio(false), std::cout.tie(0), std::cin.tie(0);
#define N 100007
#define mxx INT_MAX

typedef long long ll;

int main(){
	int num1,num2;
	std::cin>>num1>>num2;
	if(num2>=num1)std::cout<<"unsafe";
	else std::cout<<"safe";
}

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

main(int argc, int *argv[]){
	if(argv[0] > argv[1]){
    	printf("safe");
    } else {
    	printf("unsafe");
    }
  	return 0:
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(int argc, int *argv[]){
      | ^~~~
main.c: In function 'main':
main.c:3:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    3 |         printf("safe");
      |         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | main(int argc, int *argv[]){
main.c:3:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    3 |         printf("safe");
      |         ^~~~~~
main.c:3:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    5 |         printf("unsafe");
      |         ^~~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:17: error: expected ';' before ':' token
    7 |         return 0:
      |                 ^
      |                 ;
Language: C++

#include <iostream>
#include <vector>
#include <queue>
#include <unordered_map>
#include <climits>
#include <algorithm>
#include <cmath>
#include <bitset>
#include <cstdio>
#include <cstring>
#include <stack>
#include <iomanip>
#include <set>
#include <map>

using namespace std ;

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



}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:29: error: expected ';' before '}' token
   28 |                 cout<<"safe"
      |                             ^
      |                             ;
   29 |         }
      |         ~
Language: Java

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

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

#include<bits/stdc++.h>

#define endl '\n'
#define fi first
#define se second
#define fast ios_base::sync_with_stdio(0);cin.tie(0);
#define ALL(v) v.begin(), v.end()
#define ALLR(v) v.rbegin(), v.rend()
#define deb cout<<"HOLA\n";
#define UNIQUE(v) (v).resize(unique(ALL(v))-(v).begin())
#define forn(i,n) for (int i = 0; i < n; i++)
#define forr(i,a,b) for (int i = a; i <= b; i++)
#define bs(v,f) binary_search(ALL(v),f)
#define lb(v,f) lower_bound(ALL(v),f)
#define ub(v,f) upper_bound(ALL(v),f)
#define pb push_back

using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef string str;
typedef long double ld;
typedef pair<int, int> ii;
typedef pair<ii, int> iii;
typedef vector<int> vi;
typedef vector<vector<int> > vvi;
typedef vector<ll> vl;
typedef vector<ii> vii;

void solve(){
	int n,m;
	cin>>n>>m;
	if(n<m)cout<<"unsafe";
	else cout<<"safe";
}
int main(){
	/*int t;
	cin>>t;
	while(t--)*/
		solve();
	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 a,b;
    cin>>a>>b;
    cout<<(b>=a?"unsafe":"safe")<<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 <stdio.h>
#include <iostream>
const int maxn = 100010;
using namespace std;
int a[maxn];
int main()
{
        int n,m;
        scanf("%d%d",&n,&m);
        if(m >= n)
            printf("unsafe\n");
        else
            printf("safe\n");

}


Compiler output:
main.c:2:10: fatal error: iostream: No such file or directory
    2 | #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: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 :
      | ^~
main.c:3:12: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    3 |     print( 'unsafe' )
      |            ^~~~~~~~
main.c:5:12: warning: multi-character character constant [-Wmultichar]
    5 |     print( 'safe' )
      |            ^~~~~~
Language: C

#include <iostream>
  
int main() {
    int S, W;
    std::cin >> S >> W;

    std::cout << ((S <= W) ? "unsafe" : "safe") << std::endl;
    return 0;
}

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

#include <iostream>

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

    std::cout << (S <= W) ? "unsafe" : "safe" << std::endl;
    return 0;
} 

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

#include <iostream>

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

    std::cout << (S <= W) ? "unsafe" : "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;
#define rep(i,n) for(int i=0;i<(n);i++)
using ll = long long;
using p = pair<int,int>;

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

#ifndef DEBUG
#define endl '\n'
#define debug(...)
#else
#define debug(...) __VA_ARGS__
#endif
#define debugf(...) debug(printf(__VA_ARGS__);)

const int N = 1e5 + 5;



int (((((main)))))() <%
    ios_base::sync_with_stdio(false);
    cin.tie(0); 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:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

int main() {
  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:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>S>>W;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<"unsafe\n";
      |     ^~~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"safe\n";
      |     ^~~~
Language: C

  
#include<iostream>
using namespace std;

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


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

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

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

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()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);

    int n,m;
    cin>>n>>m;

    if(m>=n)
        cout<<"unsafe";
    else
        cout<<"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

#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:
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 a,b;
  cin>>a>>b;
  
  if a>b
    cout<<"safe";
  else
    cout<<"unsafe";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: expected '(' before 'a'
    9 |   if a>b
      |      ^
      |      (
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else
      |   ^~~~
Language: C

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

using i64 = int_fast64_t;
using f64 = double;

constexpr i64 INF = INT_FAST64_MAX / 2;
constexpr f64 EPS = DBL_EPSILON;

void solve() {
    i64 s, w;
    cin >> s >> w;
    cout << (s <= w ? "unsafe" : "safe") << endl;
}

int main() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    cout << fixed << setprecision(15);
    solve();
}


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

#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <fstream>
#include <cassert>
#include <cstring>
#include <unordered_set>
#include <unordered_map>
#include <numeric>
#include <ctime>
#include <bitset>
#include <complex>
#include <chrono>
#include <random>
#include <functional>

using namespace std;

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

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


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



def read_int():
    return int(input().strip())


def read_ints():
    return list(map(int, input().strip().split(' ')))


def solve():
    S, W = read_ints()
    return 'unsafe' if W >= S else 'safe'


if __name__ == '__main__':
    print(solve())


Compiler output:
main.c:3:1: error: unknown type name 'def'
    3 | def read_int():
      | ^~~
main.c: In function 'read_int':
main.c:3:15: error: expected declaration specifiers before ':' token
    3 | def read_int():
      |               ^
main.c:13:12: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
   13 |     return 'unsafe' if W >= S else 'safe'
      |            ^~~~~~~~
main.c:13:36: warning: multi-character character constant [-Wmultichar]
   13 |     return 'unsafe' if W >= S else 'safe'
      |                                    ^~~~~~
main.c:16:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   16 | if __name__ == '__main__':
      |                ^~~~~~~~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
 
#define ll long long
#define ld long double
#define pb push_back
 
#define sec second
#define fir first
#define mo  998244353
#define inf 1e18
#define rep(i, s, n) for (ll i = s; i < n; i = i + 1)
#define rrep(i,s,n) for(ll i=s;i>=n;i--)
#define adiii\                               
  ios_base::sync_with_stdio(false);\                                      
  cin.tie(NULL);\
  cout.tie(NULL);									
 
ll mod(ll n) { return (n % (ll)mo + (ll)mo)%(ll)mo;}
ll gcd(ll a,ll b) {if (b == 0) return a;return gcd(b, a % b);}

int main(){
	adiii
	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>
using namespace std;
int Main(){
  int a,b;
  cin>>a>>b;
  if (a>b) cout<<"safe";
  else cout<<"unsafe";
  return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include <bits/stdc++.h>
using namespace std;
#define x first
#define y second
#define SZ(x) x.size()
#define POP __builtin_popcount
#define CLZ __builtin_clz
#define CTZ __builtin_ctx
constexpr int INF {INT_MAX};
constexpr float INFF {FLT_MAX};
constexpr long long INFL {LLONG_MAX};
#define float long double
#define int long long

main(){
	ios::sync_with_stdio(0);
	cin.tie(0);
	cout.setf(ios::fixed);
	int a,b;
	cin>>a>>b;
	if (b>=a) cout <<"unsafe\n";
	else cout << "safe\n";
	
}


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

#include <bits/stdc++.h>

#define endl '\n'
#define fi first
#define se second
#define MOD(n,k) ( ( ((n) % (k)) + (k) ) % (k))
#define forn(i,n) for (int i = 0; i < n; i++)
#define forr(i,a,b) for (int i = a; i <= b; i++)
#define all(v) v.begin(), v.end()
#define pb(x) push_back(x)

using namespace std;

typedef long long ll;
typedef long double ld;
typedef pair<int, int> ii;
typedef vector<ll> vi;
typedef vector<vi> vvi;
typedef vector<ii> vii;

int s, w;

int main () {
	ios_base::sync_with_stdio(0); cin.tie(0);
	
	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 << "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

s, w = map(int, input().split())
if s <= w:
	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 s <= w:
      | ^~
Language: C

#include<bits/stdc++.h>
//#include <iostream>
//#include <iomanip>
//#include <vector>
//#include <cmath>
//#include <algorithm>
using namespace std;


#define F first
#define PB push_back
#define MP make_pair

typedef  long long ll;

ll p = pow(10, 9) + 7;





int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    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<bits/stdc++.h>
//#include <iostream>
//#include <iomanip>
//#include <vector>
//#include <cmath>
//#include <algorithm>
using namespace std;


#define F first
#define PB push_back
#define MP make_pair

typedef  long long ll;

ll p = pow(10, 9) + 7;





int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
  int s, w;
  cin >> s >> w;
  if(s > w){
    cout << "save" << 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 <string>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
#include <math.h>
#include <limits>

template <typename T>
void vc(T t) {
    std::cout << t << " ";
}

template<typename T, typename... Args>
void vc(T t, Args... args) {
// recursive variadic function
    std::cout << t << " ";
    vc(args...) ;
}

const int N = 1;
int a[N];
void once() {
  int s, w;
  std::cin >> s >> w;
  if (w >= s) {
    std::cout << "unsafe" << std::endl;
  } else {
    std::cout << "safe" << std::endl;
  }
}

int
main() {
  int n = 1;
  std::ios::sync_with_stdio(false);
  // std::cin >> n;
  while (n--) {
    once();
  }
}

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 all(c) c.begin(), c.end()
#define gmax(x,y) x=max(x,y)
#define gmin(x,y) x=min(x,y)
#define gadd(x,y) x=add(x,y)
#define gmul(x,y) x=mul(x,y)
using namespace std;

typedef pair<int,int> pii;
typedef long long ll;
typedef vector<int> vi;

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


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

#ifdef DEBUG

#else

#    pragma GCC optimize("O3,no-stack-protector")
#    pragma GCC optimize("unroll-loops")

#    if __cplusplus >= 201703L
#        pragma GCC target("avx2")
#    else
#        pragma GCC target("avx")
#    endif

#endif
// 実数の場合
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")

#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define dump(x) cout << x << endl
typedef int64_t Int;
typedef long double Ld;

using namespace std;
using Graph = vector<vector<Int>>;

const double pi = M_PI;
const Int MOD = 1000000007;

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

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

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

    return 0;
}


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

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

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    
    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;
  cout << (w >= s)? "unsafe": "safe" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:38: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |   cout << (w >= s)? "unsafe": "safe" << endl;
      |                               ~~~~~~~^~~~~~~
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc:8:31: warning: missing terminating " character
    8 |   cout << (w >= s)? "unsafe": "safe << endl;
      |                               ^
a.cc:8:31: error: missing terminating " character
    8 |   cout << (w >= s)? "unsafe": "safe << endl;
      |                               ^~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: expected primary-expression before 'return'
    9 |   return 0;
      |   ^~~~~~
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:
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"<<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;
#define int long long
int32_t main()
{
    ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    int s,w;
    cin>>s>>w;
    if(w>=s)
    {
        cout<<"unsafe";
    }
    else
    {
        cout<<"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

#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 <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:
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";
  else
    cout<<"unsafe";
  return0;
   
}
  

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define INF 1LL<<62
#define inf 1000000007

ll u2019[12],u2020[12],ans,ch,sum;
int main() {
	cout << "持続化給付金最大化ツール"<<endl;
	cout << "2019年の各月収入を入れて下さい"<<endl;
	for(ll i=0;i<12;i++){
		cout << "2019年"<<i+1<<"月の売上を入力して下さい";
		cin>>u2019[i];
		cout <<endl;
		sum+=u2019[i];
	}
	for(ll i=0;i<12;i++){
		cout << "2020年"<<i+1<<"月の売上を入力してください";
		cin>>u2020[i];
		cout <<endl;
		if(u2020[i]==0){
			ll ch1=0;
			cout << i+1<<"月の売上を0円で入力されました。それで良ければエンターキーを教えて下さい。"<<endl;
			cout << "そうではなく、この月以降はまだ売上が未確定であれば、0以外の数値を入力してください。"<<endl;
			cin>>ch1;
			if(ch1){
				for(ll j=i;j<12;j++){
					u2020[j]=inf;
				}
				break;
			}
		}
	}
	cout <<"入力を確認してください"<<endl;		cout << "2019年売上"<<endl;
	for(ll i=0;i<12;i++){
		cout <<i+1<<"月:"<<u2019[i]<<"円 ";
	}
	cout <<endl<<endl;
	cout << "2020年売上"<<endl;
	for(ll i=0;i<12;i++){
		cout <<i+1<<"月:"<<u2020[i]<<"円 ";
	}
	cout <<endl;
	for(ll i=0;i<12;i++){
		if(u2019[i]>=u2020[i]*2){
			ans=max(ans,sum-u2020[i]*12);
			ans/=100'000;
			ans*=100'000;
		}
	}
	cout <<ans;
	// your 	
	// your code goes here
	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 a , b ; cin>>a>>b;
    cout<<(b >= a ? "unsafe" : "safe")<<"\n";
}

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

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

int main() {
  int A,B,C,D;
  while(A>0 && C>0){
     C-B;
       if (C=<0){ 
         cout << "Yes"<<endl;
         break;
       }
     A-D;
       if (A=<0){
         cout<<"No"<<endl;
         break;
       }
  }
         
         
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected primary-expression before '<' token
    8 |        if (C=<0){
      |              ^
a.cc:13:14: error: expected primary-expression before '<' token
   13 |        if (A=<0){
      |              ^
Language: C

# include <bits/stdc++.h>

using namespace std;

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


Compiler output:
main.c:1:11: 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\n";
    else cout << "safe\n";
    return 0;
}

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

#include<iostream>
using namespace std;

int main() {
	int S;
	int W;

	cin >> S >> W ;

	if (S > W)
		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<iostream>
#include<algorithm>
#include<string>
#include<cstring>
#include<cstdio>
#include<stdio.h>
#include<cmath>
#include<math.h>
#include<vector>
#include<set>
#include<queue>
#include<map>
#include<sstream>
#include<iomanip>
#define forn(i,n) for(int (i)=0;i<(n);i++)
#define pb push_back
#define mp make_pair
using namespace std;
typedef pair<int,int>pii;
typedef long long ll;
typedef pair<ll,ll> pll;
const int MAXN=100005;
const int INF=2147483647;
const ll LINF=9223372036854775807;
const int dx[]={1,-1,0,0},dy[]={0,0,1,-1};
int a,b; 
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cin>>a>>b;
	if(a>b)cout<<"safe";
	else cout<<"unsafe";
	return 0;
}


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

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

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

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<map>
using namespace std;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
const long long INF = 1LL << 60;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

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


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

#include <iostream>
int main() {
  int s,w;
  std::cin>>s>>w;
  cout<<((s>w)?"":"un")<<"safe\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout<<((s>w)?"":"un")<<"safe\n";
      |   ^~~~
      |   std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include <iostream>
using namespace std;
int main()
{
    int s, w;
    cin >> s >> w;
    cout << (s <= w ? "unsafe" : "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>
#define ff first
#define ss second
#define len(x) (int)(x.size())
#define all(x) x.begin(), x.end()
using namespace std;
using ll = long long;
using ii = pair<int, int>;

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


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

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

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

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


Compiler output:
a.cc:5:1: error: 'cin' does not name a type
    5 | cin>>s>>w ;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(w>=s){
      | ^~
a.cc:10:1: error: expected unqualified-id before 'else'
   10 | else{
      | ^~~~
Language: C++

int s,w ;
scanf("%d","%d",&s,&w);

printf("%s",(w>=s)?"unsafe":"safe";

Compiler output:
a.cc:2:6: error: expected constructor, destructor, or type conversion before '(' token
    2 | scanf("%d","%d",&s,&w);
      |      ^
a.cc:4:7: error: expected constructor, destructor, or type conversion before '(' token
    4 | printf("%s",(w>=s)?"unsafe":"safe";
      |       ^
Language: C++

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

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

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>s>>w ;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if(w>=s){
      | ^~
a.cc:7:1: error: expected unqualified-id before 'else'
    7 | else{
      | ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
#define all(x) (x).begin(),(x).end()
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
typedef long long ll;
const long long INF = 1LL << 60;
typedef pair<int, int> P;
int main()
{
    int S, W;
    cin >> S >> W;

    cout << (S <= W ? "unsafe" : "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

a,b = [int(i) for i in input().split()]
if a>b:
	print("safe")
else :
	print("unsafe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a,b = [int(i) for i in input().split()]
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | a,b = [int(i) for i in input().split()]
      |   ^
main.c:1:7: error: expected expression before '[' token
    1 | a,b = [int(i) for i in input().split()]
      |       ^
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if a>b:
      | ^~
Language: C

S = int(input())
W = int(input())

if S<W:
    print('unsafe')
elif S>W :
    print('safe')

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:5: error: expected expression before 'int'
    1 | S = int(input())
      |     ^~~
main.c:5:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    5 |     print('unsafe')
      |           ^~~~~~~~
main.c:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('safe')
      |           ^~~~~~
Language: C

int main(void){
    int a,b;
    scanf("%d%d", &a,&b);
    if(a<=b){
        printf("unsafe");
        }else{
            printf("safe");
        
}

Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d%d", &a,&b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void){
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d%d", &a,&b);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |         printf("unsafe");
      |         ^~~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |             printf("safe");
      |             ^~~~~~
main.c:7:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:1: error: expected declaration or statement at end of input
    9 | }
      | ^
Language: Java

public class Main {
    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:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
2 errors