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

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

        out.close();
    }


    //-----------MyScanner class for faster input----------
    public static class MyScanner {
        BufferedReader br;
        StringTokenizer st;

        public MyScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

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

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

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

        String nextLine(){
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }



    }

}

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:2:1: error: unknown type name 'import'
    2 | import java.io.*;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.*;
      |            ^
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

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

        out.close();
    }


    //-----------MyScanner class for faster input----------
    public static class MyScanner {
        BufferedReader br;
        StringTokenizer st;

        public MyScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

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

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

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

        String nextLine(){
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }



    }

}

Compiler output:
Main.java:3: error: class A164 is public, should be declared in a file named A164.java
public class A164
       ^
1 error
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:
a.cc: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

input_array = input().split()
s = int(input_array[0])
w = int(input_array[1])

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | input_array = input().split()
      | ^~~~~~~~~~~
main.c:1:1: error: type defaults to 'int' in declaration of 'input_array' [-Wimplicit-int]
main.c:1:15: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | input_array = input().split()
      |               ^~~~~
main.c:1:22: error: request for member 'split' in something not a structure or union
    1 | input_array = input().split()
      |                      ^
main.c:2:1: error: expected ',' or ';' before 's'
    2 | s = int(input_array[0])
      | ^
main.c:6:9: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    6 |   print('unsafe')
      |         ^~~~~~~~
main.c:8:9: warning: multi-character character constant [-Wmultichar]
    8 |   print('safe')
      |         ^~~~~~
Language: Java

import java.util.Scanner;
public class A164{
    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("unsafe");
        }
        else{
            System.out.println("safe");
        }

    }
}


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


/***

   Author : Md. Jashim Uddin
   From   : RMSTU

 ***/
#include<bits/stdc++.h>
using namespace std;
#define     sf(a)           scanf("%d",&a)
#define     sff(a,b)        scanf("%d %d",&a,&b)
#define     sfff(a,b,c)     scanf("%d %d %d",&a,&b, &c)
#define     pb              push_back
#define     ll              long  long int
#define     fast            ios_base :: sync_with_stdio(false);cin.tie(0)
#define     pi              2*acos(0)
#define     sp              fixed<<setprecision
#define     lcm(a,b)        (a*b)/gcd(a,b)
#define     gcd(a,b)        _gcd(a,b)
#define     forn(i,n)       for(int i=1;i<=n;i++)
#define      mx               1000000
int main()
{
   ll m,n;
   cin>>m>>n;
   if(n>=m)cout<<"unsafe"<<endl;
   else cout<<"safe"<<endl;


    return 0;
}


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

#include <bits/stdc++.h>
#define PI 3.141592653
#define rep(i,a,n) for(int i=a;i<(int)n;++i)
#define SZ(x) ((int)(x).size())	//size() unsigned -> int
#define descSort(a) sort(a.begin(),a.end(),std::greater<int>())
using namespace std;
typedef long long ll;
const ll INF = 1e9 + 7;
ll gcd(ll x,ll y){
    if(x%y==0)return y;
    return gcd(y,x%y);
}
int main(void){
    int s,w;
    if(w>=s)cout<<"unsafe"<<endl;
    else cout<<"safe"<<endl;
    return 0;
}

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

#include"bits/stdc++.h"
#include<unordered_set>
#include<unordered_map>
#include<random>
using namespace std;
typedef long long ll;
const ll MOD = (ll)(1e9+7);
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
int dx[4]={ 1,0,-1,0 };
int dy[4]={ 0,1,0,-1 };

int S, W;

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

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

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

#include <iostream>
#include <stdio.h>
#include <string>

using namespace std;

int main() {
  int S, W; 

  cin >> S >> W; 

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


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

#include<bits/stdc++.h>
int main(){
int sheep,wolves;
cin<< sheep << wolves;
if(sheep>wolves){
  return safe;
}
else{
  return unsafe;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | cin<< sheep << wolves;
      | ^~~
      | 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:10: error: 'safe' was not declared in this scope
    6 |   return safe;
      |          ^~~~
a.cc:9:10: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
    9 |   return unsafe;
      |          ^~~~~~
      |          unshare
Language: C

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
#define REP(i,n) for (ll i = 0; i < (n); ++i)
#define RREP(i, n) for (ll i = (n) - 1; i >= 0; --i)
#define ALL(v) (v).begin(), (v).end()


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


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

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

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


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s,w  = map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'w' [-Wimplicit-int]
    1 | s,w  = map(int, input().split())
      |   ^
main.c:1: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:
      | ^~
Language: C

/*
	************	************    ************	***      ***	************	***               ***
	************	************    ************	****     ***	************	 ***             ***
	***      ***	***      ***    ***      ***	*****    ***	***      ***	  ***           ***
	***      ***	***      ***    ***      ***	******   ***	***      ***	   ***         ***
	************	************    ************	*** ***  ***	************	    ***       ***
	************	************    ************	***  *** ***	************	     ***     ***
	***				***   ***       ***      ***	***   ******	***      ***	      ***   ***
	***				***    ***      ***      ***	***    *****	***      ***	       *** ***
	***				***     ***     ***      ***	***     ****	***      ***	        *****
	***				***      ***    ***      ***	***      ***	***      ***	         ***
*/

#define named(blockname) goto blockname; \
                         blockname##_skip: if (0) \
                         blockname:

#define break(blockname) goto blockname##_skip
// #include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define readarr(a,n) for (int i=0; i<n; i++) {cin>>a[i];}
#define printarr(a,n) for (int i=0; i<n; i++) {cout<<a[i]<<' ';}
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define vint vector <int>
#define pb push_back
#define pf push_front
#define endl "\n"

signed main() {
	
	fast ;
	
	ll q ;
	// cin >> q ;
	q = 1 ;
	while(q--)
	{
		ll a,b ;
		cin>>a>>b ;
		if (b>=a)
			cout << "unsafe" ;
		else
		cout << "safe" ;	}
	
	return 0;
}

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

/*
	************	************    ************	***      ***	************	***               ***
	************	************    ************	****     ***	************	 ***             ***
	***      ***	***      ***    ***      ***	*****    ***	***      ***	  ***           ***
	***      ***	***      ***    ***      ***	******   ***	***      ***	   ***         ***
	************	************    ************	*** ***  ***	************	    ***       ***
	************	************    ************	***  *** ***	************	     ***     ***
	***				***   ***       ***      ***	***   ******	***      ***	      ***   ***
	***				***    ***      ***      ***	***    *****	***      ***	       *** ***
	***				***     ***     ***      ***	***     ****	***      ***	        *****
	***				***      ***    ***      ***	***      ***	***      ***	         ***
*/

#define named(blockname) goto blockname; \
                         blockname##_skip: if (0) \
                         blockname:

#define break(blockname) goto blockname##_skip
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define readarr(a,n) for (int i=0; i<n; i++) {cin>>a[i];}
#define printarr(a,n) for (int i=0; i<n; i++) {cout<<a[i]<<' ';}
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define vint vector <int>
#define pb push_back
#define pf push_front
#define endl "\n"

signed main() {
	
	fast ;
	
	ll q ;
	// cin >> q ;
	q = 1 ;
	while(q--)
	{
		ll a,b ;
		cin>>a>>b ;
		if (b>=a)
			cout << "unsafe" ;
		else
		cout << "safe" ;	}
	
	return 0;
}

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

/*
	************	************    ************	***      ***	************	***               ***
	************	************    ************	****     ***	************	 ***             ***
	***      ***	***      ***    ***      ***	*****    ***	***      ***	  ***           ***
	***      ***	***      ***    ***      ***	******   ***	***      ***	   ***         ***
	************	************    ************	*** ***  ***	************	    ***       ***
	************	************    ************	***  *** ***	************	     ***     ***
	***				***   ***       ***      ***	***   ******	***      ***	      ***   ***
	***				***    ***      ***      ***	***    *****	***      ***	       *** ***
	***				***     ***     ***      ***	***     ****	***      ***	        *****
	***				***      ***    ***      ***	***      ***	***      ***	         ***
*/

#define named(blockname) goto blockname; \
                         blockname##_skip: if (0) \
                         blockname:

#define break(blockname) goto blockname##_skip
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define readarr(a,n) for (int i=0; i<n; i++) {cin>>a[i];}
#define printarr(a,n) for (int i=0; i<n; i++) {cout<<a[i]<<' ';}
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define vint vector <int>
#define pb push_back
#define pf push_front
#define endl "\n"

set<ll> primeFactors(int n) 
{ 
	set <ll> s ;
	while (n % 2 == 0) 
	{ 
		s.insert(2) ;
		n = n/2; 
	} 
	
	for (int i = 3; i <= sqrt(n); i = i + 2) 
	{ 
		while (n % i == 0) 
		{ 
			s.insert(i) ; 
			n = n/i; 
		} 
	} 

	if (n > 2) 
		s.insert(n) ;
	return s ;
} 

signed main() {
	
	fast ;
	
	ll q ;
	// cin >> q ;
	q = 1 ;
	while(q--)
	{
		ll a,b ;
		cin>>a>>b ;
		if (b>=a)
			cout << "unsafe" ;
		else
		cout << "safe" ;	}
	
	return 0;
}

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

/*
	************	************    ************	***      ***	************	***               ***
	************	************    ************	****     ***	************	 ***             ***
	***      ***	***      ***    ***      ***	*****    ***	***      ***	  ***           ***
	***      ***	***      ***    ***      ***	******   ***	***      ***	   ***         ***
	************	************    ************	*** ***  ***	************	    ***       ***
	************	************    ************	***  *** ***	************	     ***     ***
	***				***   ***       ***      ***	***   ******	***      ***	      ***   ***
	***				***    ***      ***      ***	***    *****	***      ***	       *** ***
	***				***     ***     ***      ***	***     ****	***      ***	        *****
	***				***      ***    ***      ***	***      ***	***      ***	         ***
*/

#define named(blockname) goto blockname; \
                         blockname##_skip: if (0) \
                         blockname:

#define break(blockname) goto blockname##_skip
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define readarr(a,n) for (int i=0; i<n; i++) {cin>>a[i];}
#define printarr(a,n) for (int i=0; i<n; i++) {cout<<a[i]<<' ';}
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define vint vector <int>
#define pb push_back
#define pf push_front
#define endl "\n"

set<ll> primeFactors(int n) 
{ 
	set <ll> s ;
	while (n % 2 == 0) 
	{ 
		s.insert(2) ;
		n = n/2; 
	} 
	
	for (int i = 3; i <= sqrt(n); i = i + 2) 
	{ 
		while (n % i == 0) 
		{ 
			s.insert(i) ; 
			n = n/i; 
		} 
	} 

	if (n > 2) 
		s.insert(n) ;
	return s ;
} 

signed main() {
	
	fast ;
	
	ll q ;
	// cin >> q ;
	q = 1 ;
	while(q--)
	{
		ll a,b ;
		cin>>a>>b ;
		if (b>=a)
			cout << "unsafe" ;
		else'cout << safe
 ;	}
	
	return 0;
}

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

#include <bits/stdc++.h>

using namespace std;

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

    cout << (s > w : "safe" : "unsafe") << '\n';
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected ')' before ':' token
   10 |     cout << (s > w : "safe" : "unsafe") << '\n';
      |             ~     ^~
      |                   )
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

#ifdef DEBUG

#else

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

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

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

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

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

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

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

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

    return 0;
}


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

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

int main() {
    long long int A,B,C,K;
    long long int new_A, new_B, new_C, new_K;
    long long int a, b, c, d, e, f, g, h, i, j, k, l, m, n, s, w;

    cin >> s;
    cin >> w;

    if (s > w) {
        cout << "safe\n";
    } else {
        cout << "unsafe\n";
    }
    // long long int tmp, cnt = 0;
    // tmp = b;
    // for (;;) {
    //     tmp = tmp/10;
    //     cnt ++;
    //     if (tmp > 0) {
    //     }
    //     else {
    //         break;
    //     }
    // } 
    // long long int time = 1;
    // for (int i = 0; i < cnt; i++) {
    //     time *= 10;
    // }
    // b += a*time;
    // // cout << b<< endl;
    // bool flag = false;
    // for (long long int i = 0; i < sqrt(b)+1; i++) {
    //     if (i*i == b) {
    //         flag = true;
    //     }
    // }
    // if (flag) {
    //     cout << "Yes" << endl;
    // }
    // else {
    //     cout << "No" << endl;
    // }

    return 0;
}

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

#include<iostream>
#include <algorithm>
#include<queue>
#include<cmath>
#include<math.h>
#include<string>
#include<string.h>
#include<map>
#include<set>
//#include <Eigen/Dense>
//#include <Eigen/Geometry>
//using namespace Eigen;

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

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

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

#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()

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 ; 
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define fast ios_base:: sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define int long long int
#define endl "\n"
#define pb push_back
#define bs binary_search
#define lb lower_bound
#define ub upper_bound
#define f first
#define s second
#define pii pair<int,int> 
template<class T> inline istream& operator>>(istream& str, vector<T> &a) { for (auto &i : a) str >> i; return str; }

long long M  = 1e9+7;
 
signed main(){
    fast;
    int s,w; cin >> s >> w;
    if(w > s){
    	cout << "unsafe" << endl;
    }
    else
    	cout << "safe" << endl;
}


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

#include<iostream>
#include<numeric>
#include<set>
#include<algorithm>
#include<map>
#include<vector>
using namespace std;
typedef long long li;
#define chmax(a,b) (a<(b)?a=(b),1:0)
#define repa(i,a,n) for(int i=(a);i<(n);i++)
#define MOD 1000000000
#define rep(i,n) for(int i=0;i<(n);i++)

#define df 0
template<class T> void print(const T& t){ cout << t << "\n"; }
template<class T, class... Ts> void print(const T& t, const Ts&... ts) { cout << t; if (sizeof...(ts)) cout << " "; print(ts...); }
// Container コンテナ型, map以外
template< template<class ...> class Ctn,class T>
std::ostream& operator<<(std::ostream& os,const Ctn<T>& v){
  // ここでストリームに obj を書き込みます。
  auto itr=v.begin();
  while(itr!=v.end()){
    if(itr!=v.begin())cout << " ";
    cout << *(itr++);
  }
  return os;
}


int main(){
  int s,w; cin >>s >>w;
  print(s<=w?"unsafe":"safe")
}



Compiler output:
a.cc: In function 'int main()':
a.cc:32:30: error: expected ';' before '}' token
   32 |   print(s<=w?"unsafe":"safe")
      |                              ^
      |                              ;
   33 | }
      | ~
Language: C

/*01 02 03 12 13 23　と６回見ていくパターン 
for(int i=0;i<n-1;i++){
  for(int j=i+1;j<n;j++){
    }
  }
*///vector<vector<int>> data(3, vector<int>(4));//int型の2次元配列(3×4要素の)の宣言
//int64_t a;
//10のi乗pow(10, i);
/*string s; stringでの文字列を数字型に変える方法
  cin >> s;
  rep(i,s.size()-2) {
  int a= (s.at(i)-'0')*100 + (s.at(i+1)-'0')*10+ s.at(i+2) -'0';
    */
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
  int n,m;
  cin >> n>>m;
  if(n<=m)cout<<"unsafe"<<endl;
  else cout<<"safe"<<endl;
}


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

#include<iostream>
using namespace std;
int main()
{
	int w,s;
	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,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;
 
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

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

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:9: error: 'cin' undeclared (first use in this function)
    5 |         cin >> S >> W;
      |         ^~~
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:7: error: 'cout' undeclared (first use in this function)
    7 |       cout << "safe" << endl;
      |       ^~~~
main.c:7:25: error: 'endl' undeclared (first use in this function)
    7 |       cout << "safe" << endl;
      |                         ^~~~
Language: C++

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: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   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:5:12: error: 'cout' was not declared in this scope
    5 |   if(w>=s){cout<<"unsafe";}
      |            ^~~~
a.cc:5:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:8: error: 'cout' was not declared in this scope
    6 |   else{cout<<"safe";}
      |        ^~~~
a.cc:6:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(0);
using namespace std;

int main()
{
   int t;t=1;
   FAST
   while(t--)
   {
       int n,k;cin>>n>>k;
       cout<<(n<k ? "unsafe\n":"safe\n");
   }
}

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

a=input()
b=input()
if a>b:
	print('unsafe')
else:
	print('safe')

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a=input()
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a=input()
      |   ^~~~~
main.c:1:3: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'b'
    2 | b=input()
      | ^
main.c:4:15: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    4 |         print('unsafe')
      |               ^~~~~~~~
main.c:6:15: warning: multi-character character constant [-Wmultichar]
    6 |         print('safe')
      |               ^~~~~~
Language: C

#include<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 <stdio>

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

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

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<long long> vll;
typedef pair<int,int> pii;
typedef pair<long long,long long> pll;


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

import java.util.Scanner;
public class Main{
	Scanner sc = new Scanner(System.in);
	int S = sc.nextInt();
	int W = sc.nextInt();
	if (S < 1 || S   > 100) {
		throw new IllegalArgumentException("不適切な値です");
	}
	else if(W < 1 || W > 100){
		throw new IllegalArgumentException("不適切な値です。");
	}
	if (S <= W){
		System.out.println("unsafe");
	}
	else{
		System.out.println("safe");
	}
	}
}

Compiler output:
Main.java:6: error: illegal start of type
	if (S < 1 || S   > 100) {
	^
Main.java:6: error: illegal start of type
	if (S < 1 || S   > 100) {
	        ^
Main.java:6: error: <identifier> expected
	if (S < 1 || S   > 100) {
	              ^
Main.java:9: error: illegal start of type
	else if(W < 1 || W > 100){
	^
Main.java:9: error: illegal start of type
	else if(W < 1 || W > 100){
	            ^
Main.java:9: error: <identifier> expected
	else if(W < 1 || W > 100){
	                  ^
Main.java:12: error: illegal start of type
	if (S <= W){
	^
Main.java:12: error: <identifier> expected
	if (S <= W){
	     ^
Main.java:12: error: <identifier> expected
	if (S <= W){
	          ^
Main.java:15: error: illegal start of type
	else{
	^
Main.java:19: error: class, interface, enum, or record expected
}
^
11 errors
Language: C

#include <bits/stdc++.h>
#define ll long long
#define li long int
#define ld long double
#define pl pair<long long, long long>
#define pi pair<int, int>
#define ppl pair<pl, ll>
#define ppi pair<int, pi>
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define LLFOR(i,a,b) for(ll i=a;i<b;i++)
#define fi first
#define se second
#define MOD 1000000007
#define M2 998244353
//std::cout <<setprecision(30) << av << endl;
using namespace std;

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
   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;
#define ll long long

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

Compiler output:
a.cc:8:22: warning: missing terminating " character
    8 |   if(w >= s) cout << "unsafe\n;
      |                      ^
a.cc:8:22: error: missing terminating " character
    8 |   if(w >= s) cout << "unsafe\n;
      |                      ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:7: error: expected initializer before '.' token
    6 |   ll s. w;
      |       ^
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s >> w;
      |          ^
a.cc:7:15: error: 'w' was not declared in this scope
    7 |   cin >> s >> w;
      |               ^
a.cc:9:3: error: expected primary-expression before 'else'
    9 |   else cout << "safe\n";
      |   ^~~~
Language: C

#include <stdio.h>

int main(void)
{
	int Hi, Oh;
	
	scanf("%d %d". &Hi, &Oh);
	if(Hi <= Oh)
	{
		printf("unsafe\n");
	}
	else
	{
		printf("safe\n");
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected identifier before '&' token
    7 |         scanf("%d %d". &Hi, &Oh);
      |                        ^
Language: C

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

int main() {
  
  int a,b;
  cin >> a >> b;
  
  if(a <= b) 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

using System;
 
namespace Sample
{
  class Sample
  {
    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("unsafe");
    }else{
    Console.WriteLine("safe");
    }
    
  }

}
}

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 Sample
      | ^~~~~~~~~
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    4 | {
      | ^
Language: C

#include <bits/stdc++.h>
using namespace std;
 
#define ll long long
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define rep11(i, n) for (int i = 1; i < (int)(n); ++i)
#define rep0(i, n) for (int i = 1; i <= (int)(n); ++i)
#define repo(i, o, n) for (int i = o; i < (int)(n); ++i)
#define repm(i, n) for (int i = (int)(n)-1; i >= 0; --i)
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
#define pb(n) push_back(n)
#define mp make_pair
#define MOD 1002000007
#define INF LO

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

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

S, W = map(int, input().split(" "))
print('unsafe' if (S <= W) else '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 'print'
    2 | print('unsafe' if (S <= W) else 'safe')
      | ^~~~~
main.c:2:7: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    2 | print('unsafe' if (S <= W) else 'safe')
      |       ^~~~~~~~
main.c:2:33: warning: multi-character character constant [-Wmultichar]
    2 | print('unsafe' if (S <= W) else 'safe')
      |                                 ^~~~~~
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(S>W){
            System.out.println("unsafe");
        }else{
          System.out.println("safe");
        }
		// 出力
		System.out.println((a+b+c) + " " + s);
	}
}

Compiler output:
Main.java:15: error: cannot find symbol
		System.out.println((a+b+c) + " " + s);
		                    ^
  symbol:   variable a
  location: class Main
Main.java:15: error: cannot find symbol
		System.out.println((a+b+c) + " " + s);
		                      ^
  symbol:   variable b
  location: class Main
Main.java:15: error: cannot find symbol
		System.out.println((a+b+c) + " " + s);
		                        ^
  symbol:   variable c
  location: class Main
Main.java:15: error: cannot find symbol
		System.out.println((a+b+c) + " " + s);
		                                   ^
  symbol:   variable s
  location: class Main
4 errors
Language: C

#include<bits/stdc++.h>
using namespace std;
int s,w;
int main()
{
   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>
#define int long long
#define float long double
#define PB push_back
#define MP make_pair
#define ss second
#define ff first
#define PI 3.14159265
#define fastrack ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
using namespace std;
const int M = 2007, mod = 998244353;

signed main(){
    fastrack;
    int tt = 1;
    //cin >> tt;
    while(tt--){
        int w, s;
        cin >> w >> s;
        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++.h>
#define int long long
#define float long double
#define PB push_back
#define MP make_pair
#define ss second
#define ff first
#define PI 3.14159265
#define fastrack ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
using namespace std;
const int M = 2007, mod = 998244353;

signed main(){
    fastrack;
    int tt = 1;
    //cin >> tt;
    while(tt--){
        int w, s;
        cin >> w >> s;
        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 <iostream>
 
using namespace std;
 
int main() {
 
  int s, w;
  cin >> s >> w;
  
  if (s>w) { 
    cout << "safe" << endl
  } else {
    cout << "unsafe" << endl;
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: expected ';' before '}' token
   11 |     cout << "safe" << endl
      |                           ^
      |                           ;
   12 |   } else {
      |   ~
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;
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: expected ';' before '}' token
   11 |     cout << "safe" << endl
      |                           ^
      |                           ;
   12 |   } else {
      |   ~
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int S = scanner.nextInt();
		int W = scanner.nextInt();

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

}


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

#include<bits/stdc++.h>
#define ll long long
#define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
 


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

    if (s <= w)
    {
        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>
#define ll long long
#define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
 


int main(){
    fast;
    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>
#define ll long long
using namespace std;
int main(){
	int s,w;cin>>s>>w;
	if(w>=s) cout<<"unsafe"<<endl;
	else cout<<"safe"<<endl;
	return 0;
} 

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

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

int main() 
{
  #ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif
 
 int n;
 cin>>n;
 int m;
 cin>>m;
 if(m>=n)
  cout<<"unsafe";
else
  cout<<"safe";
  return 0; 
}

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


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

int main() 
{
  #ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif
 
 int n;
 cin>>n;
 int m;
 cin>>m;
 if(m>=n)
  cout<<"unsafe";
else
  cout<<"safe";
  return 0; 
}

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

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

int main() 
{
  #ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif
 
 int n;
 cin>>n;
 int m;
 cin>>m;
 if(m>=n)
  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 <bits/stdc++.h>
using namespace std;

int main() 
{
  #ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif
 
 int n;
 cin>>n;
 int m;
 cin>>m;
 if(m>=n)
  cout<<"unsafe";
else
  cout<<"safe";
  return 0; 
}

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

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

int main() 
{
  #ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif
 
 int n;
 cin>>n;
 int m;
 cin>>m;
 if(m>=n)
  cout<<"unsafe";
else
  cout<<"safe";
  return 0; 
}

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

s,w = map(int, input().split())  
if s>w:
print("safe")
  else:
print("unself")

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

#include<iostream>
#include<stdio.h>
//#include <bits/stdc++.h>
#include<vector>
#include<float.h>
#include<iomanip>
#include<algorithm>
#include<string>
#include<cstring>
#include<math.h>
#include<cmath>
#include<sstream>
#include<set>
#include<map>
#include<queue>
#include <cassert>
#include <cmath>
#include<cstdint>

#define INF 1e9
#define rep(i,n)for(int i=0;(i)<(int)(n);i++)
#define REP(i,a,b)for(int i=(int)(a);(i)<=(int)(b);i++)
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define vec(type,n) vector<type>(n)
#define vvec(m,n) vector<vector<int>> (int(m),vector<int>(n))
#define ALL(a)  (a).begin(),(a).end()

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

vector<int>bitSearch(int bit,int n){
    vector<int>S;
    rep(i,n)if(bit&(1<<i))S.push_back(i);
    return S;
}

int d[100][100];             //スタートからの距離を保存
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};


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



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

s=str(input())

s=s[::-1]
mod=2019
lis=[0 for i in range(2019)]
lis[0]+=1
k=0
ans=0

for i in range(len(s)):
    k=(k+int(s[i])*(10**i)) % mod
    lis[k]+=1
    
for i in range(2019):
    ans+=(lis[i]*(lis[i]-1))//2
    
print(ans)


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s=str(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | s=str(input())
      |   ^~~
main.c:1:7: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | s=str(input())
      |       ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | s=str(input())
      |   ^~~
main.c:3:1: error: expected ',' or ';' before 's'
    3 | s=s[::-1]
      | ^