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

#include <bits/stdc++.h>
using namespace std;
int main() {

     int S,W;  
     cout<<numberofsheep;
	 cin>> S;
	 cout<<numberofwolves;
	 cin>> W;
	           if(W>=S)
			   cout<<unsafe;
			   
			   else
			   cout<<safe;       
                   

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'numberofsheep' was not declared in this scope
    6 |      cout<<numberofsheep;
      |            ^~~~~~~~~~~~~
a.cc:8:16: error: 'numberofwolves' was not declared in this scope
    8 |          cout<<numberofwolves;
      |                ^~~~~~~~~~~~~~
a.cc:11:34: error: 'unsafe' was not declared in this scope; did you mean 'unshare'?
   11 |                            cout<<unsafe;
      |                                  ^~~~~~
      |                                  unshare
a.cc:14:34: error: 'safe' was not declared in this scope
   14 |                            cout<<safe;
      |                                  ^~~~
Language: C++

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

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main{
      |     ^~~~
a.cc:3:1: error: expected primary-expression before 'using'
    3 | using namespace std;
      | ^~~~~
a.cc:3:1: error: expected '}' before 'using'
a.cc:2:9: note: to match this '{'
    2 | int main{
      |         ^
a.cc:5:1: error: 'cin' does not name a type
    5 | cin>>a;
      | ^~~
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>b;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(a>b){cout<<"safe";}
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else if(a==b){cout<<"unsafe";}
      | ^~~~
a.cc:9:1: error: expected unqualified-id before 'else'
    9 | else{cout<<"unsafe";}
      | ^~~~
a.cc:10:3: error: expected unqualified-id before 'return'
   10 |   return 0;
      |   ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

Compiler output:
a.cc:1:5: error: cannot declare '::main' to be a global variable
    1 | int main{
      |     ^~~~
a.cc:2:1: error: expected primary-expression before 'using'
    2 | using namespace std;
      | ^~~~~
a.cc:2:1: error: expected '}' before 'using'
a.cc:1:9: note: to match this '{'
    1 | int main{
      |         ^
a.cc:4:1: error: 'cin' does not name a type
    4 | cin>>a;
      | ^~~
a.cc:5:1: error: 'cin' does not name a type
    5 | cin>>b;
      | ^~~
a.cc:6:1: error: expected unqualified-id before 'if'
    6 | if(a>b){cout<<"safe";}
      | ^~
a.cc:7:1: error: expected unqualified-id before 'else'
    7 | else if(a==b){cout<<"unsafe";}
      | ^~~~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else{cout<<"unsafe";}
      | ^~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

using namespace std;
int a,b;
cin>>a;
cin>>b;
if(a>b){cout<<"safe";}
else if(a==b){cout<<"unsafe";}
else{cout<<"unsafe";}

Compiler output:
a.cc:3:1: error: 'cin' does not name a type
    3 | cin>>a;
      | ^~~
a.cc:4:1: error: 'cin' does not name a type
    4 | cin>>b;
      | ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if(a>b){cout<<"safe";}
      | ^~
a.cc:6:1: error: expected unqualified-id before 'else'
    6 | else if(a==b){cout<<"unsafe";}
      | ^~~~
a.cc:7:1: error: expected unqualified-id before 'else'
    7 | else{cout<<"unsafe";}
      | ^~~~
Language: C++

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

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>a;
      | ^~~
a.cc:3:1: error: 'cin' does not name a type
    3 | cin>>b;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if(a>b){cout<<"safe";}
      | ^~
a.cc:5:1: error: expected unqualified-id before 'else'
    5 | else if(a==b){cout<<"unsafe";}
      | ^~~~
a.cc:6:1: error: expected unqualified-id before 'else'
    6 | else{cout<<"unsafe";}
      | ^~~~
Language: Java

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();
    int C = sc.nextInt();
    int D = sc.nextInt();
    while(C>0 && A>0){
      kougeki1(B,C);
      kougeki2(D,A);
    }

  private static void kougeki1(int Attack,int HP){
    HP -= Attack;
    if(HP<=0){
      System.out.println("Yes"); 
      break;
    }
  }
  private static void kougeki2(int attack,int hp){
    hp -= attack;
    if(hp <=0){
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:15: error: illegal start of expression
  private static void kougeki1(int Attack,int HP){
  ^
1 error
Language: Java

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();
    int C = sc.nextInt();
    int D = sc.nextInt();
    while(A<0){
      C -=B;
        if(C<=0){
          System.out.println("Yes");
          break;
        }
      A -= D;
        if(A<=0){
          System.out.println("No");
          break;
      }
    }
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(string[] args){
                          ^
  symbol:   class string
  location: class Main
1 error
Language: Java

import java.util.*;
 
public class Main{
  public static void main(stiring[] args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    int D = sc.nextInt();
    while(A<0){
      C -=B;
        if(C<=0){
          System.out.println("Yes");
          break;
        }
      A -= D;
        if(A<=0){
          System.out.println("No");
          break;
      }
    }
  }
}
     

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(stiring[] args){
                          ^
  symbol:   class stiring
  location: class Main
1 error
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:9: error: expected expression before '>' token
    6 |   if(W => S)printf("unsafe");
      |         ^
Language: C++

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

Compiler output:
a.cc:3:1: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
    3 | intmain(){
      | ^~~~~~~
a.cc: In function 'int intmain()':
a.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
    8 | }
      | ^
Language: C

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

#define pb push_back
#define mp make_pair
#define F(i, a, n, b) for(int i=a;i<n;i+=b)
#define REVF(i, a, b, c) for(int i=a;i>=b;i-=c)
#define REP(i, n) F(i, 0, n, 1)
#define REP1(i, n) F(i, 1, n+1, 1)
#define REV(i, n) REVF(i, n, 0, 1)
#define PTR(it, x) for(auto it=x.begin();it!=x.end();++it)
#define REVPTR(it, x) for(auto it=x.rbegin();it!=x.rend();++it)
#define MOD 1000000007

typedef unsigned long long ll;

const int MAX = 2e6 + 5;

int s,w;
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);

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

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

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

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

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

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

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

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

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

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

#include <iostream>
#include <unordered_map>
#include <string>
using namespace std;
int main() {
  unordered_map<string, int> m;
  int n;
  string s;
  std::cin >> n;
  while(n > 0) {
    std::cin >> s;
    if (m.find(s)) {
      m[s] += 1;
    } else {
      m[s] = 1;
    }
    n--;
  }
  return m.size();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: could not convert 'm.std::unordered_map<std::__cxx11::basic_string<char>, int>::find(s)' from 'std::unordered_map<std::__cxx11::basic_string<char>, int>::iterator' {aka 'std::__detail::_Insert_base<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char> >, std::hash<std::__cxx11::basic_string<char> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::iterator'} to 'bool'
   12 |     if (m.find(s)) {
      |         ~~~~~~^~~
      |               |
      |               std::unordered_map<std::__cxx11::basic_string<char>, int>::iterator {aka std::__detail::_Insert_base<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char> >, std::hash<std::__cxx11::basic_string<char> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::iterator}
Language: C++

#include <iostream>
#include <unordered_map>
#include <string>
using std;
int main() {
  unordered_map<string, int> m;
  int n;
  string s;
  std::cin >> n;
  while(n > 0) {
    std::cin >> s;
    if (m.find(s)) {
      m[s] += 1;
    } else {
      m[s] = 1;
    }
    n--;
  }
  return m.size();
}

Compiler output:
a.cc:4:7: error: expected nested-name-specifier before 'std'
    4 | using std;
      |       ^~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'unordered_map' was not declared in this scope
    6 |   unordered_map<string, int> m;
      |   ^~~~~~~~~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/unordered_map:41,
                 from a.cc:2:
/usr/include/c++/14/bits/unordered_map.h:109:11: note:   'std::unordered_map'
  109 |     class unordered_map
      |           ^~~~~~~~~~~~~
/usr/include/c++/14/unordered_map:67:13: note:   'std::pmr::unordered_map'
   67 |       using unordered_map
      |             ^~~~~~~~~~~~~
a.cc:6:17: error: 'string' was not declared in this scope
    6 |   unordered_map<string, int> m;
      |                 ^~~~~~
a.cc:6:17: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:6:25: error: expected primary-expression before 'int'
    6 |   unordered_map<string, int> m;
      |                         ^~~
a.cc:8:9: error: expected ';' before 's'
    8 |   string s;
      |         ^~
      |         ;
a.cc:11:17: error: 's' was not declared in this scope
   11 |     std::cin >> s;
      |                 ^
a.cc:12:9: error: 'm' was not declared in this scope
   12 |     if (m.find(s)) {
      |         ^
a.cc:19:10: error: 'm' was not declared in this scope
   19 |   return m.size();
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'cin' is not a member of 'std'
    4 |   std::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 | int main() {
a.cc:6:10: error: 'cout' is not a member of 'std'
    6 |     std::cout << "unsafe\n";
      |          ^~~~
a.cc:6:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:10: error: 'cout' is not a member of 'std'
    8 |     std::cout << "safe\n";
      |          ^~~~
a.cc:8:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

int w = 0;
int s = 0;
cin >> s >> w;
if(w >= s)
  cout << "unsafe\n";
else
  cout << "safe\n";

Compiler output:
a.cc:3:1: error: 'cin' does not name a type
    3 | cin >> s >> w;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if(w >= s)
      | ^~
a.cc:6:1: error: expected unqualified-id before 'else'
    6 | else
      | ^~~~
Language: C++

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

int main(){

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
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:
a.cc: In function 'int main()':
a.cc:7:10: error: request for member 'W' in 'S', which is of non-class type 'int'
    7 | cin >> S.W;
      |          ^
Language: C++

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

int main(){

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C++

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

int main(){

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C++

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

int main(){

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C++

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

int main(){

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '{' token
   13 | else( W < S ){
      |              ^
      |              ;
Language: C

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

int main() {
    int S, W;  // 円周, 軒数
    cin >> S >> W;
    if (S <= W) {
        cout << "unsafe" << endl;
    } else {
        cout << "safe" << endl;
    }
    return 0;
}

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

#include<bits/stcd++.h>
using namespace std;
int main()
{
  int a,b;
  cin>>a>>b;
  cout<<((b>=a)?("unsafe"):("safe"));
}

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

S=input()
W=10

if S < W:
	print(unsafe)
if S > W:
	print(safe)

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

  GNU nano 4.9                           SheepWolves.cc
#include<cstdio>
#include<stdlib.h>

int main(int argc,char* argv[]){
        int S;
        int W;
        S = atoi(argv[1]);
        W = atoi(argv[2]);
        if (W>=S){
                printf("unsafe");
        }else{
                printf("safe");
        }
        //printf("羊の数は%d、オオカミの数は%d",S,W);
}


Compiler output:
a.cc:1:3: error: 'GNU' does not name a type
    1 |   GNU nano 4.9                           SheepWolves.cc
      |   ^~~
Language: C

#include<bits/stdc++.h>

using namespace std;

int s,w;

int main()
{
    scanf("%d%d",&s,&w);
    if(w>=s) puts("unsafe");
    else puts("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

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
		int w = sc.nextInt();
		sc.close();
		String result = w >= s ? "unsafe" : "safe";

		System.out.println(result);

	}
}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
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: C++

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

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

import java.util.Scanner;

/**
 * https://atcoder.jp/contests/abc135/tasks/abc135_b
 */
public class ABC164 {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int S = sc.nextInt();
    int W = sc.nextInt();
  	sc.close();
    
    if(S>W)
      System.out.println("safe");
    else 
      System.out.println("unsafe");
   }
}

Compiler output:
Main.java:6: error: class ABC164 is public, should be declared in a file named ABC164.java
public class ABC164 {
       ^
Main.java:9: error: cannot find symbol
    int S = sc.nextInt();
            ^
  symbol:   variable sc
  location: class ABC164
Main.java:10: error: cannot find symbol
    int W = sc.nextInt();
            ^
  symbol:   variable sc
  location: class ABC164
Main.java:11: error: cannot find symbol
  	sc.close();
  	^
  symbol:   variable sc
  location: class ABC164
4 errors
Language: C++

#include <bits/stdc++.h.

usign

Compiler output:
a.cc:1:25: error: missing terminating > character
    1 | #include <bits/stdc++.h.
      |                         ^
a.cc: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;
using ll = long long;
using P = pair<ll,ll>;
using Map = map<string,ll>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
ll INF=1LL<<60;
ll MOD=1000000007;

int main(){
    ll k=0;
    for(ll i=0;i<10000000000;i++){k++;
    ;}
    ll S;
    cin >> S;
    ll W;
    cin >> W;
    if(S<=W)cout<<"unsafe"<<endl;
    else cout<<"No"<<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("unafe")
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:
      | ^~
Language: C

#include <iostream>

using namespace std;

int main()
{
    int s,w;
    cin >> s >> w ;
    while ( 0 < s && w < 100 )
    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 ;
    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 ;
    if (s>w)
        cout << "safe" << endl;
    else
        cout << "unsafe" << endl;

    return 0;
}


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


/********   All Required Header Files ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <time.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>

using namespace std;

/********** Main()  function **********/
int main()
{
	int a,b,c,d;
	cin >> a;
	cin >> b;
	cin >> c;
	cin >> d;
	int i=0;
	while(a>0 || c>0){
		if(i==0){a-=d}
		else{c-=b}
		i++;
		i%=2;
	}
	if(a<=0){
		cout << "Yes";
	}
	else{
		cout << "No";
	}
	return 0;
}
/********  Main() Ends Here *************/


Compiler output:
a.cc: In function 'int main()':
a.cc:39:30: error: expected ';' before '}' token
   39 |                 if(i==0){a-=d}
      |                              ^
      |                              ;
a.cc:40:26: error: expected ';' before '}' token
   40 |                 else{c-=b}
      |                          ^
      |                          ;
Language: C++


/********   All Required Header Files ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <time.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>

using namespace std;

/********** Main()  function **********/
int main()
{
	int a,b,c,d;
	cin >> a;
	cin >> b;
	cin >> c;
	cin >> d;
	int i=0
	while(a>0 || c>0){
		if(i==0){a-=d}
		else{c-=b}
		i++;
		i%=2;
	}
	if(a<=0){
		cout << "Yes";
	}
	else{
		cout << "No";
	}
	return 0;
}
/********  Main() Ends Here *************/


Compiler output:
a.cc: In function 'int main()':
a.cc:38:9: error: expected ',' or ';' before 'while'
   38 |         while(a>0 || c>0){
      |         ^~~~~
Language: C++


/********   All Required Header Files ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <time.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>

using namespace std;

/********** Main()  function **********/
int main()
{
	int a,b;
	cin >> a;
	cin >> b;
	if(a>b){
		cout << "safe";
	}
	else{
		cout << "unsafe";
	return 0;
}
/********  Main() Ends Here *************/


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

// IN THE NAME OF GOD "HEAD"
//OM NAMAHA SHIVAYA


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

    }














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

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

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

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

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

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
  for(;;) malloc(5000000)
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:26: error: expected ';' before '}' token
    5 |   for(;;) malloc(5000000)
      |                          ^
      |                          ;
    6 | }
      | ~                         
a.cc:5:17: warning: ignoring return value of 'void* malloc(size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
    5 |   for(;;) malloc(5000000)
      |           ~~~~~~^~~~~~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
    int w,s
    cin>>s>>w;

    if(s<=w)cout<<"unsafe\n";
    else cout<<"safe\n";
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: expected initializer before 'cin'
    5 |     cin>>s>>w;
      |     ^~~
a.cc:7:8: error: 's' was not declared in this scope
    7 |     if(s<=w)cout<<"unsafe\n";
      |        ^
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<<"safe"<<endl;
    else cout<<"unsafe"<<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 <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <string.h>
#define s(n)                        scanf("%d",&n)
#define sc(n)                       scanf("%c",&n)
#define sl(n)                       scanf("%I64d",&n)
#define sf(n)                       scanf("%lf",&n)
#define ss(n)                       scanf("%s",n)
#define INF                         (int)1e9
#define EPS                         1e-9
#define bitcount                    __builtin_popcount
#define gcd                         __gcd
#define forall(i,a,b)               for(int i=a;i<b;i++)
#define foreach(v, c)               for( typeof( (c).begin()) v = (c).begin();  v != (c).end(); ++v)
#define all(a)                      a.begin(), a.end()
#define in(a,b)                     ( (b).find(a) != (b).end())
#define pb                          push_back
#define fill(a,v)                    memset(a, v, sizeof a)
#define sz(a)                       ((int)(a.size()))
#define mp                          make_pair
#define MOD                         1000000007
typedef long long ll;
/*For you see , each day i love you
 more.Today more than yesterday
  less than tomorrow.*/
using namespace std;

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


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

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

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

import java.util.Scanner;

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

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

        String ans;
        if (S <= W) {ans = "unsafe";}
        else {ans = "safe";}

        System.out.println(ans);

        scanner.close();
    }
}

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

#include<bits/stdc++.h>
#define ll long long
#define M 1000000007

using namespace std;

// Solve function here


// End Solve function

int main(){
	ios::sync_with_stdio(0);
	cin.tie(0);
    //ifstream cin("input.in");
	//clock_t start, finish;
	int n, m; cin >> n >> m;
	if(m >= n) cout << "unsafe\n";
	else cout << "safe\n";
	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

a = input().split()

if a[0] < a[1]:
    print("unsafe")
else :
    print("safe")


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

a = int(input().split)

if a[0] < a[1]:
    print("unsafe")
else :
    print("safe")


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a = int(input().split)
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | a = int(input().split)
      |     ^~~
Language: C

a = int(input().split)

if a[0] < a[1]:
    print(unsafe)
else :
    print(safe)

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a = int(input().split)
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | a = int(input().split)
      |     ^~~
Language: C

#include <iostream>
using namespace std;
int main(){
	int a,b;
  cin>>a>>b;
  if (a>b)
    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

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


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

#include<bits/stdc++.h>
#include<map>
#include<iostream>

using namespace std;

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

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

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

Compiler output:
Main.java:9: error: ';' expected
      System.out.println("unsafe")
                                  ^
Main.java:11: error: ';' expected
      System.out.println("safe")
                                ^
2 errors
Language: Java

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){
      Sytem.out.println("unsafe");
    }else{
      System.out.println("safe");
    }
  }
}

Compiler output:
Main.java:9: error: package Sytem does not exist
      Sytem.out.println("unsafe");
           ^
1 error
Language: Java

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){
      Sytem.out.println("unsafe")
    }else{
      System.out.println("safe")
    }
  }
}

Compiler output:
Main.java:9: error: ';' expected
      Sytem.out.println("unsafe")
                                 ^
Main.java:11: error: ';' expected
      System.out.println("safe")
                                ^
2 errors
Language: C

a, b = map(int, input().split())
if a > b:
    print('safe')
else:
    print('unsafe')

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

#include <bits/stdc++.h>
#include <vector>
#include <string>
using namespace std;
#define FL(i,a,b) for(int i = a;i<b;i++)
typedef vector<int> vi;

const int inf = numeric_limits<int>::max();


int main(){
    int s,w;
    scanf("%d %d",&s,&w);
    if(w>=s){
        printf("%s","unsafe");
    }
    else{
        printf("%s","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;
#define ll int64_t
#define sec second
#define f first
#define pb push_back
#define pf push_front
#define po pop_back
const ll mod=1000000007;
#define fast ios_base::sync_with_stdio(false)
#define vi vector<ll>
#define vii vector< pair<ll,ll> >
#define pi pair<ll,ll>
#define pii pair< pair<ll,ll> ,ll >
#define set set<ll>
#define map map<ll,ll>
#define tostr to_string
#define toint stoi
#define gcd __gcd
ll maxm(ll a,ll b){return a>b?a:b;}
ll minm(ll a,ll b){return a>b?b:a;}
#define max maxm
#define min minm
const ll inf=1e18;


int main()
{
    fast;

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


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

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

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

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

#include <bits/stdc++.h>

using namespace std;

int main(){
	int s, w;
	scanf("%d %d", &s, &w);
	if (w >= s)
		puts("unsafe");
	else 
		puts("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;

#define sz(x) int(x.size())
#define Task "abc"
#define For(i, a, b) for(int i = (a), _b = (b); i <= b; ++i)
#define All(x) (x).begin(), (x).end()
#define mp make_pair

typedef unsigned long long ull;
typedef long long ll;

const int maxn = 1e5 + 10;
const int inf = 0x3f3f3f3f;
const ll mod = 1e9 + 7;

int main(){
  ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0);
//  freopen(Task".inp", "r", stdin); freopen(Task".out", "w", stdout);
  int n, m;
  cin >> n >> m;
  if (m >= n) cout << "unsafe";
  else cout << "safe";
}



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

#include<iostream>
using namespace std;
int main()
{
  int S,W;
  cin>>S>>W;
  if(S>!00||W>100||S<1||W<1)
  {
    cout<<"invalid input";
    system("pause");
  }
  if(W>=S)
  {
    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<stdio.h>
using namespace std;
int main()
{
  int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'cin' was not declared in this scope
    5 |   int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;
      |            ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:5:31: error: 'cout' was not declared in this scope
    5 |   int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;
      |                               ^~~~
a.cc:5:31: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<stdio.h>
int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}


Compiler output:
a.cc: In function 'int main()':
a.cc:2:21: error: 'cin' was not declared in this scope
    2 | int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}
      |                     ^~~
a.cc:2:40: error: 'cout' was not declared in this scope
    2 | int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}
      |                                        ^~~~
Language: C++

#include<stdio.h> int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}


Compiler output:
a.cc:1:19: warning: extra tokens at end of #include directive
    1 | #include<stdio.h> int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}
      |                   ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<stdio.h>int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}

Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}
      |                      ^~~~
a.cc:1:9: fatal error: stdio.h>in: No such file or directory
    1 | #include<stdio.h>int main(){int a,b; cin >> a >> b; a>b?cout<<"safe\n":cout<<"unsafe\n";return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
#include<conio.h>
int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	if(a==b)
	{
		printf("unsafe");
	}
	if(a<b)
	{
		printf("unsafe");
	}
	if(a>b)
	{
		printf("safe");
	}
	return 0;
}

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

#include<cstdio>
using namespace std;
#define ll long long
#define in inline
#define re register
in ll read(){
   ll s=0;bool w=1;char ch=getchar();while(ch<'0' || ch>'9'){if(ch=='-')w=-1;ch=getchar();}
   while(ch>='0' && ch<='9')s=s*10+ch-'0',ch=getchar();return s*w;
}
void write(ll x){
    if(x<0)putchar('-'),x=-x;
    if(x>9)write(x/10);putchar(x%10+'0');
}
int main(){
    int a=read(),b=read();
    puts("%s\n",a<=b?"unsafe":"safe");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: too many arguments to function 'int puts(const char*)'
   16 |     puts("%s\n",a<=b?"unsafe":"safe");
      |     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/cstdio:42,
                 from a.cc:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
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>'
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:
a.cc: In function 'int main()':
a.cc:7:13: error: expected ':' before string constant
    7 |  (w>=s)?cout"unsafe":cout"safe";
      |             ^~~~~~~~
      |             :
a.cc:7:8: error: operands to '?:' have different types 'std::ostream' {aka 'std::basic_ostream<char>'} and 'const char [7]'
    7 |  (w>=s)?cout"unsafe":cout"safe";
      |  ~~~~~~^~~~~~~~~~~~~