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

#include <iostream>
#include <cstring>
#include <algorithm>
#include <vector>
#include <string>
#include <math.h>
#include <iomanip>
#include <limits>
#include <list>
#include <queue>
#include <tuple>
#include <map>
#include <stack>
#include <set>
#include <bitset>
#include <functional>
#include <cassert>
using namespace std;
#define fast_io ios_base::sync_with_stdio (false) ; cin.tie(0) ; cout.tie(0) ;
#define ll long long int
#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 REP(i,n) for(int i=n-1; i>=0; i--)
#define REPS(i,n) for(int i=n; i>0; i--)
#define MOD (long long int)(1e9+7)
#define INF (int)(1123456789)
#define LINF (long long int)(112345678901234567)
#define chmax(a, b) a = (((a)<(b)) ? (b) : (a))
#define chmin(a, b) a = (((a)>(b)) ? (b) : (a))
#define all(v) v.begin(), v.end()
typedef pair<int, int> Pii;
typedef pair<ll, ll> Pll;

ll mpow(ll a, ll b){
  if(b==0) return 1;
  else if(b%2==0){ll memo = mpow(a,b/2); return memo*memo%MOD;}
  else return mpow(a,b-1) * a % MOD;
}
ll lpow(ll a, ll b){
  if(b==0) return 1;
  else if(b%2==0){ll memo = lpow(a,b/2); return memo*memo;}
  else return lpow(a,b-1) * a;
}
ll gcd(ll a, ll b){
  if(b==0) return a;
  else return gcd(b, a%b);
}
vector<ll> kaijo_memo;
ll kaijo(ll n){
  if(kaijo_memo.size() > n) return kaijo_memo[n];
  if(kaijo_memo.size() == 0) kaijo_memo.push_back(1);
  while(kaijo_memo.size() <= n) kaijo_memo.push_back(kaijo_memo[kaijo_memo.size()-1] * kaijo_memo.size() % MOD);
  return kaijo_memo[n];
}
vector<ll> gyaku_kaijo_memo;
ll gyaku_kaijo(ll n){
  if(gyaku_kaijo_memo.size() > n) return gyaku_kaijo_memo[n];
  if(gyaku_kaijo_memo.size() == 0) gyaku_kaijo_memo.push_back(1);
  while(gyaku_kaijo_memo.size() <= n) gyaku_kaijo_memo.push_back(gyaku_kaijo_memo[gyaku_kaijo_memo.size()-1] * mpow(gyaku_kaijo_memo.size(), MOD-2) % MOD);
  return gyaku_kaijo_memo[n];
}

ll nCr(ll n, ll r){
  if(n == r) return 1;//0個の丸と-1個の棒みたいな時に時に効く？不安.
  if(n < r || r < 0) return 0;
  ll ret = 1;
  if(n <= 1e7){
    ret *= kaijo(n); ret %= MOD;
    ret *= gyaku_kaijo(r); ret %= MOD;
    ret *= gyaku_kaijo(n-r); ret %= MOD;
  }else{
    rep(i,r){
      ret *= n-i; ret %= MOD;
      ret *= mpow(r-i, MOD-2); ret %= MOD;
    }
  }
  return ret;
}

int main(void){
  fast_io
  cout<<fixed<<setprecision(15);

  int s,f;cin>>s>>f;
  if(f >= 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

using System;
using System.Collections.Generic;
class Program{
  static void Main(){
 
int S=int.Parse(Console.ReadLine());
    int Sh[]=S.Split(' ');
//int W=int.Parse(Console.ReadLine());
 //Console.ReadLine().Split(blank.ToCharArray());
if(Sh[0]>Sh[1])
{
  Console.WriteLine("safe");
}
else
{
 Console.WriteLine("unsafe");
}
} 
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Collections.Generic;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Collections.Generic;
      |             ^
main.c:3:1: error: unknown type name 'class'
    3 | class Program{
      | ^~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | class Program{
      |              ^
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: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;
using u64 = uint64_t;

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

using System;


    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int S = int.Parse(input[0]);
            int W = int.Parse(input[1]);

            if (S > W) {
                Console.WriteLine("safe");
            }else if (S <= W) {
                Console.WriteLine("unsafe");
            }
        }
    }



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

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

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

#include <ipo
using namespace std;

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


Compiler output:
a.cc:1:14: error: missing terminating > character
    1 | #include <ipo
      |              ^
a.cc:1:10: fatal error: ipo: No such file or directory
    1 | #include <ipo
      |          ^
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++>
using namespace std;
int main()
{
  int s,w;
  cin>>s>>w;
  if(w>=s)
    cout<<"unsafe"<<endl;
  else
    cout<<"safe"<<endl;
}

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

#define _USE_MATH_DEFINES
#include <iostream>
#include <string>
#include <math.h>
#include <vector>

using namespace std;

int main() {

	int S, W;

	cin >> S;
	cin >> W;

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

	return 0;

}

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

import java.util.Scanner;
import java.util.HashSet;
import java.util.Set;

public class Main {
	public static void main(String[] args) {
		Set<String> a=new HashSet<String>();
		String s = null;
		int a1=0;
		Scanner scanner = new Scanner(System.in);
		a1 = scanner.nextInt();
		while(a1--!=0) {
			s = scanner.next();
			a.add(s);
		}
		System.out.println(a.size());
		}
		scanner.close();
}


Compiler output:
Main.java:18: error: <identifier> expected
		scanner.close();
		             ^
1 error
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

using System;

namespace Atcoder_2
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int S = int.Parse(input[0]);
            int W = int.Parse(input[1]);

            if (S > W) {
                Console.WriteLine("safe");
            }else if (S <= W) {
                Console.WriteLine("unsafe");
            }
        }
    }
}


Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:3:1: error: unknown type name 'namespace'
    3 | namespace Atcoder_2
      | ^~~~~~~~~
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | {
      | ^
Language: Java

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main {
	
	public static void main(String[] args) {
		Set<String> a=new HashSet<String>();
		String s = null;
		int a1=0;
		ff b=new ff();
		Scanner scanner = new Scanner(System.in);
		a1 = scanner.nextInt();
		while(a1--!=0) {
			s = scanner.next();
			a.add(s);
		}
		System.out.println(a.size());
		}
		scanner.close();
}


Compiler output:
Main.java:20: error: <identifier> expected
		scanner.close();
		             ^
1 error
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"<<endl;
    else cout<<"unsafe"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: no matching function for call to 'std::basic_istream<char>::tie(bool)'
    7 |     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:2:
/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:8:13: error: no matching function for call to 'std::basic_ostream<char>::tie(bool)'
    8 |     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

S, W = map(int, 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 = 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 <bits/stdc++.h>
using namespace std;

$ g++ -std=c++14 -g -O0 -o main main.cpp

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

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main {
	
	public static void main(String[] args) {
		Set<String> a=new HashSet<String>();
		String s = null;
		int a1=0;
		ff b=new ff();
		Scanner scanner = new Scanner(System.in);
		a1 = scanner.nextInt();
		while(a1--!=0) {
			s = scanner.next();
			a.add(s);
		}
		System.out.println(a.size());
		}

}


Compiler output:
Main.java:11: error: cannot find symbol
		ff b=new ff();
		^
  symbol:   class ff
  location: class Main
Main.java:11: error: cannot find symbol
		ff b=new ff();
		         ^
  symbol:   class ff
  location: class Main
2 errors
Language: Java

int main (int sheep, int worf) {
  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 main (int sheep, int worf) {
^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

$ g++ -std=c++14 -g -O0 -o main main.cpp

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

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


Compiler output:
main.c:1:1: error: unknown type name '$'
    1 | $ g++ -std=c++14 -g -O0 -o main main.cpp
      | ^
main.c:1:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    1 | $ g++ -std=c++14 -g -O0 -o main main.cpp
      |    ^~
main.c:3:10: fatal error: bits/stdc++.h: No such file or directory
    3 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

/*ctrl+shift+D =?repeat line
ctrl+x delete a line
*/
#include<iostream>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;

#define ff              first
#define ss              second
#define int             long long
#define pb              push_back
#define mp              make_pair
#define pii             pair<int,int>
#define vi              vector<int>
#define mii             map<int,int>
#define pqb             priority_queue<int>
#define pqs             priority_queue<int,vi,greater<int> >
#define setbits(x)      __builtin_popcountll(x)
#define zrobits(x)      __builtin_ctzll(x)
#define mod             1000000007
#define inf             1e18
#define ps(x,y)         fixed<<setprecision(y)<<x
#define mk(arr,n,type)  type *arr=new type[n];
#define w(x)            int x; cin>>x; while(x--)


typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> pbds;


void c_p_c()
{
	ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}



int32_t main()
{
	c_p_c();

	int a, b;

	cin >> a >> b;
	if (b >= a) {
		cout << "unsafe\n";
	}
	else
	{
		cout << "safe\n";
	}

	return 0;



}

Compiler output:
main.c:4:9: fatal error: iostream: No such file or directory
    4 | #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";
  }
  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 <iostream>
using namespace std;
int main(void){
    // Your code here!
    int w,s;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 namespaces std ;
int main()
{
   int a , b ; 
  cin>>a >>b ; 
  if(a>b)
    cout<<"safe"<<endl ; 
  else
    cout<<"unsafe"<<endl ; 
  return  0 ;
  
  
  
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std ;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a >>b ;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<<"safe"<<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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout<<"unsafe"<<endl ;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout<<"unsafe"<<endl ;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

/*ctrl+shift+D =?repeat line
ctrl+x delete a line
*/
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;

#define ff              first
#define ss              second
#define int             long long
#define pb              push_back
#define mp              make_pair
#define pii             pair<int,int>
#define vi              vector<int>
#define mii             map<int,int>
#define pqb             priority_queue<int>
#define pqs             priority_queue<int,vi,greater<int> >
#define setbits(x)      __builtin_popcountll(x)
#define zrobits(x)      __builtin_ctzll(x)
#define mod             1000000007
#define inf             1e18
#define ps(x,y)         fixed<<setprecision(y)<<x
#define mk(arr,n,type)  type *arr=new type[n];
#define w(x)            int x; cin>>x; while(x--)
mt19937                 rng(chrono::steady_clock::now().time_since_epoch().count());

typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> pbds;


void c_p_c()
{
	ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}



int32_t main()
{
	c_p_c();
	//string s;
	//cout << "Enter string:";
	//cin >> s;
	int a, b;

	cin >> a >> b;
	if (b >= a) {
		cout << "unsafe\n";
	}
	else
	{
		cout << "safe\n";
	}
	//char a[101];

	/*if (strstr(a, "100001") || strstr(a, "10001") || strstr(a, "1001") || strstr(a, "101") || strstr(a, "11") || strstr(a + 5, "100001") || strstr(a + 4, "10001") || strstr(a + 3, "1001") || strstr(a + 2, "101") || strstr(a + 1, "11"))
		printf("NO\n");
	else
		printf("YES\n"); */

	return 0;



}

Compiler output:
main.c:4:9: fatal error: bits/stdc++.h: No such file or directory
    4 | #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";
    else cout<<"unsafe";
    return 0;
}

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

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

int main() {
  int 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;
  int W;
  cin>>S>>W;
  if(W>=S){
    cout<<"unfair";
  }else{
    cout<<"fair";
  }
  return 0;
}

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

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

Compiler output:
Main.java:8: error: cannot find symbol
      System.out.prinln("unsafe");
                ^
  symbol:   method prinln(String)
  location: variable out of type PrintStream
1 error
Language: C

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

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

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

#include <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<iostream>
using namespace std;
int main(){
	int s,w;
	cin>>s>>w;
	if(w<s) cout<<"safe";
	else cout<<"unsafe";
	return 0;
} 

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

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

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

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

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

  if (x <= y) {
    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

//
//  main.cpp
//  ABC164
//
//
//  Copyright © 2020 エロやん. All rights reserved.
//

#include <iostream>
using namespace std;

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


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

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

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

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


Compiler output:
main.c: In function 'main':
main.c:3:9: error: 'cin' undeclared (first use in this function)
    3 |         cin>>s>>w;
      |         ^~~
main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:18: error: 'cout' undeclared (first use in this function)
    4 |         if(w>=s) cout<<"unsafe"<<endl;
      |                  ^~~~
main.c:4:34: error: 'endl' undeclared (first use in this function)
    4 |         if(w>=s) cout<<"unsafe"<<endl;
      |                                  ^~~~
Language: C

#include <iostream>
using namespace std;
 
int main(){
  int S;
  int W;
  cin>>S>>W;
  if(W>=S){
    cout<<"unfair";
  }else{
    cout<<"fair";
  }
  return 0;
}

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

ort java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Set <String> set = new HashSet<>();
    int n = scan.nextInt();
    String[] s = new String[n];
    for(int i = 0; i < n; i++){
      s[i] = scan.nextLine();
      set.add(s[i]);
    }
    System.out.println(set.size());
  }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
ort java.util.*;
^
1 error
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected primary-expression before '<' token
    7 |     if(s=<w) cout << "unsafe";
      |          ^
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\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++>
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:9: fatal error: bits/stdc++: No such file or directory
    1 | #include<bits/stdc++>
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Set <String> set = new HashSet<>();
    int n = scan.nextInt();
    String[] s = new String();
    for(int i = 0; i < n; i++){
      s[i] = scan.nextLine();
      set.add(s[i]);
    }
    System.out.println(set.size());
  }
}

Compiler output:
Main.java:7: error: incompatible types: String cannot be converted to String[]
    String[] s = new String();
                 ^
1 error
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:9: error: 'cin' undeclared (first use in this function)
    3 |         cin>>s>>w;
      |         ^~~
main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:17: error: 'cout' undeclared (first use in this function)
    4 |         if(w>=s)cout<<"unsafe"<<endl;
      |                 ^~~~
main.c:4:33: error: 'endl' undeclared (first use in this function)
    4 |         if(w>=s)cout<<"unsafe"<<endl;
      |                                 ^~~~
Language: C

items = list(map(lambda x: int(x), input().split()))
s = items[0]
w = items[1]
print('safe' if s > w else 'unsafe')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | items = list(map(lambda x: int(x), input().split()))
      | ^~~~~
main.c:1:1: error: type defaults to 'int' in declaration of 'items' [-Wimplicit-int]
main.c:1:9: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | items = list(map(lambda x: int(x), input().split()))
      |         ^~~~
main.c:1:14: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | items = list(map(lambda x: int(x), input().split()))
      |              ^~~
main.c:1:18: error: 'lambda' undeclared here (not in a function)
    1 | items = list(map(lambda x: int(x), input().split()))
      |                  ^~~~~~
main.c:1:24: error: expected ')' before 'x'
    1 | items = list(map(lambda x: int(x), input().split()))
      |                 ~      ^~
      |                        )
main.c:2:1: error: expected ',' or ';' before 's'
    2 | s = items[0]
      | ^
main.c:4:7: warning: multi-character character constant [-Wmultichar]
    4 | print('safe' if s > w else 'unsafe')
      |       ^~~~~~
main.c:4:28: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 | print('safe' if s > w else 'unsafe')
      |                            ^~~~~~~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scan = new scanner(System.in);
    Set <String> set = new HashSet<>();
    int n = scan.nextInt();
    String[] s = new String[n];
    for(int i = 0; i < n; i++){
      s[i] = scan.nextLine();
      set.add(s[i]);
    }
    System.out.println(set.size());
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner scan = new scanner(System.in);
                       ^
  symbol:   class scanner
  location: class Main
1 error
Language: C

#include <iostream>
#include <bits/stdc++.h>
#include <string>
#include <math.h>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;

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

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

#include <iostream>

using namespace std;

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

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

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

int main() {
  int N;
  vector<string> sss(N);
  for (int i = 0; i < N; i++) {
    cin >> sss.at(i);
  }
  for (int i = 0; i < N; i++) {
    set<string> S;
    S.insert(sss.at(i));
  }
  cout << S.size() << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: 'S' was not declared in this scope
   16 |   cout << S.size() << endl;
      |           ^
Language: C

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

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


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

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

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

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

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


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

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

int main() {
  int N;
  vector<string> sss(N);
  for (int i = 0; i < N; i++) {
    cin >> sss.at(i);
  }
  for (int i = 0; i < N; i++) {
    set<string> S;
    S.insert(sss.at(i));
  }
  cout << S.size() << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: 'set' was not declared in this scope
   12 |     set<string> S;
      |     ^~~
a.cc:3:1: note: 'std::set' is defined in header '<set>'; this is probably fixable by adding '#include <set>'
    2 | #include<vector>
  +++ |+#include <set>
    3 | using namespace std;
a.cc:12:15: error: expected primary-expression before '>' token
   12 |     set<string> S;
      |               ^
a.cc:12:17: error: 'S' was not declared in this scope
   12 |     set<string> S;
      |                 ^
a.cc:15:11: error: 'S' was not declared in this scope
   15 |   cout << S.size() << endl;
      |           ^
Language: C

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

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> S >> W;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "unsafe" << endl;
      |     ^~~~
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |     cout << "unsafe" << endl;
      |                         ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "safe" << endl;
      |     ^~~~
a.cc:11:23: error: 'endl' was not declared in this scope
   11 |     cout << "safe" << endl;
      |                       ^~~~
Language: C

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

int main() {
  int s, w;
  string ans = "safe";
  if(s<w)ans="unsafe";
  cout<<ans;
}

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

/*
我的心脏怦怦跳，监管者就在附近
name:
Algorithm:
writer:Lxs(cdx)
place:
nothing is impossible
*/
#pragma GCC optimize(3,"Ofast","inline")
#include<bits/stdc++.h>
#include<string>
#include<iostream>
#include<cmath>
#include<set>
#include<stack>
#include<queue>
#include<unistd.h>
#include<stdio.h>
#include<cstring>
#define random(a,b) (rand()%(b-a+1)+a)
using namespace std;
bool prime(int x){
	 int i;
	 if(x<2) return 0;
	 for(i=2;i*i<=x;i++){
		if(x%i==0){return 0;}
	 }
	 return 1;
}
int main()
{
	cin>>ah>>as>>bh>>bs;
	for (int i=1;i<=1000000;i++){
		if (i%2==1)  bh-=as;
		else ah-=bs;
		if (ah<=0) cout<<"No"<<endl;return 0;
		if (bh<=0) cout<<"Yes"<<endl;return 0;
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:32:14: error: 'ah' was not declared in this scope
   32 |         cin>>ah>>as>>bh>>bs;
      |              ^~
a.cc:32:18: error: 'as' was not declared in this scope; did you mean 'abs'?
   32 |         cin>>ah>>as>>bh>>bs;
      |                  ^~
      |                  abs
a.cc:32:22: error: 'bh' was not declared in this scope
   32 |         cin>>ah>>as>>bh>>bs;
      |                      ^~
a.cc:32:26: error: 'bs' was not declared in this scope; did you mean 'abs'?
   32 |         cin>>ah>>as>>bh>>bs;
      |                          ^~
      |                          abs
Language: C

import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    s, w = map(int, rl().split())
    if s > w:
        print('safe')
    else:
      print('unsafe')
    

if __name__ == '__main__':
    solve()


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import sys
      | ^~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sys'
    3 | sys.setrecursionlimit(10 ** 7)
      | ^~~
main.c:10:15: warning: multi-character character constant [-Wmultichar]
   10 |         print('safe')
      |               ^~~~~~
main.c:12:13: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
   12 |       print('unsafe')
      |             ^~~~~~~~
main.c:15:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   15 | if __name__ == '__main__':
      |                ^~~~~~~~~~
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:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> S >> W;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "unsafe" << endl;
      |     ^~~~
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |     cout << "unsafe" << endl;
      |                         ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "safe" << endl;
      |     ^~~~
a.cc:11:23: error: 'endl' was not declared in this scope
   11 |     cout << "safe" << endl;
      |                       ^~~~
a.cc:11:28: error: expected '}' at end of input
   11 |     cout << "safe" << endl;
      |                            ^
a.cc:10:8: note: to match this '{'
   10 |   else {
      |        ^
a.cc:11:28: error: expected '}' at end of input
   11 |     cout << "safe" << endl;
      |                            ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include <iostream>
using namespace std;
 
int main(){
  int S;
  int W;
  cin>>S>>W;
  if(W>=S){
    cout<<"unfair";
  }else{
    cout<<"fair";
  }
  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 << "safe" << endl;
  }
  if(S <= W){
    cout << "unsafe" << endl;
  }
}

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

#include "bits/stdc++.h"

using namespace std;

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

import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scammer(System.in);
    int S = sc.nextInt();
    int W = sc.nextInt();

    if (S <= W) {
      System.out.println("unsafe");
    } else {
      System.out.println("safe");
    }
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    Scanner sc = new Scammer(System.in);
                     ^
  symbol:   class Scammer
  location: class Main
1 error
Language: C

#include <bits/stdc++.h>
using namespace std;
#define all(c) c.begin(),c.end()
#define init(c) memset(c,0,sizeof c)
#define S second
#define F first
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<int> vi;
typedef vector<ll> vl;
const int N=20000005;
int n,k,x,t,a,b,m;
string s;
vi v;
int main(){

	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 <bits/stdc++.h>
using namespace std;

int main() {
  int S, W;
  String ans = "safe";
  if (S < W) ans = "unsafe";
  cout << ans;
}


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;
  scanf("%d%d, &a, &b);
  if(a <= b)
        printf("unsafe\n");
  else
        printf("safe\n");
  return 0;
}

Compiler output:
a.cc:7:9: warning: missing terminating " character
    7 |   scanf("%d%d, &a, &b);
      |         ^
a.cc:7:9: error: missing terminating " character
    7 |   scanf("%d%d, &a, &b);
      |         ^~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected primary-expression before 'if'
    8 |   if(a <= b)
      |   ^~
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else
      |   ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else if (S > 2*W){cout << "safe" << endl;}
      |   ^~~~
Language: C

include <iostream>
using namespace std;
 
int main(){
  int S;
  int W;
  cin>>S>>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:7:3: error: 'cin' undeclared (first use in this function)
    7 |   cin>>S>>W;
      |   ^~~
main.c:7:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: 'cout' undeclared (first use in this function)
    9 |     cout<<"unfair";
      |     ^~~~
main.c:13:10: error: invalid suffix "；" on integer constant
   13 |   return 0；
      |          ^~~
main.c:13:13: error: expected ';' before '}' token
   13 |   return 0；
      |             ^
      |             ;
   14 | }
      | ~
Language: C

#include <iostream>
using namespace std;
#define vi vector<int>
// #define vs vector<string>
// #define mii map<int, int>

void show(auto a){
  int i = 0;
  while(i < a.size()){
    cout<<a[i]<<" ";
    i++;
  }
  cout<<endl;
}


int main(){
  ios_base::sync_with_stdio(false);
  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: Java

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

Compiler output:
Main.java:5: error: variable s is already defined in method main(String[])
      	int s=s.nextInt();
      	    ^
Main.java:5: error: int cannot be dereferenced
      	int s=s.nextInt();
      	       ^
Main.java:6: error: int cannot be dereferenced
      	int w=s.nextInt();
      	       ^
3 errors
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:12:4: error: expected '}' at end of input
   12 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main() {
int x,y,z,w;
  cin>>x>>y>>z>>w;
   while(x>0&&y>0){
  z-=y;
  if (z<=0){
    cout<<"Yes"<<endl;}
     x-=w;
    if(x<=0){
      cout<<"No"<<endl;}
    else {
      continue;
    }
  }
}

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==1) {cout << "unsafe" << endl;}
  else if (S > 2W){cout << "safe" << endl;} 
  else {cout << "unsafe" << endl;}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else if (S > 2W){cout << "safe" << endl;}
      |   ^~~~
a.cc:8:16: error: unable to find numeric literal operator 'operator""W'
    8 |   else if (S > 2W){cout << "safe" << endl;}
      |                ^~
Language: C

include <iostream>
using namespacestd;

int main(){
  int S;
  int W;
  cin>>S>>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:7:3: error: 'cin' undeclared (first use in this function)
    7 |   cin>>S>>W;
      |   ^~~
main.c:7:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: 'cout' undeclared (first use in this function)
    9 |     cout<<"unfair";
      |     ^~~~
main.c:13:10: error: invalid suffix "；" on integer constant
   13 |   return 0；
      |          ^~~
main.c:13:13: error: expected ';' before '}' token
   13 |   return 0；
      |             ^
      |             ;
   14 | }
      | ~
Language: C

#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#include<map>
using namespace std;

int read(){
	int x=0,f=1;
	char c=getchar();
	while(!isdigit(c)){if(c=='-')f=-1;c=getchar();}
	while(isdigit(c)){x=(x<<3)+(x<<1)+c-48;c=getchar();}
	return x*f;
}

int k,m,n;
int main(){
	n=read();m=read();
	if(n<=m)puts("unsafe");
	else puts("safe");
	return 0;
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> S >> W;
      |   ^~~
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << "unsafe" << endl;
      |     ^~~~
a.cc:6:25: error: 'endl' was not declared in this scope
    6 |     cout << "unsafe" << endl;
      |                         ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "safe" << endl;
      |     ^~~~
a.cc:9:23: error: 'endl' was not declared in this scope
    9 |     cout << "safe" << endl;
      |                       ^~~~