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

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:2: error: 'cin' was not declared in this scope
    6 |  cin>>s>>w;
      |  ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ<bits/stdc++.h>
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |  (w>=s)?cout"unsafe":cout"safe";
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:13: error: expected ':' before string constant
    7 |  (w>=s)?cout"unsafe":cout"safe";
      |             ^~~~~~~~
      |             :
Language: C

#include <stdio.h>

int main(int argc, char** argv) {
    int sheeps, wolves;

    scanf("%d%d", &sheeps, &wolves);
    
    if (ret < 0) return 1;

    if (sheeps > wolves) {
        printf("safe");
    } else {
        printf("unsafe");
    }

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: 'ret' undeclared (first use in this function)
    8 |     if (ret < 0) return 1;
      |         ^~~
main.c:8:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

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


Compiler output:
a.cc: In function 'void solve()':
a.cc:9:19: error: expected ';' before string constant
    9 |       else cout<<s"safe";
      |                   ^~~~~~
      |                   ;
Language: C

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

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

Compiler output:
main.c:1: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: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>
 
int main(void) {
  char *s, *w;
  int sheep, wolf, i = 0;
  
  scanf("%s", s);
  
  while (s[i++] == ' ');
  
  s[--i] == '\0';
  w = &s[++i];
  
  sheep = atoi(s);
  wolf = atoi(w);
  
  if (sheep > wolf) {
    printf("safe");
  } else {
    printf("unsafe");
  }
  
  return 0;
}
  
  
#include<stdio.h>
#include<stdlib.h>

int main(void) {
  char *s, *w;
  int sheep, wolf, i = 0;
  
  scanf("%s", s);
  
  while (s[i++] == '');
  
  s[--i] == '\0';
  w = &s[++i];
  
  sheep = atoi(s);
  wolf = atoi(w);
  
  if (sheep > wolf) {
    printf("safe");
  } else {
    printf("unsafe");
  }
  
  return 0;
}

Compiler output:
main.c:31:5: error: redefinition of 'main'
   31 | int main(void) {
      |     ^~~~
main.c:4:5: note: previous definition of 'main' with type 'int(void)'
    4 | int main(void) {
      |     ^~~~
main.c: In function 'main':
main.c:37:20: error: empty character constant
   37 |   while (s[i++] == '');
      |                    ^~
Language: C

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

int main(void) {
  char *s, *w;
  int sheep, wolf, i = 0;
  
  scanf("%s", s);
  
  while (s[i++] == '');
  
  s[--i] == '\0';
  w = &s[++i];
  
  sheep = atoi(s);
  wolf = atoi(w);
  
  if (sheep > wolf) {
    printf("safe");
  } else {
    printf("unsafe");
  }
  
  return 0;
}
  
  

Compiler output:
main.c: In function 'main':
main.c:10:20: error: empty character constant
   10 |   while (s[i++] == '');
      |                    ^~
Language: C

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

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

    cout << (s <= w? "unsafe":"safe") << endl;
    
    return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i = 0; i < (N); i++)
#define repo(i,N) for(int i = 1; i < (N); i++)
//#define int long long
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(),(x).end()
//#define num 1000000007
#define pi acos(-1.0)
//cout << fixed << setprecision (10);   小数点以下１０桁まで
//intの最大値2147483647 ≒ 2×10^9
//long longの最大値9223372036854775807 ≒ 9×10^18
//'大文字'+=32;    で小文字に
//string s = to_string(int数);
//int n = stoi(string文字列);

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


Compiler output:
a.cc: In function 'int main()':
a.cc:24:25: error: expected ':' before ';' token
   24 |   cout << (a<=b?"unsafe";"safe") << endl;
      |                         ^
      |                         :
a.cc:24:25: error: expected primary-expression before ';' token
a.cc:24:25: error: expected ')' before ';' token
   24 |   cout << (a<=b?"unsafe";"safe") << endl;
      |           ~             ^
      |                         )
a.cc:24:32: error: expected ';' before ')' token
   24 |   cout << (a<=b?"unsafe";"safe") << endl;
      |                                ^
      |                                ;
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>

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


Compiler output:
main.c: In function 'main':
main.c:6:26: error: '$W' undeclared (first use in this function); did you mean 'W'?
    6 |         scanf("%d %d",&S,$W);
      |                          ^~
      |                          W
main.c:6:26: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

s, w = map(int, input().split())

if w >= s:
    print('unsafe')
else:
    print('safe')


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

#include <iostream>
//#include <iomanip>
//#include<vector>
//#include <algorithm>
//#include <queue>
//#include<string>
//#include <map>
//#include <cmath>
//#include <deque>
//#include <list>
//#include <stack>
//#include <queue>
//#include <utility>
//#include <set>
//#include <bitset>
typedef long long ll;
typedef long double ld;

#define REP(i,s,n)for(ll i=s;i<(n);++i)
#define rep(i,n) REP(i,0,n)
using namespace std;

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

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

    return 0;
}

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

#include <iostream>
#include <iomanip>
#include<vector>
#include <algorithm>
#include <queue>
#include<string>
#include <map>
#include <cmath>
#include <deque>
#include <list>
#include <stack>
#include <queue>
#include <utility>
#include <set>
#include <bitset>
typedef long long ll;
typedef long double ld;

#define REP(i,s,n)for(ll i=s;i<(n);++i)
#define rep(i,n) REP(i,0,n)
using namespace std;

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

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

    return 0;
}

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

#include <iostream>
#include <algorithm>
#include <typeinfo>
#include <numeric>
#include "math.h"
#include <string>
#include <vector>
#include <iomanip>

#define pai 3.14159265358979323846264338327950288
using namespace std;

// Sheep and Wolves
int main() {

	int s, w;

	cin >> s >> w;

	if (s > w) {
		cout << "safe";

	}
	else {
		cout << "unsafe";
	
	}
	return 0;
}


Compiler output:
main.c:1:10: fatal error: 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>>n;
  if(w>=s)
    cout<<"unsafe";
  else
    cout<<"safe";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'n' was not declared in this scope
    6 |   cin>>s>>n;
      |           ^
Language: C++

#include<bits/stdc++.h>
const int mod=1e9+7;
typedef long long ll;
const int N=2e5+5;
int main()
{
	// std::ios::sync_with_stdio(false);std::cin.tie(0);std::cout.tie(0);
	// freopen("a.in","r",stdin);
	// int T;scanf("%d",&T);while(T--){
	scanf("%d%d",&n,&k);
	if(n>k) printf("safe\n");
	else printf("unsafe\n");
	// }
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: 'n' was not declared in this scope
   10 |         scanf("%d%d",&n,&k);
      |                       ^
a.cc:10:26: error: 'k' was not declared in this scope
   10 |         scanf("%d%d",&n,&k);
      |                          ^
Language: C

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

#ifdef LOCAL
#define debug(var) cerr << (#var) << " = " << (var) << endl;
#else
#define debug(var)
#endif

void init() {
    ios_base::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
}

void solve() {
    int s, w; scanf("%d%d", &s, &w);
    if (w >= s) printf("un");
    printf("safe");
}

int main() {
    init();
    int t = 1; //scanf("%d", &t);
    while (t--) {
        solve();
    }
    return 0;
}

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

#incldue<iostream>
using namespace std;

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>s>>w;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incldue<iostream>
a.cc:7:12: error: 'cout' was not declared in this scope
    7 |   if(w>=s) cout<<"unsafe";
      |            ^~~~
a.cc:7:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout<<"safe";
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int x, y;   cin >> x >> y;
    puts(x <= y ? "unsafe" : "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++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:2: error: 'scanf' was not declared in this scope
    3 |  scanf("%d%d",&s,&w);
      |  ^~~~~
a.cc:4:10: error: 'printf' was not declared in this scope
    4 |  if(w>=s)printf("unsafe");
      |          ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
a.cc:5:7: error: 'printf' was not declared in this scope
    5 |  else printf("safe");
      |       ^~~~~~
a.cc:5:7: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C

S, W = map (int, input (). Split ())
print (("safe", "unsafe") [W> = S])


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:13: error: expected expression before 'int'
    1 | S, W = map (int, input (). Split ())
      |             ^~~
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print (("safe", "unsafe") [W> = S])
      | ^~~~~
Language: C

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

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

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

int w,s;

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

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

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

Compiler output:
a.cc:8:11: warning: missing terminating " character
    8 |     cout<<"unsafe
      |           ^
a.cc:8:11: error: missing terminating " character
    8 |     cout<<"unsafe
      |           ^~~~~~~
a.cc:9:5: warning: missing terminating " character
    9 |     ";
      |     ^
a.cc:9:5: error: missing terminating " character
    9 |     ";
      |     ^~
a.cc:11:13: warning: missing terminating " character
   11 |       cout<<"safe
      |             ^
a.cc:11:13: error: missing terminating " character
   11 |       cout<<"safe
      |             ^~~~~
a.cc:12:5: warning: missing terminating " character
   12 |     ";
      |     ^
a.cc:12:5: error: missing terminating " character
   12 |     ";
      |     ^~
a.cc: In function 'int main()':
a.cc:10:5: error: expected primary-expression before 'else'
   10 |     else
      |     ^~~~
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:
      | ^~
main.c:4:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |     print('unsafe')
      |           ^~~~~~~~
main.c:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('safe')
      |           ^~~~~~
Language: C

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

int main()

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


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

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

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
  if(a>=b)
    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 <iostream>
#include <vector>
#include <algorithm>
using namespace std;

typedef long long ll;
//const int INF = 2e9;
//const ll INF = 9e18;


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

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

Compiler output:
main.c: In function 'main':
main.c:10:5: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   10 |     print("safe")
      |     ^~~~~
      |     printf
main.c:10:18: error: expected ';' before '}' token
   10 |     print("safe")
      |                  ^
      |                  ;
   11 |     }
      |     ~
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:7:11: error: expected primary-expression before '<' token
    7 |     if (S=<W) {
      |           ^
Language: C

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

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

#include<bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define ll long long
#define si(x)	scanf("%d",&x)
#define sl(x)	scanf("%lld",&x)
#define ss(s)	scanf("%s",s)
#define pi(x)	printf("%d\n",x)
#define pl(x)	printf("%lld\n",x)
#define ps(s)	printf("%s\n",s)
#define deb(x) cout << #x << "=" << x << endl
#define deb2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << endl
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define tr(it, a) for(auto it = a.begin(); it != a.end(); it++)
#define PI 3.1415926535897932384626
typedef pair<int, int>	pii;
typedef pair<ll, ll>	pl;
typedef vector<int>		vi;
typedef vector<ll>		vl;
typedef vector<pii>		vpii;
typedef vector<pl>		vpl;
typedef vector<vi>		vvi;
typedef vector<vl>		vvl;
int mpow(int base, int exp); 
void ipgraph(int m);
void dfs(int u, int par);
const int mod = 1000000007;
const int N = 3e5, M = N;
//=======================

vi g[N];
int a[N];

int main() {
    ios_base::sync_with_stdio(0);
    int t, i, j, k, p, q, r, x, y, u, v, n, m;
	cin>>t>>i;
  if(t>i) cout<<"safe\n";
  else cout<<"unsafe\n";
    return 0;
}

int mpow(int base, int exp) {
  base %= mod;
  int result = 1;
  while (exp > 0) {
    if (exp & 1) result = ((ll)result * base) % mod;
    base = ((ll)base * base) % mod;
    exp >>= 1;
  }
  return result;
}

void ipgraph(int n, int m){
	int i, u, v;
	while(m--){
		cin>>u>>v;
		g[u-1].pb(v-1);
		g[v-1].pb(u-1);
	}
}

void dfs(int u, int par){
	for(int v:g[u]){
		if (v == par) continue;
		dfs(v, u);
	}
}



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>

//mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
//#pragma GCC optimize("Ofast")
//1.0 * clock() / CLOCKS_PER_SEC

#define fi first
#define se second
#define ll long long
#define dl double long

using namespace std;

const int NN = 1e3 + 7;
const int N = 2e5 + 7;
const int M = 22;
const ll mod = 1e9 + 7;
const ll inf = 1e18 + 7;
const dl rf = 1e-14;
const int B = sqrt(N);



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

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    //freopen( "input.txt" , "r" , stdin );
    //freopen( "output.txt" , "w" , stdout );

    int cghf = 1;//cin >> cghf;
    while( cghf-- ){
        solve1();
    }
}


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 sc = new Scanner(System.in);
                 int S = sc.nextInt();
                 int W = sc.nextInt();
                 if(W>=S){
                   system.out.println("unsafe");
                 }else{
                  system.out.println("safe");
                  } 
        }
  
  
}

Compiler output:
Main.java:8: error: package system does not exist
                   system.out.println("unsafe");
                         ^
Main.java:10: error: package system does not exist
                  system.out.println("safe");
                        ^
2 errors
Language: C

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

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

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

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
                 Scanner sc = new Scanner();
                              ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
Main.java:8: error: package system does not exist
                   system.out.println("unsafe");
                         ^
Main.java:10: error: package system does not exist
                  system.out.println("safe");
                        ^
3 errors
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:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

//package atcoder.ABC;
import java.util.*;

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

}


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

package atcoder.ABC;
import java.util.*;

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

}

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

using namespace std;

int main()
{

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

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

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

#include<bits/stdc++.h>

using namespce std ;
int main() {
    ll a , b ;
    cin >> a >> b ; 
    if (a<=b) cout << "unsafe\n" ;
    else cout << "safe\n" ;
}


Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespce'
    3 | using namespce std ;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'll' was not declared in this scope
    5 |     ll a , b ;
      |     ^~
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> a >> b ;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a >> b ;
      |            ^
a.cc:6:17: error: 'b' was not declared in this scope
    6 |     cin >> a >> b ;
      |                 ^
a.cc:7:15: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     if (a<=b) cout << "unsafe\n" ;
      |               ^~~~
      |               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:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     else cout << "safe\n" ;
      |          ^~~~
      |          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

public class practice {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       
        int N = sc.nextInt();//羊
		int X = sc.nextInt();//  
           String x = (N>X) ?"safe":"unsafe";
           System.out.println(x);
     }
    }


Compiler output:
Main.java:1: error: class practice is public, should be declared in a file named practice.java
public class practice {
       ^
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class practice
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class practice
3 errors
Language: Java

import java.util.Scanner;


public class practice {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();//羊
		int X = sc.nextInt();//
        
           String x = (N>X) ?"safe":"unsafe";

           System.out.println(x);

     }


    }


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

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

typedef long long ll;

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>
#include<conio.h>
using namespace std;
int main()
{
	int S;
	int W;
	cin>>S;
	cin>>W;
	if (W>=S)
	{
		cout<<"unsafe";
	}
	else
	{
		cout<<"safe";
	}
	getch();
}


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

#include <iostream>
using namespace std;

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

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

  return 0;
}

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

#include <iostream>
using namespace std;

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

	string ans = "safe";
	if (s <= w) {
		ans = "unsafe";
	}
	cout << ans << endl;
	return 0;
}

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

#include <iostream>
int main()
{
  int S,W;
  
  std::cin >> S >> W;
  
  if(S>W)
    std::cout << "safe" << std::endl;
  else
    std::cout << "unsafe" << std::endl;
  
  return 0;
}

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

#include <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 (s <= w) cout << "unsafe" << endl;
  else cout << "safe" << endl;
}

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

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

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

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

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

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

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

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

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.*;
import java.io.*;
public class WolvesAndSheep 
{
    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in);
        // int T;
        // T=in.nextInt();
        // while((T--)>0)
        // {
        //     //code comes here
        //     int S,W;
        //     S=in

        // }   

        int S,W;
        S=in.nextInt();
        W=in.nextInt();
        if(W>=S)
        System.out.println("unsafe");
        else
        System.out.println("safe");
    }

}

Compiler output:
Main.java:3: error: class WolvesAndSheep is public, should be declared in a file named WolvesAndSheep.java
public class WolvesAndSheep 
       ^
1 error
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

#include <bits/stdc++.h>
#include namespace standard 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

import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int a = sc.nextInt();
        // スペース区切りの整数の入力
        int b = sc.nextInt();
        if(a>b){
            System.out.println("safe");
        }else{
            System.out.println("unsafe");
        }
    }
}


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:3:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
Language: Java

s, w = map(int,input().split())

if w >= s:
    print('unsafe')
else:
    print('safe')

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
s, w = map(int,input().split())
^
Main.java:4: error: unclosed character literal
    print('unsafe')
          ^
Main.java:4: error: unclosed character literal
    print('unsafe')
                 ^
Main.java:6: error: unclosed character literal
    print('safe')
          ^
Main.java:6: error: unclosed character literal
    print('safe')
               ^
5 errors
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc: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";
      |     ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "safe";
      |     ^~~~
Language: C++

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

Compiler output:
a.cc:6:13: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    6 |     cout << 'unsafe';
      |             ^~~~~~~~
a.cc:8:13: warning: multi-character character constant [-Wmultichar]
    8 |     cout << 'safe';
      |             ^~~~~~
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';
      |     ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << 'safe';
      |     ^~~~
Language: C

inputList = input().split()

s = int(inputList[0])
w = int(inputList[1])

if s <= w:
    print("unsafe")
else:
    print("safe")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | inputList = input().split()
      | ^~~~~~~~~
main.c:1:1: error: type defaults to 'int' in declaration of 'inputList' [-Wimplicit-int]
main.c:1:13: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | inputList = input().split()
      |             ^~~~~
main.c:1:20: error: request for member 'split' in something not a structure or union
    1 | inputList = input().split()
      |                    ^
main.c:3:1: error: expected ',' or ';' before 's'
    3 | s = int(inputList[0])
      | ^
Language: C++

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

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
Language: C++

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

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

#include<stdio>
using namespace std;

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

#include<stdio.h>
int main(){
  int s,w;
  scanf("%d%d"&s&w);
  if(s<=w)puts("unsafe");
  if(s>w)puts("safe");
  return 0;
}

  

Compiler output:
main.c: In function 'main':
main.c:4:15: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   scanf("%d%d"&s&w);
      |         ~~~~~~^
      |         |
      |         char *
Language: C

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

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

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

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

int main(){
    int  s, w;
    cin >> s >> w;
    if (s[2] == s[3] && s[4] == s[5] ) cout << "Yes" << endl;
    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())
if W >= S:
    print('unsafe')
else:
    print('safe')

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

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

public static void main(String[] args){
  Scanner scan=new Scanner(System.in);
  
  int hitsuji=int(scan.next());
  int ookami=int(scan.next());
  
  if(hitsuji<=ookami){
    System.out.println("unsafe");
  }
  else{
    System.out.println("safe");
  }
  
    

Compiler output:
Main.java:4: 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:7: error: '.class' expected
  int hitsuji=int(scan.next());
                 ^
Main.java:7: error: ';' expected
  int hitsuji=int(scan.next());
                             ^
Main.java:8: error: '.class' expected
  int ookami=int(scan.next());
                ^
Main.java:8: error: ';' expected
  int ookami=int(scan.next());
                            ^
Main.java:15: error: reached end of file while parsing
  }
   ^
6 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
	long 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:5:22: error: expected ';' before 'if'
    5 |         cin >> s >> w
      |                      ^
      |                      ;
    6 |         if(s<=w){
      |         ~~            
a.cc:9:9: error: 'else' without a previous 'if'
    9 |         else{
      |         ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
int main() {
	long 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 = input().split()
if int(w) > int(s):
    print('unsafe')
else:
    print('safe')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s, w = 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 = input().split()
      |    ^
main.c:1:8: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | s, w = input().split()
      |        ^~~~~
main.c:1:15: error: request for member 'split' in something not a structure or union
    1 | s, w = input().split()
      |               ^
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if int(w) > int(s):
      | ^~
main.c:3:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    3 |     print('unsafe')
      |           ^~~~~~~~
main.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('safe')
      |           ^~~~~~