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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:31:3: error: expected 'while' before '}' token
   31 |   }
      |   ^
a.cc:31:3: error: expected '(' before '}' token
   31 |   }
      |   ^
      |   (
a.cc:31:3: error: expected primary-expression before '}' token
a.cc:30:6: error: expected ')' before '}' token
   30 |     }
      |      ^
      |      )
   31 |   }
      |   ~   
a.cc:30:6: error: expected ';' before '}' token
   30 |     }
      |      ^
      |      ;
   31 |   }
      |   ~
Language: C

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


Compiler output:
main.c:1:1: error: empty character constant
    1 | '''print safe and unsafe'''
      | ^~
main.c:1:1: error: expected identifier or '(' before '\x0'
main.c:1:3: warning: multi-character literal with 21 characters exceeds 'int' size of 4 bytes
    1 | '''print safe and unsafe'''
      |   ^~~~~~~~~~~~~~~~~~~~~~~
main.c:1:26: error: empty character constant
    1 | '''print safe and unsafe'''
      |                          ^~
main.c:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('safe')
      |           ^~~~~~
main.c:6:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    6 |     print('unsafe')
      |           ^~~~~~~~
Language: C++

using namespace std;
 
 
 
 
 
int main()
{
int N;
 
 
 
cin >> N;
 
vector<string> S(1);
 
 
cin >>S[0];
 
 
 
 
for(int i = 1;i<N;i++){
 
    string k;
 
    cin >>k;
 
 
    int count =0;
 
 
 
 
 
    for(int j =0;j<S.size();j++){
 
 
        if (S[j] == k){
 
            count =1;
          break;
        }
 
        
    }
 
    if(count ==0){
 
        S.push_back(k);
    }
    
 
}
 
 
cout << S.size() << endl;
 
 
 
 
 
 
 
 
 
return 0;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:1: error: 'cin' was not declared in this scope
   13 | cin >> N;
      | ^~~
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:15:1: error: 'vector' was not declared in this scope
   15 | vector<string> S(1);
      | ^~~~~~
a.cc:1:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
  +++ |+#include <vector>
    1 | using namespace std;
a.cc:15:8: error: 'string' was not declared in this scope
   15 | vector<string> S(1);
      |        ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | using namespace std;
a.cc:15:16: error: 'S' was not declared in this scope
   15 | vector<string> S(1);
      |                ^
a.cc:25:11: error: expected ';' before 'k'
   25 |     string k;
      |           ^~
      |           ;
a.cc:27:11: error: 'k' was not declared in this scope
   27 |     cin >>k;
      |           ^
a.cc:57:1: error: 'cout' was not declared in this scope
   57 | cout << S.size() << endl;
      | ^~~~
a.cc:57:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:57:21: error: 'endl' was not declared in this scope
   57 | cout << S.size() << endl;
      |                     ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C++

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

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

Compiler output:
a.cc:7:35: warning: missing terminating ' character
    7 |         if(a>b) cout<<"safe"<<endl';
      |                                   ^
a.cc:7:35: error: missing terminating ' character
    7 |         if(a>b) cout<<"safe"<<endl';
      |                                   ^~
a.cc: In function 'int main()':
a.cc:7:35: error: expected ';' before 'else'
    7 |         if(a>b) cout<<"safe"<<endl';
      |                                   ^
      |                                   ;
    8 |       else cout<<"unsafe"<<endl;
      |       ~~~~
Language: C

#include<stdio.h>
#include<conio.h>

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

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public  static void main(String[] args) {

        long a;
        FastScanner sc = new FastScanner();
         String text = sc.next();
         int count = 0;
         if(4 <= text.length()) {
             for (int i = 0; i < text.length() - 3; i++) {
                 for (int j = i + 3; j <= text.length(); j++) {
                     a = Long.parseLong(text.substring(i, j));
                     if (a % 2019 == 0) {
                         count++;
                     }
                 }
             }
         }
         System.out.print(count);
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
        FastScanner sc = new FastScanner();
        ^
  symbol:   class FastScanner
  location: class Main
Main.java:9: error: cannot find symbol
        FastScanner sc = new FastScanner();
                             ^
  symbol:   class FastScanner
  location: class Main
2 errors
Language: C

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s, w = list(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 = list(map(int,input().split()))
      |    ^
main.c:1:8: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | s, w = list(map(int,input().split()))
      |        ^~~~
main.c:1:13: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s, w = list(map(int,input().split()))
      |             ^~~
main.c:1:17: error: expected expression before 'int'
    1 | s, w = list(map(int,input().split()))
      |                 ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if s > w:
      | ^~
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

ああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁ

Compiler output:
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
    1 | ああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁああああああああぁぁぁ
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C

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


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s,w = list(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 = list(map(int,input().split()))
      |   ^
main.c:1:7: error: implicit declaration of function 'list' [-Wimplicit-function-declaration]
    1 | s,w = list(map(int,input().split()))
      |       ^~~~
main.c:1:12: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s,w = list(map(int,input().split()))
      |            ^~~
main.c:1:16: error: expected expression before 'int'
    1 | s,w = list(map(int,input().split()))
      |                ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if s > w:
      | ^~
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>
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

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

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

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

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

}

Compiler output:
a.cc:9:13: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    9 |     cout << 'unsafe' << endl;
      |             ^~~~~~~~
a.cc:12:13: warning: multi-character character constant [-Wmultichar]
   12 |     cout << 'safe' << endl;
      |             ^~~~~~
a.cc:2:20: error: expected ';' before ':' token
    2 | using namespace std:
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before ':' token
Language: C

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

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().strip())
      | ^
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().strip())
      |   ^
main.c:1:7: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | s,w = map(int, input().strip())
      |       ^~~
main.c:1:11: error: expected expression before 'int'
    1 | s,w = map(int, input().strip())
      |           ^~~
main.c:3:1: error: expected ',' or ';' before 'if'
    3 | if w >=s:
      | ^~
Language: C++

using namespace std;
int main() {
  string s;
  cin >> s;
  int cnt=0;
  string t;
  int u;
  for (int i=0;i<s.length()-3;i++){
    for (int j=4;j<=s.length()-i;j++){
      t=s.substr(i,j);
      u=(int)t
      if (u%2019==0){
        cnt++;
      }
    }
  }
  cout << cnt << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'string' was not declared in this scope
    3 |   string s;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | using namespace std;
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> s;
      |   ^~~
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:4:10: error: 's' was not declared in this scope
    4 |   cin >> s;
      |          ^
a.cc:6:9: error: expected ';' before 't'
    6 |   string t;
      |         ^~
      |         ;
a.cc:10:7: error: 't' was not declared in this scope
   10 |       t=s.substr(i,j);
      |       ^
a.cc:17:3: error: 'cout' was not declared in this scope
   17 |   cout << cnt << endl;
      |   ^~~~
a.cc:17:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:18: error: 'endl' was not declared in this scope
   17 |   cout << cnt << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C

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


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

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

using namespace std;

int main()
{
		char str[200000][11];
		char cmps[200000][11];
		int N;
		int i,j,find=0,cnt=0;

		cin >> N;
		for (i = 0; i < N; i++) {
			cin >> str[i];
			cmps[i][0] = 0;
			for (j = i; j >= 0; j--) {
				if ((strcmp(str[i], cmps[j])) == 0) {
					find = 1;
					break;
				}
			}
			if (find != 1) {
				strcpy(cmps[cnt], str[i]);
				cnt++;
			}
			find = 0;
		}
		cout << cnt;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:38: error: 'strcmp' was not declared in this scope
   18 |                                 if ((strcmp(str[i], cmps[j])) == 0) {
      |                                      ^~~~~~
a.cc:2:1: note: 'strcmp' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | #include <stdio.h>
a.cc:24:33: error: 'strcpy' was not declared in this scope
   24 |                                 strcpy(cmps[cnt], str[i]);
      |                                 ^~~~~~
a.cc:24:33: note: 'strcpy' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
Language: C

#include <stdio.h>

using namespace std;

int main()
{
		char str[200000][11];
		char cmps[200000][11];
		int N;
		int i,j,find=0,cnt=0;

		cin >> N;
		for (i = 0; i < N; i++) {
			cin >> str[i];
			cmps[i][0] = 0;
			for (j = i; j >= 0; j--) {
				if ((strcmp(str[i], cmps[j])) == 0) {
					find = 1;
					break;
				}
			}
			if (find != 1) {
				strcpy(cmps[cnt], str[i]);
				cnt++;
			}
			find = 0;
		}
		cout << cnt;
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:12:17: error: 'cin' undeclared (first use in this function)
   12 |                 cin >> N;
      |                 ^~~
main.c:12:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:38: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   17 |                                 if ((strcmp(str[i], cmps[j])) == 0) {
      |                                      ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strcmp'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:23:33: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
   23 |                                 strcpy(cmps[cnt], str[i]);
      |                                 ^~~~~~
main.c:23:33: note: include '<string.h>' or provide a declaration of 'strcpy'
main.c:23:33: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
main.c:23:33: note: include '<string.h>' or provide a declaration of 'strcpy'
main.c:28:17: error: 'cout' undeclared (first use in this function)
   28 |                 cout << cnt;
      |                 ^~~~
Language: C

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

typedef long long ll;
typedef long double ld;

int main(){
    ios_base::sync_with_stdio(false), cin.tie(0);
    cout.precision(10);
    cout << fixed;

    int a, b;
    cin >> a >> b;
    if(a > b) cout << "safe";
    else cout << "unsafe";
    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 <stdio.h>

using namespace std;

int main()
{
		char str[200000][11];
		char cmps[200000][11];
		int N;
		int i,j,find=0,cnt=0;

		cin >> N;
		for (i = 0; i < N; i++) {
			cin >> str[i];
			cmps[i][0] = 0;
			for (j = i; j >= 0; j--) {
				if ((strcmp(str[i], cmps[j])) == 0) {
					find = 1;
					break;
				}
			}
			if (find != 1) {
				strcpy(cmps[cnt], str[i]);
				cnt++;
			}
			find = 0;
		}
		cout << cnt;
}

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

#include "pch.h"
#include <iostream>
#include <stdio.h>

using namespace std;

int main()
{
		char str[200000][11];
		char cmps[200000][11];
		int N;
		int i,j,find=0,cnt=0;

		cin >> N;
		for (i = 0; i < N; i++) {
			cin >> str[i];
			cmps[i][0] = 0;
			for (j = i; j >= 0; j--) {
				if ((strcmp(str[i], cmps[j])) == 0) {
					find = 1;
					break;
				}
			}
			if (find != 1) {
				strcpy(cmps[cnt], str[i]);
				cnt++;
			}
			find = 0;
		}
		cout << cnt;
}

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

#include <stdio.h>
int main(void){
  int N, K;
  scanf("%d", &S);
  scanf("%d", &W);
  if(W < S) printf("safe\n");
  else printf("unsafe\n");
  return 0; 
} 

Compiler output:
main.c: In function 'main':
main.c:4:16: error: 'S' undeclared (first use in this function)
    4 |   scanf("%d", &S);
      |                ^
main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: 'W' undeclared (first use in this function)
    5 |   scanf("%d", &W);
      |                ^
Language: Java

java.util.Scanner;

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

    int a = stdIn.nextInt();
    int b = stdIn.nextInt();

    if (a > b ) {
      System.out.println("safe");
    }else {
      System.out.println("unsafe");
    }
  }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
java.util.Scanner;
^
1 error
Language: Java

class Sample {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str1 = br.readLine();
		String str2 = br.readLine();

		int S = Integer.parseInt(str1);
		int W = Integer.parseInt(str2);

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

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String args[]) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Sample
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Sample
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Sample
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Sample
4 errors
Language: Java

t java.util.Scanner;

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

    int a = stdIn.nextInt();
    int b = stdIn.nextInt();

    if (a > b ) {
      System.out.println("safe");
    }else {
      System.out.println("unsafe");
    }
  }
}

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

#define _GLIBCXX_DEBUG
#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <deque>
#include <queue>
#include <array>
#include <set>
#include <map>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <utility>
#include <tuple>
#include <functional>
#include <bitset>
#include <cstdint>
#include <cassert>
#include <random>
using namespace std;
int		cnt;

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


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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 'S' was not declared in this scope
    6 |   cin >> S,W;
      |          ^
a.cc:6:12: error: 'W' was not declared in this scope
    6 |   cin >> S,W;
      |            ^
Language: C

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


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

//Compiler version g++ 6.3.0

int main()

{

    int S, W;

    

    cin>>S>>W;

    

    cout<<((W<S)? "safe":"unsafe");

}

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

a,b = [int(x) for x in input().split()]

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

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

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

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

#include<stdio.h>
 
int main(void){
  
  int A,B,C,D;
  int x,y;
  
  (void)scanf_s("%d%d%d%d",&A,&B,&C,&D);
  
  x=A/D;
  y=C/B;
  
  puts(x>=y ? "No":"Yes");
  
  return 0;
  
}


Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    8 |   (void)scanf_s("%d%d%d%d",&A,&B,&C,&D);
      |         ^~~~~~~
      |         scanf
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:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

/*dismint|jjc*/
#include <bits/stdc++.h>
using namespace std;
#define forl(V, S, E) for(int V = S; V < E; V++)
#define ford(V, S, E) for(int V = S; V >= E; V--)
#define fore(E, X) for(auto &E:X)
#define println(X) cout << X << endl
#define printe(X) for(auto &E:X) cout << E << " "; cout << endl
typedef unordered_map<int, unordered_set<int>> graph;
typedef long long ll;

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


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

import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

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

	    int N = sc.nextInt();
        List<String> list = new ArrayList<String>();
      
      for(int i=0 ;i <= N; i++){
        String prize = sc.next();
        if(list.indexOf(prize) == -1){
          this.list.add(prize);
        }
      }
      
      System.out.println(list.size());
      
    }
}


Compiler output:
Main.java:16: error: non-static variable this cannot be referenced from a static context
          this.list.add(prize);
          ^
Main.java:16: error: cannot find symbol
          this.list.add(prize);
              ^
  symbol: variable list
2 errors
Language: C

#define_CRT_SECURE_NO_WARNINGS

#include<stdio.h>
 
int main(void){
  
  int A,B,C,D;
  int x,y;
  
  scanf("%d%d%d%d",&A,&B,&C,&D);
  
  x=A/D;
  y=C/B;
  
  puts(x>=y ? "No":"Yes");
  
  return 0;
  
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #define_CRT_SECURE_NO_WARNINGS
    1 | #define_CRT_SECURE_NO_WARNINGS
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")#include <stdio.h>
#include <vector> 
#include <algorithm>
#include <functional>
#include <iostream>
#include <iomanip>
#include <limits>
#include <map>

using namespace std;
#define DIV 2019
int main(){
    int result=0;
    string S;
    cin>>S;
    int l=S.length();
    for(int i=0;i<l;i++){
        int tmp=stoi(S.substr(i,4));
        for(int j=i+4;j<l;j++){

            tmp=(tmp*10+(S[j]-'0'))%DIV;
            if(tmp==0){
                result++;
            }


        }
    }

    cout<<result;

}





Compiler output:
a.cc:3:37: error: stray '#' in program
    3 | #pragma GCC optimize("unroll-loops")#include <stdio.h>
      |                                     ^
a.cc:3:38: error: '#pragma GCC optimize' string is badly formed
    3 | #pragma GCC optimize("unroll-loops")#include <stdio.h>
      |                                      ^~~~~~~
Language: C

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s,w = map(int,input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1: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 <bits/stdc++.h>
using namespace std;

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:23: error: 'emdl' was not declared in this scope
   13 |     cout << "safe" << emdl;
      |                       ^~~~
Language: Java

import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

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

	    int N = sc.nextInt();
        List<String> list = new ArrayList<String>();
      
      for(int i ;i < N; i++){
        String prize = sc.next();
        if(list.indexOf(prize) == -1){
          list.add(prize);
        }
      }
      
      System.out.println(list.size());
      
    }
}


Compiler output:
Main.java:13: error: variable i might not have been initialized
      for(int i ;i < N; i++){
                 ^
1 error
Language: C++

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

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 's' was not declared in this scope
    9 |   if (s =< W)
      |       ^
a.cc:9:10: error: expected primary-expression before '<' token
    9 |   if (s =< W)
      |          ^
a.cc:13:23: error: 'emdl' was not declared in this scope
   13 |     cout << "safe" << emdl;
      |                       ^~~~
Language: C

#include<stdio.h>
int main(void){
    int S,W;
    scahf("%d %d",&S,&W);
    if(S>W){
        printf("safe\n");
    }else{
        printf("unsafe\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scahf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scahf("%d %d",&S,&W);
      |     ^~~~~
      |     scanf
Language: Java

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
def judge():
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: ';' expected
def judge():
           ^
Main.java:2: error: class, interface, enum, or record expected
  s, w = map(int,input().split())
             ^
3 errors
Language: C

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

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

}


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

import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

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

	    int N = sc.nextInt();
        List<String> list = new ArrayList<String>();
      
      for(int i ;i < N; i++){
        String prize = sc.next();
        if(list.indexOf(prize) == -1){
          list.add(prize);
        }
      }
      
      System.out.println(list.size);
      
    }
}


Compiler output:
Main.java:20: error: cannot find symbol
      System.out.println(list.size);
                             ^
  symbol:   variable size
  location: variable list of type List<String>
1 error
Language: Java

import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

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

	    int N = sc.nextInt();
        List<String> list = new ArrayList<String>();
      
      for(int i ;i < N; i++){
        String prize = sc.next();
        if(list.indexOf(prize) == -1){
          list.add(prize);
        }
      }
      
      System.out.println(list.length);
      
    }
}


Compiler output:
Main.java:20: error: cannot find symbol
      System.out.println(list.length);
                             ^
  symbol:   variable length
  location: variable list of type List<String>
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          String str = sc.next();
          String[] str2 = str.split("");
          int number = Integer.parseInt(str);
          int count = 0;
          int num2 = 0;
          for(int i = 0; i < str.length(); i++){
            for(int j = 1; i < str.length(); i++) {
              num2 = Integer.parseInt(str2.substring(i, j));
          if( num2 % 2019 == 0){
            count++;
          }
        }
      }
      System.out.println(count);
          }
        }

Compiler output:
Main.java:13: error: cannot find symbol
              num2 = Integer.parseInt(str2.substring(i, j));
                                          ^
  symbol:   method substring(int,int)
  location: variable str2 of type String[]
1 error
Language: C

#include<stdio.h>
int main(void){
    int S,W;
    scahf("%d %d",&S,&W);
    if(S>W){
        printf("safe\n");
    }else{
        printf("unsafe\n");
    }
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scahf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scahf("%d %d",&S,&W);
      |     ^~~~~
      |     scanf
Language: C++

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

Compiler output:
a.cc:1:9: fatal error: iostream.h: No such file or directory
    1 | #include<iostream.h>
      |         ^~~~~~~~~~~~
compilation terminated.
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;
    cin>>s>>w;
    if(w>=s){
        cout<<"unsafe";
    }
    else{
        cout<<"safe";
    }

}

















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

#include<bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp> 
#include <ext/pb_ds/tree_policy.hpp> 
using namespace __gnu_pbds; 
#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update> 
#define ll long long
#define ld long double
#define MAX 1000000000
#define MOD 1000000007
#define MOD2 998244353
long long binpow(long long a, long long b, long long m) {
    a %= m;
    long long res = 1;
    while (b > 0) {
        if (b & 1)
            res = res * a % m;
        a = a * a % m;
        b >>= 1;
    }
    return res;
}
int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    //int t=1;
    //cin>>t;
    //for(int cc=1;cc<=t;cc++){
        //cout<<"Case #"<<cc<<": ";
        string s;
        cin>>s;
        int n = s.size(),k=673,sr[n],sum,rem,prefix;
        ll nm = 0
        memset(sr,-1,sizeof(sr));
        for(int i=0;i<n;i++){
            rem = 0;
            prefix = 0;
            sum = 0;
            for(int j=i;j<n;j++){
                sum+=(s[j]-'0');
                rem = (10*rem+(s[j]-'0'))%k;
                if(sr[j]==rem)
                    break;
                sr[j]+=rem;
                if(rem==0&&sum%3==0)
                    prefix++;
            }
            nm+= ((ll)prefix*(prefix+1))/2;
        }
        cout<<nm<<"\n";       
    //}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:9: error: expected ',' or ';' before 'memset'
   34 |         memset(sr,-1,sizeof(sr));
      |         ^~~~~~
Language: C

#include <iostream>
#include <string>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;

int main()
{
	int s,w;
	cin >> s;
	cin >> 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 <bits/stdc++.h>

using namespace std;

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

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

// clang-format off
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
#define rep(i,n) for(ll i=0, i##_len=(n); i<i##_len; ++i)
#define rep1(i,n) for(ll i=1, i##_len=(n); i<=i##_len; ++i)
#define rrep(i,n) for(ll i=n-1; i>=0; --i)
#define rrep1(i,n) for(ll i=n; i>0; --i)
#define all(x) (x).begin(),(x).end()
#define SORT(x) sort(all(x))
#define SORT_DESC(x) sort((x).rbegin(),(x).rend())
#define pb push_back
#define mp make_pair
#define coutl cout<<fixed<<setprecision(10)
#define ANS(ans) cout<<ans<<endl;
const ll LINF = (1LL << 62) - 1;
const int INF = (1 << 30) - 1;
template<class T>bool chmax(T &a, const T &b){if (a<b){a=b;return 1;}return 0;}
template<class T>bool chmin(T &a, const T &b){if (b<a){a=b;return 1;}return 0;}
// clang-format on

void solve(long long S, long long W) {
  ANS((S <= W ? "unsafe" : "safe"));
}

// clang-format off
int main() {
  long long S;
  scanf("%lld",&S);
  long long W;
  scanf("%lld",&W);
  solve(S, W);
  return 0;
}


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

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

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


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

#include <bits/stdc++.h>

using namespace std;

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

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

// https://atcoder.jp/contests/abc164/tasks/abc164_a
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, s, n) for (int i = (s), i##_len = (n); i < i##_len; ++i)
#define ALL(obj) (obj).begin(), (obj).end()
#define ALLR(obj) (obj).rbegin(), (obj).rend()
#define DIV(a, b) ((a - 1) / b + 1)

signed main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    int S, W;
    cin >> S >> W;
    if (W >= S) {
        cout << "unsafe\n";
    } else {
        cout << "safe\n";
    }

    return 0;
}


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

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

int main() {
  int s,w;cin>>s>>w;
  printf("%s",if(s>=w)?"unsafe\n":"safe\n");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before 'if'
    6 |   printf("%s",if(s>=w)?"unsafe\n":"safe\n");
      |               ^~
Language: C

/*
                   _ooOoo_
                  o8888888o
                  88" . "88
                  (| -_- |)
                  O\  =  /O
               ____/`---'\____
             .'  \\|     |//  `.
            /  \\|||  :  |||//  \
           /  _||||| -:- |||||-  \
           |   | \\\  -  /// |   |
           | \_|  ''\---/''  |   |
           \  .-\__  `-`  ___/-. /
         ___`. .'  /--.--\  `. . __
      ."" '<  `.___\_<|>_/___.'  >'"".
     | | :  `- \`.;`\ _ /`;.`/ - ` : | |
     \  \ `-.   \_ __\ /__ _/   .-` /  /
======`-.____`-.___\_____/___.-`____.-'======
                   `=---='
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         fozubaoyou    pass System Test!
*/


//include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#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 <cctype>
#include <string>
#include <cstring>
#include <ctime>

using namespace std;

//conversion
//------------------------------------------
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();}

//math
//-------------------------------------------
template<class T> inline T sqr(T x) {return x*x;}

//typedef
//------------------------------------------
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;

//container util
//------------------------------------------
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())

//repetition
//------------------------------------------
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)

//constant
//--------------------------------------------
const double EPS = 1e-10;
const double PI  = acos(-1.0);

//clear memory
#define CLR(a) memset((a), 0 ,sizeof(a))

//debug
#define dump(x)  cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;

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


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

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

int main() {
  int s,w;cin>>s>>w;
  printf(%s,if(s>=w)?"unsafe\n":"safe\n");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected primary-expression before '%' token
    6 |   printf(%s,if(s>=w)?"unsafe\n":"safe\n");
      |          ^
a.cc:6:13: error: expected primary-expression before 'if'
    6 |   printf(%s,if(s>=w)?"unsafe\n":"safe\n");
      |             ^~
Language: C

#include <iostream>
#include <string>
#define _USE_MATH_DEFINES
#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 <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define PI 3.14159265359

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before 'if'
    6 |   cout << if(s>=w)?"unsafe":"safe" << endl;
      |           ^~
Language: C

#include <bits/stdc++.h>

using namespace std;

int main()
{

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


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

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

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


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

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define debug(a) cout << #a << ": " << a << endl
#define sz(a) int(a.size())
#define rep(i,n) for(int i=0;i<n;i++)
#define forr(i, st, en) for(int i = st; i <= en; i++)
#define all(v) (v).begin(),(v).end()

#define fast cin.tie(0); ios::sync_with_stdio(false)

int32_t 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.h>
int main()
{
  int w,s;
  cin>>s>>w;
  if(w>=s)
    cout<<"unsafe";
  else 
    cout<<"safe";
  return 0;
}

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