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

/* 実行時間1s制限の場合10^6 1,000,000 : 余裕をもって間に合う10^7
  10,000,000 : おそらく間に合う10^8 100,000,000 : 非常にシンプルな処理
  でないと厳しい
 */
#define rep(i, n) for(int i = 0; i < (int)n; i++)
#define repi(i,a,b) for(int i=int(a);i<int(b);++i)
#include <bits/stdc++.h>
using namespace std;

typedef long long ll; // long longはデータモデル(LLP64, LP64, ...)によらず64bit.
ll gcd(ll a, ll b) {return b ? gcd(b, a%b) : a;}  // Greatest Common Divisor ユークリッドの互除法（aが長辺）
vector<pair<ll,int>> factorize(ll n) {            // a,bの公約数 = GCD(a, b)の約数
    vector<pair<ll,int>> res;
    for (ll i = 2; i*i <= n; i++) { // √nまで探せばよい
        if (n%i) continue;
        res.emplace_back(i, 0);     // 割り切れたら
        while (n%i == 0) {
            n /= i;
            res.back().second++;
        }
    }
    if (n != 1) res.emplace_back(n, 1); // この時点で1でなかったら、残りは素数.
    return res;
}
ll lcm(ll a, ll b) {return a/gcd(a,b)*b;}         // Least Commont Multiple オーバーフローしないように先に割る
ll ceil(ll a, ll b) {return (a+b-1)/b;}

const ll INF = LONG_MAX;
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; }

int main(int argc, char* argv[])
{
#ifdef LOCAL
    // 以降 cin の入力元が 'xxx.txt' になる
    // std::ifstream in(argv[1]);
    //std::cin.rdbuf(in.rdbuf());
    //std::ifstream in(string(argv[0]) + ".txt");
    std::ifstream in("in.txt");
    std::cin.rdbuf(in.rdbuf());
#endif

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

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

    



    return 0;
}

/*
  - 1e9 : 10^9
  - container一般
    - 合計
      accumulate(a.begin(), a.end(), 0LL)  0LLはオーバーフロー用
  - vector
    vector<int> A(N, 0); // 0で初期化(省略可)
    - loop
      for  (int i = 0; i < A.size(); i++) {}
      for  (int elem : A) {}
    - sort
      std::sort(v.begin(), v.end());  // 昇順
      std::sort(v.begin(), v.end(), std::greater<int>()); //降順
      - vector<vector<int>> cnt(h, vector<int>(w))
    - sort(struct)
        struct st_t {
            string name;
            int p;
            bool operator<(const st_t& another) const {
                if (name == another.name)
                {
                    return p > another.p;
                }
                return name < another.name;
            }
        };
        vector<st_t> st(n);
        sort(st.begin(), st.end());
  - pair
    - pairのソートの定義 : firstが優先的に比較。同じだったらsecond。
    - pair<pair<string,int>,int> p[110];
      std::sort(p,p+a);
        こうすると、first.first -> first.second -> secondの順にソートされる
    - sort
      - sort(a.begin(), cb.end(), greater<pair<int, int>>());
  - map
    - for (auto x : map) {}  // x.first:key  x.second:value.
  - priority_queue<int> q;
    - q.top()に最大値が入っている
  - string
    - loop
      for (char& c : s) {}
 */



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

#include <iostream>                                                                                                     using namespace std;

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

Compiler output:
main.c:1:121: warning: extra tokens at end of #include directive
    1 | #include <iostream>                                                                                                     using namespace std;
      |                                                                                                                         ^~~~~
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>                                                                                                     using namespace std;
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <vector>
#include <bitset>
#include <utility>
#include <string>
#include <queue>
#include <stack>
#include <algorithm>
#include <cmath>
#include <map>
#include <set>
 
using namespace std;
typedef long long ll;
 
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(S =< W){
  cout << "unsafe"<< endl;
  }
  else{
  cout << "safe"<< endl;
  }
  return 0;
}

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

#include<iostream>
#include<cstdlib>
#include<string>
#include<vector>
#include<map>
#include<unordered_map>
#include<queue>
#include<algorithm>
#include<iomanip>
using namespace std;
using ll = long long int;
const int mod = 1e9 + 7;
#define rep(i, a, b) for(ll i = a;i < b; i++)

int main() {

	int s, 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

S, W = [int(i) for i in 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 = [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 S <= W:
      | ^~
Language: C

#include <stdio.h>

int main(void){

  int S, W;
  scanf("%d %d",&S, &W);
  
  if (S > W)
    printf("safe);
  else
    printf("unsafe);
           
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:12: warning: missing terminating " character
    9 |     printf("safe);
      |            ^
main.c:9:12: error: missing terminating " character
    9 |     printf("safe);
      |            ^~~~~~~
main.c:10:3: error: expected expression before 'else'
   10 |   else
      |   ^~~~
main.c:11:12: warning: missing terminating " character
   11 |     printf("unsafe);
      |            ^
main.c:11:12: error: missing terminating " character
   11 |     printf("unsafe);
      |            ^~~~~~~~~
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
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:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

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

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

public class Atcoder {

    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: class Atcoder is public, should be declared in a file named Atcoder.java
public class Atcoder {
       ^
1 error
Language: C

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


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

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


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

#include <bits/stdc++.h>
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 Sheep, Wolf;
  cin >> Sheep; cin >> Wolf;
  if(Sheep > Wolf)
    cout << "safe";
  else cout << "unsafe";
}


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

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

int main()
{

int S,W;
    
cin >>S>>W;         

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

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

using namespace std;
using ll = long long;
using P = pair<int,int>;
using Graph = vector<vector<int>>;

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

Compiler output:
a.cc:5:11: error: 'pair' does not name a type
    5 | using P = pair<int,int>;
      |           ^~~~
a.cc:6:15: error: 'vector' does not name a type
    6 | using Graph = vector<vector<int>>;
      |               ^~~~~~
a.cc: In function 'int main()':
a.cc:10:5: error: 'cin' was not declared in this scope
   10 |     cin >> s >> w;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | //----------------------------------------------------------------------
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << (w >= s ? "unsafe" : "safe") << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:45: error: 'endl' was not declared in this scope
   11 |     cout << (w >= s ? "unsafe" : "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 | //----------------------------------------------------------------------
Language: C

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

typedef long long int ll;
#define INF 1999999999
#define MODA 1000000007
#define PI 3.1415926535897932384626433

int main()
{
    // freopen("input.txt", "r", stdin);
    // freopen("output.txt", "w", stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);
    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: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <string>
using namespace std;


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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> s >> w;
      |     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <string>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "safe" << endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:27: error: 'endl' was not declared in this scope
   10 |         cout << "safe" << endl;
      |                           ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <string>
  +++ |+#include <ostream>
    2 | using namespace std;
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "unsafe" << endl;
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:29: error: 'endl' was not declared in this scope
   12 |         cout << "unsafe" << endl;
      |                             ^~~~
a.cc:12:29: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include<bits/stdc++.h> 

int main() 
{
	using namespace std;
	int a;
	cin>>a;
	int b;
	cin>>b;
	if (b>=a)
	    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: Java

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner s=new Scanner(System.in);
		int sh=s.nextInt();
		int w=s.nextInt();
		
		if(w>=sh)
		{
		    System.out.println("unsafe");
		}
		else
		System.out.println("safe");
	}
}


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

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

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

Compiler output:
a.cc:4:5: error: 'cin' does not name a type
    4 |     cin.tie(0);
      |     ^~~
a.cc:5:5: error: specializing member 'std::basic_ios<char>::sync_with_stdio' requires 'template<>' syntax
    5 |     ios::sync_with_stdio(0);
      |     ^~~
Language: C

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

int main() {
int S;
int W;
  cin >> S >> W;
if (S<=W){cout << "unsafe"<<endl;}
else if(S>W) {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: Java

import java.io.*;
import java.util.*;
public class C
{
  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: class C is public, should be declared in a file named C.java
public class C
       ^
1 error
Language: C++

#include<iostream>
#include<vector>
#include<cmath>
#include<algorithm>
#include<string>
#include<map>
#include<queue>
#include<set>
#include<stack>
#include<numeric>
#include<functional>
typedef long long ll;
#define rep(i,n) for(ll i=0;i<n;i++)
#define pi=3.1415926539

ll gcd(ll a ll b){
  ll c;
  if(a<b){
    c=a;a=b;b=c;
    while(b!=0){
      c=a%b;a=b;b=c;
    }
    return 0;
  }
  ll lcm(ll a ll b){
    ll c;
    c=a*b/gcd(a,b);
    return c;
  }
int main(){
  int s,w;
  cin>>s>>w;
  if(s>w)cout<<"safe";
  else cout<<"unsafe";
  return 0
}+-

Compiler output:
a.cc:14:9: warning: ISO C++11 requires whitespace after the macro name
   14 | #define pi=3.1415926539
      |         ^~
a.cc:16:13: error: expected ',' or '...' before 'll'
   16 | ll gcd(ll a ll b){
      |             ^~
a.cc: In function 'll gcd(ll)':
a.cc:18:8: error: 'b' was not declared in this scope
   18 |   if(a<b){
      |        ^
a.cc:25:15: error: expected ',' or '...' before 'll'
   25 |   ll lcm(ll a ll b){
      |               ^~
a.cc:25:20: error: a function-definition is not allowed here before '{' token
   25 |   ll lcm(ll a ll b){
      |                    ^
a.cc:30:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   30 | int main(){
      |         ^~
a.cc:30:9: note: remove parentheses to default-initialize a variable
   30 | int main(){
      |         ^~
      |         --
a.cc:30:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:30:11: error: a function-definition is not allowed here before '{' token
   30 | int main(){
      |           ^
a.cc:36:4: error: expected primary-expression at end of input
   36 | }+-
      |    ^
a.cc:36:4: error: expected '}' at end of input
a.cc:16:18: note: to match this '{'
   16 | ll gcd(ll a ll b){
      |                  ^
a.cc:36:4: warning: control reaches end of non-void function [-Wreturn-type]
   36 | }+-
      |    ^
Language: C

#include <bits/stdc++.h>
using namespace std;
 
#define clr(i, j)     memset(i, j, sizeof(i))
#define pb            push_back
 #define PI acos(-1)
typedef long long     ll;
 
//-*-*-*-*-*-*-*-*-
 
 
 
 
const int N=2e5+100;
//ll a[200000];
 

#define lop(i,n) for(int i=0;i<n;++i)
//ll n,m,mod;
vector<ll>edge[200000];
int visted[100][100][999];
vector<pair<ll,ll>>vv;

int main()
{
  ll n,k;cin>>n>>k;/*
  for(int i=0;i<n;i++){cin>>a[i]>>b[i];}
  dp[0][a[0]]=b[0];
   for(int i=1;i<n;i++){
      for(int s=0;s<t-1;s++){
          dp[i][t+b[i]]=max( dp[i][t+a[i]], dp[i-1][t]+b[i]);
      }
       
   }*/
   if(k>=n){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 <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); ++i)
#define srep(i,s,t) for (int i = s; i < t; ++i)
#define drep(i,n) for(int i = (n)-1; i >= 0; --i)
using namespace std;
typedef long long int ll;
typedef pair<int,int> P;
#define yn {puts("unsafe");}else{puts("safe");}
#define MAX_N 200005

int main() {
    int a, b;
    cin >> a >> b;

    if(a <= b)yn;
    
    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;
typedef long long ll;
#define REP(i,n) for(ll i=0;i<(ll)(n);i++)
#define INF 1000000000000 //10^12

int main(){

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

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

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

Compiler output:
main.c:1:9: fatal error: 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 < (int)(n); i++)
#define reps(i, n) for (int i=1; i < (int)(n); i++)
#define rrep(i, n) for (int i=((int)(n)-1); i>=0; i--)
#define rreps(i, n) for (int i=((int)(n)-1); i>0; i--)
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
using namespace std;
using lint = long long;
using p = pair<int, int>;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }

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

s, w = map(int, input().strip().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().strip().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().strip().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s, w = map(int, input().strip().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | s, w = map(int, input().strip().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if w>=s:
      | ^~
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: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: Java

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

public class Solution100 {

	public static void main(String[] args) {
		FastReader scan = new FastReader();
		int n = scan.nextInt();
		int m = scan.nextInt();
		
		if(n > m) {
			System.out.println("safe");
		}
		else
			System.out.println("unsafe");
	}

}

class FastReader {
	BufferedReader bf;
	StringTokenizer st;

	public FastReader() {
		bf = new BufferedReader(new InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(bf.readLine());
			} catch (Exception e) {
				System.out.println(e);
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = bf.readLine();
		} catch (Exception e) {
			System.out.println(e);
		}
		return str;
	}
}



Compiler output:
Main.java:5: error: class Solution100 is public, should be declared in a file named Solution100.java
public class Solution100 {
       ^
1 error
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:2:1: error: expected ',' or ';' before 'print'
    2 | print('safe'if S > W else 'unsafe')
      | ^~~~~
main.c:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('safe'if S > W else 'unsafe')
      |       ^~~~~~
main.c:2:27: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    2 | print('safe'if S > W else 'unsafe')
      |                           ^~~~~~~~
Language: C

#include<bits/stdc++.h>
#define LL long long
#define FOR(i,a,b) for(int i=a;i<=b;++i)
using namespace std;

const int mn=1e5+7;

int main()
{
	int a,b;
	scanf("%d%d",&a,&b);
	puts(b>=a?"unsafe":"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++

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

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




    return 0;
}

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

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

typedef long long int ll;
typedef pair<ll, ll> p_ll;
typedef vector<pair<ll, ll>> vec_p; //vector<pair<ll, ll>> pairs(n) ,pairs.at(i) = make_pair(i*i, i)

#define REP(i, x) for (ll i = 0; i < (ll)(x); i++)
#define REPS(i, x) for (ll i = 1; i <= (ll)(x); i++)
#define RREP(i, x) for (ll i = ((ll)(x)-1); i >= 0; i--)
#define RREPS(i, x) for (ll i = ((ll)(x)); i > 0; i--)
#define all(x) (x).begin(), (x).end()

const ll MOD = pow(10, 9) + 7;
const ll LLINF = pow(2, 61) - 1;
const int INF = pow(2, 30) - 1;

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

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

    ll N,W;
    string S;
    cin >> N>>W;

    if(N>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(S>W)
        cout<<"safe";
    else
        cout<<"unsafe";
    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<<"unsafe"<<endl;
  }
  elce{
    cout<<"safe"<<endl;
  }
  return 0;
}

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

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

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

S,W = (int(x) for x in input().split())

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S,W = (int(x) for x in 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 = (int(x) for x in input().split())
      |   ^
main.c:1:12: error: expected ')' before 'x'
    1 | S,W = (int(x) for x in input().split())
      |            ^
      |            )
main.c:1:14: error: expected ')' before 'for'
    1 | S,W = (int(x) for x in input().split())
      |       ~      ^~~~
      |              )
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if S > W:
      | ^~
main.c:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('safe')
      |           ^~~~~~
main.c:6:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    6 |     print('unsafe')
      |           ^~~~~~~~
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: Java

import java.util.*;
public class Main{

publi static void main(String args[]){
	Scanner sc = new Scanner(System.in);
  
  int n = sc.nextInt();
  		
  int m  = sc.nextInt();
		System.out.println( n>=m ?  "unsafe" : "safe");
	}

}

Compiler output:
Main.java:4: error: <identifier> expected
publi static void main(String args[]){
     ^
1 error
Language: C

#include<iostream>
using namespace std;

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

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

    return 0;
}

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 S <= W * 2:
    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 * 2:
      | ^~
main.c:3:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    3 |     print('unsafe')
      |           ^~~~~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('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:
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<bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
    cin.tie(false);
    cout.tie(false);
    int s,w;
    cin>>s>>w;
    if(s>w) cout<<"safe";
    else cout<<"unsafe";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: no matching function for call to 'std::basic_istream<char>::tie(bool)'
    6 |     cin.tie(false);
      |     ~~~~~~~^~~~~~~
In file included from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/istream:40,
                 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,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_ios.h:299:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]'
  299 |       tie() const
      |       ^~~
/usr/include/c++/14/bits/basic_ios.h:299:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/14/bits/basic_ios.h:311:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]'
  311 |       tie(basic_ostream<_CharT, _Traits>* __tiestr)
      |       ^~~
/usr/include/c++/14/bits/basic_ios.h:311:43: note:   no known conversion for argument 1 from 'bool' to 'std::basic_ostream<char>*'
  311 |       tie(basic_ostream<_CharT, _Traits>* __tiestr)
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:7:13: error: no matching function for call to 'std::basic_ostream<char>::tie(bool)'
    7 |     cout.tie(false);
      |     ~~~~~~~~^~~~~~~
/usr/include/c++/14/bits/basic_ios.h:299:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]'
  299 |       tie() const
      |       ^~~
/usr/include/c++/14/bits/basic_ios.h:299:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/14/bits/basic_ios.h:311:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]'
  311 |       tie(basic_ostream<_CharT, _Traits>* __tiestr)
      |       ^~~
/usr/include/c++/14/bits/basic_ios.h:311:43: note:   no known conversion for argument 1 from 'bool' to 'std::basic_ostream<char>*'
  311 |       tie(basic_ostream<_CharT, _Traits>* __tiestr)
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include<iostream>
using namespace std;

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


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;

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

int main(){
	solve();
	return 0;
}

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

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

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

#if __has_include("debug.h")
    #include "debug.h"
#else  
#include <bits/stdc++.h>
using namespace std;
#define track  1;
#define d(...) 2;
#endif

#define int long long int

#define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define endl "\n"      

#define all(c) (c).begin(),(c).end()
#define rall(c) (c).rbegin(),(c).rend()
#define ff first
#define ss second
#define rep(i,n) for(int i=0;i<n;i++)
#define per(i,n) for(int i=n-1;i>=0;i--)

#define gcd(a,b)            __gcd((a),(b))
#define lcm(a,b)            ((a*b)/gcd(a,b))

void solve();

int32_t main()
{
    #ifdef DEBUG
	freopen("input.txt","r",stdin);
	freopen("output.txt","w",stdout);
    #endif 

    fast
    
    int t = 1;
	// cin>>t;
	
	while(t--)
	    solve();
	return 0;  
}

void solve()
{
	int i,j,cnt=0;
	bool flag=0;
	int a,b;
	cin>>a>>b;

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

	

}

Compiler output:
main.c:4:10: fatal error: bits/stdc++.h: No such file or directory
    4 | #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;
}

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

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

public class Main{
 	
  public static void main(String... args){
  		Scanner scanner = new Scanner(System.in);
 		int s = scanner.nextInt();
    	int w = scanner.nextInt();
    	
    	System.out.println(w>=s? "unsafe":"safe);
  }
}

Compiler output:
Main.java:8: error: unclosed string literal
    	System.out.println(w>=s? "unsafe":"safe);
    	                                  ^
1 error
Language: Java

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

Compiler output:
Main.java:6: error: variable sc is already defined in method main(String[])
        Scanner sc = new Scanner(System.in);
                ^
1 error
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

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: Java

import java.util.*;


public class Solution {

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

}

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

s = input()
w = input()
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 = input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | s = input()
      |     ^~~~~
main.c:1:5: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'w'
    2 | w = input()
      | ^
main.c:4:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |     print('unsafe')
      |           ^~~~~~~~
main.c:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('safe')
      |           ^~~~~~
Language: C

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

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

#inlcude<stdio.h>
int main(){
  int S,W;
  scanf("%d %d",&S,&W);
  if(S>w){
    print("safe");
  }
  else{
    print("unsafe");
  }
  return(0);
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude<stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d %d",&S,&W);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inlcude<stdio.h>
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d %d",&S,&W);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:8: error: 'w' undeclared (first use in this function)
    5 |   if(S>w){
      |        ^
main.c:5:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    6 |     print("safe");
      |     ^~~~~
Language: C

#include<iostream>
using namspace std;
int main()
{
  int a,b;
  cin>>a;
  cin>>b;
  for(int i=0;i<0;i++)
  {
    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

#include<stdio.h>
#include<math.h>
#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main() {
	int S;
	int W;
	cin >> S >> W;
	if (W - S >= 0) {
		cout << "unsafe" << endl;
	}
	else {
		cout << "safe" << endl;
	}
	}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int w,s;
	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

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: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 s<=w:
      | ^~
Language: C

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

typedef long long ll;
typedef long double ld;

#define pb push_back
#define sort(s) sort(s.begin(),s.end())
#define reverse(s) reverse(s.begin(),s.end())
#define rep(i,n) for(ll (i)=0;(i)<(n);(i)++)

const ll mod = 1e9+7;

//最大公約数
ll gcd(ll a, ll b) {
    return b ? gcd(b, a%b) : a;
}

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

//素数判定
bool isPrime(ll x){
    ll i;
    if(x < 2)return 0;
    else if(x == 2) return 1;
    if(x%2 == 0) return 0;
    for(i = 3; i*i <= x; i += 2) if(x%i == 0) return 0;
    return 1;
}

//桁和
int digsum(ll n) {
    int res = 0;
    while(n > 0) {
        res += n%10;
        n /= 10;
    }
    return res;
}

//桁数
int dignum(ll n) {
    int res = 0;
    while(n > 0) {
        res++;
        n /= 10;
    }
    return res;
}

//文字列中の特定の文字カウント
ll stringcount(string s,char c){
    return count(s.cbegin(),s.cend(),c);
}

//階乗
ll ka(ll i){
    ll res=1;
    while(i>0){
        res=res*i;
        i--;
    }
    return res;
}
 
//ncr
ll ncr(ll x,ll y){
    ll a = x;
    ll b = 1;
    if(y>(x/2)){
        y=x-y;
    }
    for(ll i=1;i<y;i++){
        a*=x-i;
        b*=i+1;
    }
    return a/b;
}

//フィボナッチ数列
ll f(ll x){
    ll dp[x+1];
    dp[1]=1;
    dp[2]=1;
    for(ll i=3;i<=x;i++){
        dp[i]=dp[i-1]+dp[i-2];
    }
    return dp[x];
}

//char->int
int ctoi(char c){
    return c-'0';
}

int main(){
    ll s,w;
    cin >> s >> w;
    if(s<=w) 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 <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:8:13: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
    8 |     cout << unsafe << endl;
      |             ^~~~~~
      |             unshare
a.cc:11:13: error: 'safe' was not declared in this scope
   11 |     cout << safe << endl;
      |             ^~~~
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include <bits/stdc++.h>

using namespace std;

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

    int 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.