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

#include<stdio.h>
int main(void){
  int a,b,c,d;
  scanf("%d %d %d %d",&a,&b,&c,&d);
  int cha_a=a,cha_b=b,cha_c=c,cha_d=d;
  while(1){
    int aoki_mon=cha_c-cha_b;
    int taka_mon=cha_a-cha_d;
    cha_a=taka_mon;
    cha_c=aoki_mon;
    if(taka<=0 && aoki>0){
      printf("No\n");
      break;
    }else if(aoki<=0 && taka>0){
      printf("Yes\n");
      break;
    }
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:8: error: 'taka' undeclared (first use in this function)
   11 |     if(taka<=0 && aoki>0){
      |        ^~~~
main.c:11:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:19: error: 'aoki' undeclared (first use in this function)
   11 |     if(taka<=0 && aoki>0){
      |                   ^~~~
Language: C

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

int main()
{
	int w,s;
	cin>>s>>w;
	if(w>=s)
		cout<<"unsafe";
	else
		cout<<"safe";
	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 <stdio.h>
#include <stdlib.h>

void main()
{
    int S,W;
    scanf("%d", &S);
    scanf("%d", &W);
    if (S>W)
        printf("safe");
    else
        printf("unsafe");
    getch();
}

Compiler output:
main.c: In function 'main':
main.c:13:5: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
   13 |     getch();
      |     ^~~~~
      |     getc
Language: C

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

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

  if (W < S) {
    cout << "safe" << endl;
  }

  if (W >= S) {
    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.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
  public void judge(){
try {
                int s, w;
                String[] list;
                String result;
                BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                list = br.readLine().split("\\s");
                s = Integer.parseInt(list[0]);
                w = Integer.parseInt(list[1]);
                if (s <= w) {
                    System.out.println("unsafe");
                } else {
                    System.out.println("safe");
                }
            }catch(IOException e)
            {
                e.printStackTrace();
            }
            }
}
}

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

import java.math.BigInteger;
import java.util.Scanner;

public class CP {

    public static void main(String[] args) {

        BigInteger two = BigInteger.valueOf(2019);
        Scanner in = new Scanner(System.in);
        String s = in.next();
        int ans = 0;
        for(int l = 4; l < s.length(); l++) {
            for(int i = 0; i <= s.length() - l; i++) {
                String sub = s.substring(i, i + l);
                BigInteger b = new BigInteger(sub);
                if(b.mod(two).equals(BigInteger.ZERO)) {
                    ++ans;
                }
            }
        }
        System.out.println(ans);
    }
}


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

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

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

Compiler output:
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";
	}
	else cout<<"safe";
	return 0;
}

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

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

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

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

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

void main()
{
    int s,w;
    scanf("%d", &s);
    scanf("%d", &w);
    if (s>w)
        printf("safe");
    else
        printf("unsafe");
    getch();
}

Compiler output:
main.c: In function 'main':
main.c:13:5: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
   13 |     getch();
      |     ^~~~~
      |     getc
Language: C

#include <bits/stdc++.h>
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define ll          long long
#define pb          push_back
#define eb 			emplace_back
#define mp 			make_pair
#define pii         pair<ll,ll>
#define vi          vector<ll>
#define vii         vector<pii>
#define mi          map<ll,ll>
#define mii         map<pii,ll>
#define all(a)      (a).begin(),(a).end()
#define fi          first
#define si          second
#define sz(x)       (ll)x.size()
#define endl        '\n'
#define checkbit(n, b) ((n >> b) & 1)
#define mod        1000000007
#define inf        1000000000000000000
#define puts(n)		cout<<n;
#define rep(i,a,b)  for(ll i=a;i<b;i++)
#define setbits(x) __builtin_popcount(x)
#define mset(m,v) memset(m,v,sizeof(m))
using namespace std;
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	ll s,w;
	cin>>s>>w;
	if(w>=s) cout<<"unsafe";
	else cout<<"safe";
	
	return 0;
}

Compiler output:
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 << "safe" << "\n" ;
  }
  else
  {
    cout << "unsafe\n" ;
  }
}


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

#include <iostream>
using namespace std;

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

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

import java.util.*;
class Main {
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.print("unsafe");
  }else{
  System.out.print("safe");
  }
}
  

Compiler output:
Main.java:12: error: reached end of file while parsing
}
 ^
1 error
Language: C

include <iostream>
using namespacestd;

int main(){
  int S;
  int W;
  if(W>=S){
    cout"unfair";
  }else{
    cout"fair";
  }
  return 0
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <iostream>
      |         ^
main.c: In function 'main':
main.c:8:5: error: 'cout' undeclared (first use in this function)
    8 |     cout"unfair";
      |     ^~~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:9: error: expected ';' before string constant
    8 |     cout"unfair";
      |         ^~~~~~~~
      |         ;
main.c:10:9: error: expected ';' before string constant
   10 |     cout"fair";
      |         ^~~~~~
      |         ;
main.c:12:11: error: expected ';' before '}' token
   12 |   return 0
      |           ^
      |           ;
   13 | }
      | ~
Language: C

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

int main(void){

    cin.tie(0);
    ios::sync_with_stdio(false);

    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

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:3:1: error: expected ',' or ';' before 'if'
    3 | if s <= w:
      | ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'm' was not declared in this scope
    6 |   if(s <= m) cout << "unsafe";
      |           ^
Language: C

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

int s, w;

int main()
{
    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 <stdio.h>
#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: expected ';' before '}' token
   12 |  cout<<"unsafe"
      |                ^
      |                ;
   13 |  };
      |  ~
Language: C

<?php
$S = 1;
$W = 1;
if($W >= $S){
    print("unsafe");
} else {
    print("safe");
}

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:3:1: warning: data definition has no type or storage class
    3 | $W = 1;
      | ^~
main.c:3:1: error: type defaults to 'int' in declaration of '$W' [-Wimplicit-int]
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if($W >= $S){
      | ^~
main.c:6:3: error: expected identifier or '(' before 'else'
    6 | } else {
      |   ^~~~
Language: C

include <iostream>
using namespacestd;

int main(){
  int S;
  int W;
  if(W<=S){
    cout"unfair";
  }else{
    cout"fair";
  }
  return 0
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <iostream>
      |         ^
main.c: In function 'main':
main.c:8:5: error: 'cout' undeclared (first use in this function)
    8 |     cout"unfair";
      |     ^~~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:9: error: expected ';' before string constant
    8 |     cout"unfair";
      |         ^~~~~~~~
      |         ;
main.c:10:9: error: expected ';' before string constant
   10 |     cout"fair";
      |         ^~~~~~
      |         ;
main.c:12:11: error: expected ';' before '}' token
   12 |   return 0
      |           ^
      |           ;
   13 | }
      | ~
Language: C

#include<stdio.h>

int main(void){
  
  int S,W;
  
  scanf("%d%d",&S &W);
  
  puts(S<=W ? "unsafe":"safe");
  
  return 0;
  
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: invalid operands to binary & (have 'int *' and 'int')
    7 |   scanf("%d%d",&S &W);
      |                ~~ ^
      |                |
      |                int *
Language: C

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


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: 'S' was not declared in this scope
    5 |  cin>>S>>W;
      |       ^
a.cc:5:10: error: 'W' was not declared in this scope
    5 |  cin>>S>>W;
      |          ^
a.cc:9:16: error: expected ';' before '}' token
    9 |  cout<<"unsafe"
      |                ^
      |                ;
   10 |  };
      |  ~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:3:3: error: 'cin' undeclared (first use in this function)
    3 |   cin >> S >> W;
      |   ^~~
main.c:3:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:6: error: 'X' undeclared (first use in this function)
    5 |   if(X >= S) {
      |      ^
main.c:6:5: error: 'cout' undeclared (first use in this function)
    6 |     cout << "unsafe" << endl;
      |     ^~~~
main.c:6:25: error: 'endl' undeclared (first use in this function)
    6 |     cout << "unsafe" << endl;
      |                         ^~~~
Language: C

#include <iostream>

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: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
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;


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

import java.util.*;

public class Main {
  public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          int hp1 = sc.nextInt();
          int attack1 = sc.nextInt();
          int hp2 = sc.nextInt();
          int attack2 = sc.nextInt();
          while(hp1 > 0 || hp2 > 0){
            hp2 -= attack1;
          if(hp2 <= 0) {
            System.out.println("Yes");
            continue;
          }
            hp1 -= attack2;
          if(hp1 <= 0) {
            System.out.println("No");
            continue;
          }
          }
          }
        }
  }

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

#include<iostream>
using namespace std;
int main()
{

    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:7:15: error: 'w' was not declared in this scope
    7 |     cin >> S, w;
      |               ^
Language: C

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


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

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
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: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;
typedef long long ll;

#define rep(i,n) for(ll i=0;i<(ll)(n);i++)
#define repd(i,n) for(ll i=(ll)(n)-1;i>=0;i--)
#define for(i,a,b) for(ll i=(a);i<=(b);i++)
#define ford(i,a,b) for(ll i=(a);i>=(b);i--)
#define all(x) (x).begin(),(x).end() //sortなどの引数を省略したい
#define size(x) ((ll)(x).size()) //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x))
#define INF 1000000000000 //10^12
#define MOD 10000007 //10^9+7
#define PB push_back
#define MP make_pair
#define F first
#define S second
#define MAXR 100000 //10^5:最大のrange(素数列挙などで使用)



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

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

#include <bits/stdc++.h>
using namespace std;
int main() {
    int a, b;
    cin>>a>>b;
    if(b>=a){
    	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"<<endl;
            else if(S==W)
                cout<<"unsafe"<<endl;
                    else
                        cout<<"safe"<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 's' was not declared in this scope
    7 |     if(s<w)
      |        ^
a.cc:7:10: error: 'w' was not declared in this scope
    7 |     if(s<w)
      |          ^
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        long a = s.nextLong();
        long k = 0;
        long y = 0;
        String[] st = new String[a];
        for(long i = 0; i < a; i++){
            st[i] = "";
        }
        for(long i = 0; i < a; i++){
            String g = s.nextLine();
            boolean exist = false;
            for(String h: st){
                if(h.equals(g)){
                    exist = true;
                }
            }
            if(!exist){
                y++;
                st[k] = g;
                k++;
            }
        }
        System.out.println(y);
    }
}

Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from long to int
        String[] st = new String[a];
                                 ^
Main.java:10: error: incompatible types: possible lossy conversion from long to int
            st[i] = "";
               ^
Main.java:22: error: incompatible types: possible lossy conversion from long to int
                st[k] = g;
                   ^
3 errors
Language: C

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
int main()
{
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
//  #ifdef ONLINE_JUDGE
//	    freopen("input1.txt","r",stdin);
//	    freopen("output1.txt","w",stdout);
//  #endif
    int s , w;
    cin >> s >>w;
    if(w >=s){
    	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>
using namespace std;
 
int main() {
  
  int S, W;
  cin >> S >> W;
  if(S > W) {
    cout << "safe";
  }
  else {
    cout << "unsafe";
  }
  
}

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

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

#include<stidio.h>

int main(void){
  
  int S,W;
  
  scanf("&d&d",&S &W);
  
  puts(S<=W ? "unsafe":"safe");
  
  return 0;
}

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

#include <iostream>

using namespace std;

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


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

#include<iostream>
using namespace std;
int main()
{
    int S,W;
    cin>>S>>W;
    if(S<W)
        cout<<"unsafe"<<endl;
            else 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(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 , N ;
  cin >> S >> N;
  
  if ( S <= N ) {
  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<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:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int A,B,C,D;
cin>>A>>B>>C>>D;
for(int i=0; i<100; i++){
C=C-B;
if(C>0){
A=A-D;
if(A<=0){
cout<<"No"<<endl;
break;
}
else{
cout<<"Yes"<<endl;
break;
}
}
}




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

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    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:7:15: error: 'w' was not declared in this scope
    7 |     cin >> S, w;
      |               ^
Language: C

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

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

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

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

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

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int 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

K = input().split(" ")
k = [int(n) for n in K]
if k[0] > k[1]:
    print('safe')
else:
    print('unsafe')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | K = input().split(" ")
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'K' [-Wimplicit-int]
main.c:1:5: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | K = input().split(" ")
      |     ^~~~~
main.c:1:12: error: request for member 'split' in something not a structure or union
    1 | K = input().split(" ")
      |            ^
main.c:2:1: error: expected ',' or ';' before 'k'
    2 | k = [int(n) for n in K]
      | ^
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: Java

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

int sheep = 0;
int worf = 0;
		
try {
	sheep = Integer.parseInt(args[0]);
	worf = Integer.parseInt(args[1]);
} catch (NumberFormatException e) {
	System.out.println("入力値が数値と解釈できません。");
}
			
if(sheep >= 1 && sheep <= 100 & worf >= 1 && worf <= 100) {
  if(sheep > worf) {
    System.out.println("safe");
  } else if (sheep <= worf) {
    System.out.println("unsafe");
  }
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int sheep = 0;
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: class, interface, enum, or record expected
try {
^
Main.java:6: error: class, interface, enum, or record expected
	worf = Integer.parseInt(args[1]);
	^
Main.java:7: error: class, interface, enum, or record expected
} catch (NumberFormatException e) {
^
Main.java:9: error: class, interface, enum, or record expected
}
^
Main.java:14: error: class, interface, enum, or record expected
  } else if (sheep <= worf) {
  ^
Main.java:16: error: class, interface, enum, or record expected
  }
  ^
7 errors
Language: C

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


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"unsafe"else)
      | ^~~~~
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

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:3: error: type defaults to 'int' in declaration of 'w' [-Wimplicit-int]
    1 | s,w = map(int,input().split())
      |   ^
main.c:1:7: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s,w = map(int,input().split())
      |       ^~~
main.c:1:11: 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")
      | ^~~~~
Language: C

#include <iostream>
using namespace std;

int main(){
  int S;
  int W;
  cin>>S;
  cin>>W;
if(W<=S){
   cout<<"unfair";
   }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;
  int B;
  int C;
  int D;
  int n;
  cin >> A >> B >> C >> D >> n;
  
  if ( A-n*D+D > C-n*B ){cout << "Yes" << endl;}
   else ( A-n*D+D > C-n*B ){cout << "No" << endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:28: error: expected ';' before '{' token
   13 |    else ( A-n*D+D > C-n*B ){cout << "No" << endl;}
      |                            ^
      |                            ;
Language: C

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

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:4:1: error: unknown type name 'class'
    4 | class main {
      | ^~~~~
main.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | class main {
      |            ^
Language: Java

public static void main(String[] args){
        try {
                int s, w;
                String[] list;
                String result;
                BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                list = br.readLine().split("\\s");
                s = Integer.parseInt(list[0]);
                w = Integer.parseInt(list[1]);
                if (s <= w) {
                    System.out.println("unsafe");
                } else {
                    System.out.println("safe");
                }
            }catch(IOException e)
            {
                e.printStackTrace();
            }
            }
        }

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

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

Compiler output:
main.c:1:1: error: expected identifier or '(' before 'if'
    1 | if __name__ == '__main__':
      | ^~
main.c:1:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    1 | if __name__ == '__main__':
      |                ^~~~~~~~~~
main.c:4:15: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |         print('unsafe')
      |               ^~~~~~~~
main.c:6:15: warning: multi-character character constant [-Wmultichar]
    6 |         print('safe')
      |               ^~~~~~
Language: C++

#include<iostream>

using namespace std;
int main(){
	int wolf, sheep;
  
  cin>>sheep;
  cin>>wolf;
  
  if(sheep<wolf){
  	cout<<unsafe<<endl;
  }
  else{
  	cout<<safe<<endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
   11 |         cout<<unsafe<<endl;
      |               ^~~~~~
      |               unshare
a.cc:14:15: error: 'safe' was not declared in this scope
   14 |         cout<<safe<<endl;
      |               ^~~~
Language: C

#include <iostream>

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: 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++)

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: 'ednl' was not declared in this scope
    8 |   if(w>=s)cout<<"unsafe"<<ednl;
      |                           ^~~~
Language: C

#include<iostream>
using namespace std;

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


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

#include<iostream>

using namespace std;
int main(){
	int wolf, sheep;
  
  cin>>sheep;
  cin>>wolf;
  
  if(sheep<wolf){
  	cout<<unsafe<<endl;
  }
  else{
  	cout<<safe<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
   11 |         cout<<unsafe<<endl;
      |               ^~~~~~
      |               unshare
a.cc:14:15: error: 'safe' was not declared in this scope
   14 |         cout<<safe<<endl;
      |               ^~~~
Language: C

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

int main(){
int M,N; cin>>M>>N;
  if(M>N){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++

//control+option+n to run!
#include <iostream>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <stdio.h>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
#include <math.h>
#include <fstream>
using namespace std;
//10^8 operations per second
//greatest int is 2,147,483,647
//greates long long is 9.22337204e18
int main()
{
    long long s, w;
    cin >> s >> w;
    if (s > w)
    {
        cout << "safe";
    }
    else
    {
        cout << "unsafe"
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:41:25: error: expected ';' before '}' token
   41 |         cout << "unsafe"
      |                         ^
      |                         ;
   42 |     }
      |     ~
Language: C

#include <iostream>
using namespace std;
int main(){
	int s,w;
	cin>>s>>w;
	if(w>2*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 a,b,c,d =0;
    int T_HP;

    cin >> a>>b>>c>>d;
        A_HP = a-b;
        T_HP = c-d;
        //cout<<A_HP;
        if(T_HP <= 0){
            cout<<"No"<<endl;
        }else if(T_HP > 0){
            cout<<"Yes"<<endl;
        }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'A_HP' was not declared in this scope; did you mean 'T_HP'?
   12 |         A_HP = a-b;
      |         ^~~~
      |         T_HP
Language: C

#include <bits/stdc++.h>
using namespace std;
using lli=long long int;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vi=vector<int>;  using vs=vector<string>; using gi=greater<int>;
#define soao(c) sort((c).begin(),(c).end()) //昇順
#define sodo(c) sort((c).begin(),(c).end(),gi()) //降順
#define rev(c) reverse((c).begin(), (c).end())

int main() {
  int N,M; cin>>N>>M;

  if(N<=M) 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<iostream>
int main(){
	int wolf, sheep;
  
  cin>>sheep;
  cin>>wolf;
  
  if(sheep<wolf){
  	cout<<unsafe<<endl;
  }
  else{
  	cout<<safe<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>sheep;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout<<unsafe<<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:15: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
    9 |         cout<<unsafe<<endl;
      |               ^~~~~~
      |               unshare
a.cc:9:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         cout<<unsafe<<endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |         cout<<safe<<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:15: error: 'safe' was not declared in this scope
   12 |         cout<<safe<<endl;
      |               ^~~~
a.cc:12:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |         cout<<safe<<endl;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

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

}

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

#include <iostream>
using namespace std;

int main(){
  	int s,w;
  	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:10:25: error: expected ';' before '}' token
   10 |       cout << "unsafe\n"
      |                         ^
      |                         ;
   11 |     }
      |     ~
Language: C

#include<cstdio>
#include<algorithm>
using namespace std;
int main(void)
{
	int s,w;
	scanf("%d %d",&s,&w);
	if(s<=w){
		printf("unsafe");
	}
	else{
		printf("safe");
	}
	printf("/n");
	return 0;
}

Compiler output:
main.c:1:9: fatal error: cstdio: No such file or directory
    1 | #include<cstdio>
      |         ^~~~~~~~
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:
a.cc: In function 'int main()':
a.cc:6:8: error: expected primary-expression before '<' token
    6 |   if(S=<W){
      |        ^
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: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() {
	string a,b;
	cin>>a>>b;
	if(b>=a) 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

/**********************************************************************
   File hoge.cpp
   Author  harunaya
   Date   2020-03-06(Fri)
   note
**********************************************************************/

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

#include <iostream>
using napespace std;


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

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

#include<iostream>
using namespace std;
int main()
{
    int n,x;
    cin>>n>>x;
    if(n<=x)
    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<bits/stdc++.h>
using namespace std;
int main() {
	int a,b;
	scanf("%d%d",&a,&b);
	if(b>=a) 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;
int 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

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader bw = new BufferedReader(new InputStreamReader(System.in));
		String s = bw.readLine();
		String[] w = s.split("\\s+");
		int S = Integer.parseInt(w[0]);
		int W = Integer.parseInt(w[1]);
		
		if (W >= S) {
			System.out.println("unsafe");
		}else {
			System.out.println("safe");
		}
		bw.close();
	}
	
	
}	



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

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

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:23: error: expected ';' before '}' token
    9 |     printf("unsafe\n")
      |                       ^
      |                       ;
   10 | }
      | ~
Language: C

#include<algorithm>
#include<iostream>
#include<vector>
#include<string>
#include<queue>
#include<stack>
#include<cmath>
#include<list>
#include<set>
#include<map>

using namespace std;
long long MOD = 1000000007LL;
#undef INT_MIN
#undef INT_MAX
#define INT_MIN -2147483648
#define INT_MAX 2147483647
#define endl "\n"

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

	cout << (w < s ? "safe" : "unsafe") << endl;

	return 0;
}



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

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

ll s, w;

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

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