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

#include<iostream>
using namespace std;
int main()
{
    int a,b,s=1;
    cin>>a>>b;
    for(;a<=b;b++)s*=b;
    if(s>0)cout<<"Positive"；
    if(s==0)cout<<"Zero";
    if(s<0)cout<<"Negative";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: unable to find string literal operator 'operator""\U0000ff1b' with 'const char [9]', 'long unsigned int' arguments
    8 |     if(s>0)cout<<"Positive"；
      |                  ^~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
  cin>>a>>b;
  if (a+b>0) {
  cout << "Positive";
  }
  else if (a+b==0) {
    cout << "Zero";
  }
  else {
  	cout << "Negative";
  }
}

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

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

int a,b;
int main(){
cin >> a >> b;
if (a<0){
  if (b>=0){
    cout << "Zero";
  }
  else{
    if((b-a)%2 == 1){
       cout << "Negative";
    }
    else{
       cout << "Positive";
    }
  }
}
else{
  cout << "Positive";
}


return 0:
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:9: error: expected ';' before ':' token
   25 | return 0:
      |         ^
      |         ;
a.cc:25:9: error: expected primary-expression before ':' token
Language: C++

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

//create arrays outside of main()
int a[50] = {};

int main()
{

    int a, b;

    cin >> a >> b;

    int answer = a;

    for (int i = a + 1; i < b + 1; i++)
    {
        answer = answer * i;
    }

    if (answer > 0)
    {
        cout << "Positive";
    }
    else if (answer < 0)
    {
        cout << "Negative";
    }
    else
    {
        cout << "Zero";
    }

    return 0;
}}

Compiler output:
a.cc:35:2: error: expected declaration before '}' token
   35 | }}
      |  ^
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 == 0 || B == 0 || (A < 0 && B > 0)) {
      System.out.println("Zero");
    } else if ((A > 0 && B > 0) || ((B-A+1)%2 == 0) {
      System.out.println("Positive");              
    } else {
      System.out.println("Negative");
    }
  }
}

Compiler output:
Main.java:10: error: ')' expected
    } else if ((A > 0 && B > 0) || ((B-A+1)%2 == 0) {
                                                   ^
1 error
Language: C++

#include<iostream>
#include<fstream>
#include<algorithm>
using namespace std;
int a,b;
int main(){
    cin>>a>>b;
    if(a>0)cout<<"Positive";
    else 
	{
		if(a==0||(a<0&&b>0))cout<<"Zero";
	}
    else 
	{
		if((abs(b)-abs(a))%2!=0)cout<<"Positive";
	}
    else 
	{
		cout<<"Negative";
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else
      |     ^~~~
a.cc:17:5: error: 'else' without a previous 'if'
   17 |     else
      |     ^~~~
Language: C++

#include<iostream>
#include<fstream>
#include<algorithm>
using namespace std;
long long a,b;
int main(){
    cin>>a>>b;
    if(a>0)cout<<"Positive";
    else 
	{
		if(a==0||(a<0&&b>0))cout<<"Zero";
	}
    else 
	{
		if((abs(b)-abs(a))%2!=0)cout<<"Positive";
	}
    else 
	{
		cout<<"Negative";
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else
      |     ^~~~
a.cc:17:5: error: 'else' without a previous 'if'
   17 |     else
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m;
    unsigned long long s=1;
    cin>>n>>m;
    for(register int i=n;i<=m;i++)
        s*=i;
    if(s<0) cout<<"Negative\n";
    if(s>0) cout<<"Positive\n";
    else cout<<"Zero\n"
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    8 |     for(register int i=n;i<=m;i++)
      |                      ^
a.cc:12:24: error: expected ';' before 'return'
   12 |     else cout<<"Zero\n"
      |                        ^
      |                        ;
   13 |     return 0;
      |     ~~~~~~
Language: C++

//优先队列priority_queue<int>j
#include<iostream>
#include<cctype>
#include<algorithm>
#include<cmath>
#include<cstdio>
#include<map>
#include<string>
#include<cstring>
#include<stack>
#include<deque>
#include<queue>
#include<vector>
using namespace std;
#define O2 ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int pows(int base,int n){
	int res=1;
	while(n){
	if(n&1) res*=base;
	base*=base;
	n>>=1;
	}
	return res;
}
inline int read() {
    int s = 0, w = 1;
    char b = getchar();
    while (b < '0' || b > '9') {
        if (b == '-')
            w = -1;
        b = getchar();
    }
    while (b <= '9' && b >= '0') {
        s = 10 * s + b - '0';
        b = getchar();
    }
    return w * s;
}
void write(int x)
{
    if (x==0){
        putchar('0');
        return;
    }
    int num = 0; char c[15];
    while(x) c[++num] = (x%10)+48, x /= 10;
    while(num) putchar(c[num--]);
    putchar(' ');
}
int txy(int x){
	if(x==0||x==1) return false;
	for(int i=2;i<=sqrt(x);i++){
		if(x%i==0) return false;
	}
	return true;
 }
int main()
{
   O2;
   int a,b;
   cin>>a>>b;
   if(a*b>0) cout<<"Negative";
   else if(a*b<0) cout<<"Positive";
   else if(a*b=0) cout<<"Zero";
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:64:13: error: lvalue required as left operand of assignment
   64 |    else if(a*b=0) cout<<"Zero";
      |            ~^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main (){
  int a,b,i;
  i=b-a+1;
  cin>>a>>b;
  if(a>0){
    cout<<"Positive"<<endl;
  }else if(b>=0){
    cout<<"Zero"<<endl;
  }else if(a==0){
    cout<<"Zero"<<endl;
  }else if(a==b)(
    cout<<"Positive"<<endl;
  }else if(i%2==0){
    cout<<"Positive"<<endl;
  }else{
    cout<<"Negative"<<endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ')' before ';' token
   15 |     cout<<"Positive"<<endl;
      |                           ^
      |                           )
a.cc:14:17: note: to match this '('
   14 |   }else if(a==b)(
      |                 ^
a.cc: At global scope:
a.cc:16:4: error: expected unqualified-id before 'else'
   16 |   }else if(i%2==0){
      |    ^~~~
a.cc:18:4: error: expected unqualified-id before 'else'
   18 |   }else{
      |    ^~~~
a.cc:21:3: error: expected unqualified-id before 'return'
   21 |   return 0;
      |   ^~~~~~
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main (){
  int a,b,i;
  i=b-a;
  cin>>a>>b;
  if(a>0){
    cout<<"Positive"<<endl;
  }else if(b>=0){
    cout<<"0"<<endl;
  }else if(a==0){
    cout<<"0"<<endl;
  }else if(i%2=1){
    cout<<"Negative"<<endl;
  }else{
    cout<<"Positive"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:13: error: lvalue required as left operand of assignment
   14 |   }else if(i%2=1){
      |            ~^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main (){
  int a,b,i;
  i=1;
  cin>>a>>b;
  if(a>0){
    cout<<"Positive"<<endl;
  }else if(b>=0){
    cout<<"0"<<endl;
  }else if(a==0){
    cout<<"0"<<endl;
  }else{
    while(1){
      break(a==b);
      i++;
      a++;
    }
    if(i%2==1){
      cout<<"Negative"<<endl;
    }else{
      cout<<"Positive"<<endl;
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: expected ';' before '(' token
   16 |       break(a==b);
      |            ^
      |            ;
Language: C++

#include<bits/stdc++.h>

using namespace std;

long long int sum, k, n, j, a, b, c, h;
const int maxn = 100 + 1;
int e[maxn][maxn];
int q[maxn];
int w[maxn];

int main()
{
	cin >> a >> b;
	sum = 1;
	if (a <= 0 and 0 <= b) {
		cout << "Zero";
		return 0;
	}
	if (a > 0) {
		cout <<"Positive";
		return 0;
	}
	else{
		for(int i = a; i < b + 1; i++) {
			sum = sum * i;
		}
		if(sum > 0) {
			cout << "Positive";
			retunr 0;
		}
		else if (sum == 0) {
			cout << "Zero";
			return 0;
		}
		else{
			cout <<"Negetive";
			return 0;
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:25: error: 'retunr' was not declared in this scope
   29 |                         retunr 0;
      |                         ^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main(){
	cin>>a>>b;
	if(a*b<=0) cout<<"Zero";
	else if(a>0) cout<<"#include<bits/stdc++.h>
using namespace std;
int a,b;
int main(){
	cin>>a>>b;
	if((a>=0&&b<=0)||(a<=0&&b>=0)) cout<<"Zero";
	else if(a>0&&b>0) cout<<"Positive";
	else{
		if(abs(a-b)%2==0) cout<<"Negative";
		else cout<<"Positive";
	}
	return 0;
} Positive";
	else{
		if(abs(a-b)%2==0) cout<<"Negative";
		else cout<<"Positive";
	}
	return 0;
} 

Compiler output:
a.cc:7:28: warning: missing terminating " character
    7 |         else if(a>0) cout<<"#include<bits/stdc++.h>
      |                            ^
a.cc:7:28: error: missing terminating " character
    7 |         else if(a>0) cout<<"#include<bits/stdc++.h>
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~
a.cc:19:11: warning: missing terminating " character
   19 | } Positive";
      |           ^
a.cc:19:11: error: missing terminating " character
   19 | } Positive";
      |           ^~
a.cc: In function 'int main()':
a.cc:8:1: error: expected primary-expression before 'using'
    8 | using namespace std;
      | ^~~~~
a.cc:10:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   10 | int main(){
      |         ^~
a.cc:10:9: note: remove parentheses to default-initialize a variable
   10 | int main(){
      |         ^~
      |         --
a.cc:10:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:10:11: error: a function-definition is not allowed here before '{' token
   10 | int main(){
      |           ^
a.cc:19:3: error: 'Positive' was not declared in this scope
   19 | } Positive";
      |   ^~~~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int a , b , ans = 1;

int main()
{
	cin >> a >> b;
	
	for(a ; a <= b ; a++){
			ans *= a;
		}
	}
	if (ans > 0){
		cout << "Positive";
	}
	else if(ans < 0){
		cout << "Negative";
	}
	else if (ans = 0){
		cout << "Zero";
	}
}


Compiler output:
a.cc:15:9: error: expected unqualified-id before 'if'
   15 |         if (ans > 0){
      |         ^~
a.cc:18:9: error: expected unqualified-id before 'else'
   18 |         else if(ans < 0){
      |         ^~~~
a.cc:21:9: error: expected unqualified-id before 'else'
   21 |         else if (ans = 0){
      |         ^~~~
a.cc:24:1: error: expected declaration before '}' token
   24 | }
      | ^
Language: C++

#include"bits/stdc++.h"
using namespace std;
int a,b;
int main()
{
    cin>>a>>b;
    if(a>0)
    {
    	cout<<"Positive";
	}
    else 
    {
		if(a==0 || (a<0&&b>0))
		{
			cout<<"Zero";
		}
		else 
		{
			if( (abs(b)-abs(a))%2! = 0)
	    	{
	    		cout<<"Positive";
			} 
			else 
			cout<<"Negative";
		} 
    	
	}
	 
		
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:46: error: expected ')' before '!' token
   19 |                         if( (abs(b)-abs(a))%2! = 0)
      |                           ~                  ^
      |                                              )
Language: C++

#include<bits/stdc++.h>

using namespace std;
long long a,b;
int mian()
{
	cin>>a>>b;
	if(a*b>0) cout<<"Positive"<<endl;
	if(a*b<0) cout<<"Negative"<<endl;
	if(a*b==0) cout<<"Zero"<<endl;
	return 0;
}

Compiler output:
/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 <bits/stdc++.h>
#define pb push_back
#define F first
#define S second
#define all(x) x.begin(), x.end()
using namespace std;
typedef long long ll ; 
typedef long double ld ;
typedef pair<ll , ll> pll ;

const ll N = 2e5 + 30 , Mod = 1e9 + 7 ;
const ll SQ = 330 ;

int main () {
    ios::sync_with_stdio(0), cin.tie(0) ;
    ll a , b ; 
    cin >> a >> b ;
    if (0 >= a && 0 <= b) return cout << "Zero" , 0 ;
    if (a > 0) return cout << "Positive" , 0 ;
    ll cnt = b - a +1 ;
    if (cnt & 1) cout << "Negative" ;
    else cout << return cout << "Positive" , 0 ;
    
    return (0) ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:18: error: expected primary-expression before 'return'
   22 |     else cout << return cout << "Positive" , 0 ;
      |                  ^~~~~~
Language: C

#include<stdio.h>
int main(void)
{
  int a,b;
  scanf("%d%d",&a,&b);
  int ans=1;
  for(int i=a,i<b+1;i++){
    ans*=i;
  }
  if(ans>0){
    puts("Positive");
  } else if(ans==0){
    puts("Zero");
  } else{
    puts("Negative");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    7 |   for(int i=a,i<b+1;i++){
      |                ^
main.c:7:24: error: expected ';' before ')' token
    7 |   for(int i=a,i<b+1;i++){
      |                        ^
      |                        ;
Language: C++

#include"bits/stdc++.h"
using namespace std;
int a,b;
int main()
{
    cin>>a>>b;
    }
    {
    if(a>0)cout<<"Positive"<<endl;
    
    else if(a==0||(a<0&&b>0))cout<<"Zero"<<endl;
    
    else if((abs(b)-abs(a))%2!=0)cout<<"Positive"<<endl;
    
    else cout<<"Negative"<<endl;
    return 0;
}

Compiler output:
a.cc:8:5: error: expected unqualified-id before '{' token
    8 |     {
      |     ^
Language: C++

#include<iostream>
using namespace std;
int main() {
    int a,b,h=1;
    cin>>a>>b;
    for(int i=a;i<=b;i++){
        h*=i;
    }
    if(num>0)
    cout<<"Positive";
    else if(num<0)
    cout<<"Negative";
    else
    cout<<"Zero";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'num' was not declared in this scope; did you mean 'enum'?
    9 |     if(num>0)
      |        ^~~
      |        enum
Language: C++

#include<cstdio>
using namespace std;
long long a,b;
int main()
{
    cin>>a>>b;
    
    if(a>0)puts("Positive");  
    
    else if(b>=0)puts("Zero");  
    
    else if((a&1)^(b&1))puts("Positive");  
    
    else puts("Negative");
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>a>>b;
      |     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<cstdio>
  +++ |+#include <iostream>
    2 | using namespace std;
Language: C++

#include <bits/stdc++.h>
using namespace std ;
template < class R > inline void Readin( R &K ) {
	K = 0 ; bool F = false ; char C = getchar() ; while( C < '0' or C > '9' ) { if( C == '-' ) F = true ; C = getchar() ; }
	while( C <= '9' and C >= '0' ) K = ( K << 1 ) + ( K << 3 ) + C - '0' , C = getchar() ; if( F ) K = -K ;
}
template < class R > inline void Checkmax( R &A , R B ) {
	if( A < B ) A = B ;
}
template < class R > inline void Checkmin( R &A , R B ) {
	if( A > B ) A = B ;
}
const int Mod = 1e9 + 7 ;
const int MaxN = 100000 + 10 ;
inline void Moding( int &A ) {
	if( A >= Mod ) A -= Mod ;
	if( A < 0 ) A += Mod ;
}
inline int Pow( int A , int B ) {
	register int Ans = 1 ;
	while( B ) {
		if( B & 1 ) Ans = 1ll * Ans * A % Mod ;
		A = 1ll * A * A % Mod ;
		B >>= 1 ;
	}
	return Ans ;
}
int Fac[MaxN] , Inv[MaxN] ;
inline void C_Init() {
	N = MaxN - 10 ;
	Fac[0] = Inv[0] = 1 ;
	for(register int i = 0 ; ++i <= N ; )
		Fac[i] = 1ll * Fac[i-1] * i % Mod ;
	Inv[N] = Pow( Fac[N] , Mod - 2 ) ;
	for(register int i = N ; --i ; )
		Inv[i] = 1ll * Inv[i+1] * (i+1) % Mod ;
}
inline int C( int N , int M ) {
	return 1ll * Fac[M] * Inv[N] % Mod * Inv[M-N] % Mod ;
}
int A , B ;
int main() {
	Readin( A ) ;
	Readin( B ) ;
	if( A <= 0 and B >= 0 ) return not printf( "Zero\n" ) ;
	if( A > 0 or ( ( B - A ) & 1 ) ) return not printf( "Positive\n" ) ;
	return not printf( "Negative\n" ) ;
}

Compiler output:
a.cc: In function 'int Pow(int, int)':
a.cc:20:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   20 |         register int Ans = 1 ;
      |                      ^~~
a.cc: In function 'void C_Init()':
a.cc:30:9: error: 'N' was not declared in this scope
   30 |         N = MaxN - 10 ;
      |         ^
a.cc:32:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   32 |         for(register int i = 0 ; ++i <= N ; )
      |                          ^
a.cc:35:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   35 |         for(register int i = N ; --i ; )
      |                          ^
Language: Java

import java.util.Scanner;

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

		int a = sc.nextInt();
	
		int b = sc.nextInt();
		if(a<=0&&0<=b) {
			System.out.println("Zero");
			System.exit(0);
		}else if(0<=a) {
			System.out.println("Positive");
			
		}else if((b-a)%2==0) {
			System.out.println("Negative");

		}else {
			System.out.println("Positive");
		}
		
		sc.close();
		
	}
}


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

import java.util.Scanner;

import javax.print.attribute.standard.PrinterIsAcceptingJobs;

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

		int a = sc.nextInt();
	
		int b = sc.nextInt();
		//int[] a = new int[200];
		//int count=0;
		if(a<=0&&0<=b) {
			System.out.println("Zero");
			System.exit(0);
		}else if(0<=a) {
			System.out.println("Positive");
			
		}else if((b-a)%2==0) {
			System.out.println("Negative");

		}else {
			System.out.println("Positive");
		}
	}
}


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

#include "ccc.hpp"

string solve() {
    int a, b;
    cin >> a >> b;
    if (a <= 0 && b >= 0) return "Zero";
    if (a > 0) return "Positive";
    a = -a; b = -b;
    if ((b - a) % 2 == 0) return "Negative";
    else return "Positive";
}
int main() {
    out(solve());
}


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

#include <iostream>
#include <math.h>
#include <fstream>
#include <algorithm>
#include <string>
#include <string.h>
#include <queue>
#include <vector>
#include <set>
#include <map>
using namespace std;

int main() {
	int a, b;
	cin >> a >> b;
	if (b>0&&b - a > b) {
		cout << "Zero";
		return 0;
	}
	if (a > 0) {
		cout << "Positive";
		return 0;
	}
	if ((b - a) % 2 == 0)cout << "Negative";

Compiler output:
a.cc: In function 'int main()':
a.cc:24:49: error: expected '}' at end of input
   24 |         if ((b - a) % 2 == 0)cout << "Negative";
      |                                                 ^
a.cc:13:12: note: to match this '{'
   13 | int main() {
      |            ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int a,b
    if((a>0&&b<0)||(a<0&&b>0))cout<<"Zero";
    else if(a>0&&b>0)cout<<"Nagative";
    else cout<<"Positive";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'if'
    6 |     if((a>0&&b<0)||(a<0&&b>0))cout<<"Zero";
      |     ^~
a.cc:7:5: error: 'else' without a previous 'if'
    7 |     else if(a>0&&b>0)cout<<"Nagative";
      |     ^~~~
a.cc:7:18: error: 'b' was not declared in this scope
    7 |     else if(a>0&&b>0)cout<<"Nagative";
      |                  ^
Language: C++

    using namespace std;
    int main()
    {
    	int a,b,c=1;
    	cin>>a>>b;
    	for(int i=a;i<=b;i++)
    	{
    		if(i<0)
    		c=c*-1;
    		if(i==0)
    		cout<<"Zero"<<endl;
    		
		}
		if(c>0)
		cout<<"Positive"<<endl;
		if(c<0)
		cout<<"Negative"<<endl;
		if(c==0)
		cout<<"Zero"<<endl;
		return 0;
    	
    	
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin>>a>>b;
      |         ^~~
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:11:17: error: 'cout' was not declared in this scope
   11 |                 cout<<"Zero"<<endl;
      |                 ^~~~
a.cc:11:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:31: error: 'endl' was not declared in this scope
   11 |                 cout<<"Zero"<<endl;
      |                               ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 |     using namespace std;
a.cc:15:17: error: 'cout' was not declared in this scope
   15 |                 cout<<"Positive"<<endl;
      |                 ^~~~
a.cc:15:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:35: error: 'endl' was not declared in this scope
   15 |                 cout<<"Positive"<<endl;
      |                                   ^~~~
a.cc:15:35: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:17:17: error: 'cout' was not declared in this scope
   17 |                 cout<<"Negative"<<endl;
      |                 ^~~~
a.cc:17:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:35: error: 'endl' was not declared in this scope
   17 |                 cout<<"Negative"<<endl;
      |                                   ^~~~
a.cc:17:35: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:19:17: error: 'cout' was not declared in this scope
   19 |                 cout<<"Zero"<<endl;
      |                 ^~~~
a.cc:19:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:31: error: 'endl' was not declared in this scope
   19 |                 cout<<"Zero"<<endl;
      |                               ^~~~
a.cc:19:31: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
int main()
{
	int a,b;
	cin>>a>>b;
	if(a>0&&b>0)cout<<"Positive";
	else if(a<0&&b<0)cout<<"Negative";
	else cout<<"Zero";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin>>a>>b;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         if(a>0&&b>0)cout<<"Positive";
      |                     ^~~~
      |                     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:26: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         else if(a<0&&b<0)cout<<"Negative";
      |                          ^~~~
      |                          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         else cout<<"Zero";
      |              ^~~~
      |              std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	long long int a,b;
    cin>>a>>b;
    if(a>0)puts("Positive");
    else if(a==0||a<0&&b>0)puts("Zero");
    else if((abs(b)-abs(a))%2!=0)put("Positive");
    else puts("Negative");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:34: error: 'put' was not declared in this scope; did you mean 'putw'?
    8 |     else if((abs(b)-abs(a))%2!=0)put("Positive");
      |                                  ^~~
      |                                  putw
Language: C++

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


int main()
{
    int a,b;
    cin>>a>>b;
    if(a>0)
        cout<<"Positive";
    else if(a==0||(a<0&&b>0))
        cout<<"Zero";
    else if((abs(b)-abs(a))%2!=0)
        cout<<"Positive";
    else
        cout<<"Negative";
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
	int main() {
		int a,b;
		int c=0;
		cin>>a>>b;
		for(int i=0;i>a;i--)
           c++;
		if(a<=0&&0<=b)
		cout<<"Zero"
	else if(b<0&&c%2==1)
		cout<<"Negative";
	else
		cout<<"Positive";
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: expected ';' before 'else'
   11 |                 cout<<"Zero"
      |                             ^
      |                             ;
   12 |         else if(b<0&&c%2==1)
      |         ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
	int main() {
		int a,b;
		int c=0;
		cin>>a>>b;
		for(int i=0;i>a;i--)
           c++;
		if(a<=0&&0<=b)
		cout<<"zero"
	else if(b<0&&c%2==1)
		cout<<"Negative";
	else
		cout<<"Positive";
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: expected ';' before 'else'
   11 |                 cout<<"zero"
      |                             ^
      |                             ;
   12 |         else if(b<0&&c%2==1)
      |         ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
	int main() {
		int a,b;
		int c=0;
		cin>>a>>b;
		for(int i=0;i>a;i--)
           c++;
		if(a=<0&&0=<b)
		cout<<"zero"
	else if(b<0&&c%2==1)
		cout<<"Negative"
	else
		cout<<"Positive"
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected primary-expression before '<' token
   10 |                 if(a=<0&&0=<b)
      |                      ^
a.cc:10:28: error: expected primary-expression before '<' token
   10 |                 if(a=<0&&0=<b)
      |                            ^
a.cc:11:29: error: expected ';' before 'else'
   11 |                 cout<<"zero"
      |                             ^
      |                             ;
   12 |         else if(b<0&&c%2==1)
      |         ~~~~
Language: C++

#include<iostream>
#include<cmath>
#include<cstdio>
#include<cstring>
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b;
    int mls=abs(b)-abs(a)%2;
    if(a>0) cout<<"Positive";
    else if(a==0||(a<0&&b>0)) cout<<"Zero";
    else if(c!=0) cout<<"Positive";
    else cout<<"Negative";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: 'c' was not declared in this scope
   13 |     else if(c!=0) cout<<"Positive";
      |             ^
Language: C++

#include<iostream>
uisng namespace std;
int main()
{
    long long a,b;
    cin>>a>>b;
    if((a>0&&b>0)||(a<0&&b<0)) cout<<"Positive";
    if((a>0&&b<0)||(a<0&&b>0)) cout<<"Negative";
    if((a==0&&b==0)||a==0||b==0)) cout<<"Zero";
    return 0;
}

Compiler output:
a.cc:2:1: error: 'uisng' does not name a type
    2 | uisng namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin>>a>>b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:32: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     if((a>0&&b>0)||(a<0&&b<0)) cout<<"Positive";
      |                                ^~~~
      |                                std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:32: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     if((a>0&&b<0)||(a<0&&b>0)) cout<<"Negative";
      |                                ^~~~
      |                                std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:33: error: expected primary-expression before ')' token
    9 |     if((a==0&&b==0)||a==0||b==0)) cout<<"Zero";
      |                                 ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include<bits/stdc++.h>
using namespace std;
#ifndef FAST_IO
 #define IOS ios_base::sync_with_stdio(false);cin.tie(nullptr);
#endif

#define FILE_IO freopen("input.txt","r",stdin)
#define int long long
#define f first
#define s second
#define endl '\n'
#define all(c) c.begin(),c.end()
#define bp __builtin_popcount
#define debug(x) cerr << #x << " = " << x << endl;

const int MOD = 1e9 + 7;
const int INF = 1e18;

mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
template <typename T>void print(T t){for(auto &it : t)cout<<it<<" ";}
inline int powerexp(int a, int b, int m){ int res = 1;while(b){if(b&1)res = res * a % m;a = a * a % m,b >>= 1;}return res % m;}
inline int modinv(int a){ return powerexp(a,MOD-2,MOD);}
inline int lcm(int a, int b){ int g = __gcd(a,b);return a/g*b;}
inline int add(int x, int y){ x += y; if (x >= MOD) x -=  MOD; return x;}
inline int mul(int x, int y){ return (x * 1ll * y) % MOD;}
inline int sub(int x, int y){ x -= y; if (x<0) x += MOD; return x ;}

//-------------------< start here >-------------------------// 

void solve(){
     int a, b;
     cin >> a >> b;
     string ret;
     if ( a < 0 && b < 0) ret = "Positive";
     else if ( b > 0 && a > 0) ret = "Positive";
     else if ( a == 0 || b == 0) ret = "Zero";
     else if ( b >= 0 && a =< 0) ret = "Zero";
     else if ( b > 0 && a < 0) ret = "Negative";
     else if ( a == b) ret = "Positive";
     cout << ret << endl;  
}

//-----------------------------
//comment from here for TOPCODER 
int32_t main(){
   IOS;
   solve();
   //find();
   #ifdef LOCAL_DEFINE
   cerr << "time elapsed " << (double)clock()/CLOCKS_PER_SEC << endl;
   #endif
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:38:29: error: expected primary-expression before '<' token
   38 |      else if ( b >= 0 && a =< 0) ret = "Zero";
      |                             ^
Language: C++

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

int main(){
  int A,B,ans,a,b,c;
  cin>>A>>B;
  ans=0;
  if(A<=0&&B>=0){
    cout<<Zero<<endl;
    return 0;
  }
  else{
    if(A>0){
      cout<<"Positive"<<endl;
    return 0;
    }
    else{
      if((B-A)%2==1){
              cout<<"Positive"<<endl;
    return 0;
    }
      else{
              cout<<"Negative"<<endl;
    return 0;
    }
    }
  }
}

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

#include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include <map>
#include <utility>
#include <tuple>
#include <string>
using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define SORT(x) sort(x.begin(),x.end())
#define REVE(x) reverse(x.begin(),x.end())
#define all(x) (x).begin(),(x).end()
#define fst first
#define mp make_pair
#define pb push_back
#define eb emplace_back
#define pob pop_back
#define sw swap
using LL = long long;
using ULL = unsigned long long;
#define FOR(i, m, n) for(int i = m;i < n;i++)
template<class T> inline bool chmax(T& a,T b){if(a<b){a=b;return 1;}return 0;}
template<class T> inline bool chmin(T& a,T b){if(a>b){a=b;return 1;}return 0;}
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    int A,B;
     cin >> A>>B;
     FOR(i,A,B){
         A*=i;
     }
     cout << A=0? "Zero" :A > 0?"Positive":"Negative";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:44: error: no match for 'operator=' (operand types are 'std::basic_ostream<char>' and 'const char*')
   33 |      cout << A=0? "Zero" :A > 0?"Positive":"Negative";
      |                                            ^~~~~~~~~~
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:458:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator=(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  458 |       operator=(basic_ostream&& __rhs)
      |       ^~~~~~~~
/usr/include/c++/14/ostream:458:33: note:   no known conversion for argument 1 from 'const char*' to 'std::basic_ostream<char>&&'
  458 |       operator=(basic_ostream&& __rhs)
      |                 ~~~~~~~~~~~~~~~~^~~~~
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <set>
#include <algorithm>
#include <array>
#include <complex>
#include <string>
#include <utility>
#include <map>
#include <queue>
#include <list>
#include <functional>
#include <numeric>
#include <stack>
#include <tuple>

using namespace std;
int dx[4] = { -1,0,1,0 };
int dy[4] = { 0,1,0,-1 };
const int INF = 100000000;
const long long LINF = 1000000000000000000;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-6;
using pii = std::pair<int, int>;
using ll=long long;  
using pLL = std::pair<ll, ll>;
#define SORT(v) std::sort(v.begin(), v.end())
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    int a,b;
    cin >> a >> b;
    if(a<=0&&b>=0){
        cout << "Zero" <<endl;
    }else if(a>0){
        cout << " Positive"  <<endl;
    }else if(b<0){
        int temp=a-b-1;
        if(temp/2%=0){
            cout << " Positive"  <<endl;
        }else{
            cout << " Negative"  <<endl;
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:18: warning: division by zero [-Wdiv-by-zero]
   41 |         if(temp/2%=0){
      |            ~~~~~~^~~
a.cc:41:16: error: lvalue required as left operand of assignment
   41 |         if(temp/2%=0){
      |            ~~~~^~
Language: C++

#include <iostream>
#include <cmath>
#include <algoruthm>
using namespace std;
int main(void){
  int a,b;
  cin >> a >> b;
  
  if(a <= 0 && b >= 0)
    cout << "Zero" << endl;
  else if(a < 0 && b < 0){
    if(abs(b - a) % 2 == 0)
      cout << "Negative" << endl;
    else
      cout << "Positive" << endl;
  }
  else
    cout << "Positive" << endl;
  
  return 0;
}



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

#include<bits/stdc++.h>
using namespace std;
#define IL inline
#define rep(i,j,k) for(int i=j;i<=k;++i)
#define repd(i,j,k) for(int i=j;i>=k;--i)
#define pb push_back
#define db double
#define mp make_pair
#define mp3(a,b,c) mp(mp(a,b),c)
#define pii pair<int,int>
#define piii pair<pii,int>
#define fr first
#define se second
#define ll long long
#define ull unsigned long long
#define pbc(x) __builtin_popcount(x)
#define clr(x) memset(x,0,sizeof x)
#define SIZE(x) (int)(x.size())
const int mod=1e9+7;
IL int pls(int x,int y){x+=y;return x>=mod?x-mod:x;}
IL int dec(int x,int y){x-=y;return x<0?x+mod:x;}
IL int mul(int x,int y){return 1ll*x*y%mod;}
IL int mul(int x,int y,int z){return mul(mul(x,y),z);}
IL int mul(int x,int y,int z,int p){return mul(mul(x,y),mul(z,p));}
IL void add(int &x,int y){x+=y;x=(x>=mod)?x-mod:x;}
IL int fpw(int x,int y,int r=1){for(;y;y>>=1,x=mul(x,x))if(y&1)r=mul(r,x);return r;}
IL int inv(int x){return fpw(x,mod-2);}
IL int gi(){int x;int _w=scanf("%d",&x);return x;}
IL void gi(int &x){int _w=scanf("%d",&x);}
IL void write(int x){printf("%d\n",x);}
void chkmax(int &x,int y){x=(x>y)?x:y;}
void chkmin(int &x,int y){x=(x<y)?x:y;}
const int INF=0x3f3f3f3f;
template<typename T>IL void debug(T x){cerr<<x;return;}
/* --------------------------------------------------------------------------------------------------------- */
int a,b;
int main(){
	a=gi(),b=gi();
	int l=mib(b,0);
	if(l<a){
		puts("Positive");
	}
	else if(a<l && b >= 0) {
		puts("Zero");
	}else {
		puts("Negative");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:15: error: 'mib' was not declared in this scope
   39 |         int l=mib(b,0);
      |               ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main()
{
cin>>a>>b;
if(a>0)cout<<"Positive";
else if(b>=0)cout<<"Zero";
else if((abs(b)-abs(a))%2==1)cout<<"Positive";
else cout<<"Negative";
cout<<endl;
return 0;)
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: expected primary-expression before ')' token
   12 | return 0;)
      |          ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	cni>>a>>b;
	if(a*b>0) cout<<"Positive"<<endl;
	else if(a*b<0) cout<<"Negative"<<endl;
	else cout<<"Zero"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cni' was not declared in this scope
    6 |         cni>>a>>b;
      |         ^~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b,c;
    cin >> a >> b;
if(a <= 0 && 0 <= b){
    cout << "Zero";
    return 0;
}
else if(0 < a){
    cout << "Positive";
    return 0;
}
c = b - a + 1
else if(c % 2 == 0){
    cout << "Negative";
    return 0;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected ';' before 'else'
   14 | c = b - a + 1
      |              ^
      |              ;
   15 | else if(c % 2 == 0){
      | ~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b,c;
    cin >> a >> b;
if(a <= 0 && 0 <= b){
    cout << Zero;
    return 0;
}
else if(0 < a){
    cout << Positive;
    return 0;
}
c = b - a + 1
else if(c % 2 == 0){
    cout << Negative;
    return 0;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'Zero' was not declared in this scope
    7 |     cout << Zero;
      |             ^~~~
a.cc:11:13: error: 'Positive' was not declared in this scope
   11 |     cout << Positive;
      |             ^~~~~~~~
a.cc:14:14: error: expected ';' before 'else'
   14 | c = b - a + 1
      |              ^
      |              ;
   15 | else if(c % 2 == 0){
      | ~~~~
Language: C++

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

int main(void)
{
  int a,b;
  cin>>a>>b;
  if(0<a&&a<=b)
    cout<<"Positive"<<endl;
  else if(a<=b&&b<0){
    if((b-a+1)%2==0)
      cout<<"Positive"<<endl;
    else
      cout<<"Negative"<<endl;
  }
  else if(a<=0&&0<=b)
    cuot<<"Zero"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:5: error: 'cuot' was not declared in this scope
   17 |     cuot<<"Zero"<<endl;
      |     ^~~~
Language: C++

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

int main(void)
{
  int a,b;
  cin>>a>>b;
  if(a>=0&&0<=b)
    cout<<"Zero"<<endl;
  else if(a>0)
    cout<<"Positive"<<endl;
  else
    cuot<<"Negative"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'cuot' was not declared in this scope
   13 |     cuot<<"Negative"<<endl;
      |     ^~~~
Language: C++

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

int main(void)
{
  int a,b;
  cin>>a>>b;
  if(a>=0%%0<=b)
    cout<<"Zero"<<endl;
  else if(a>0)
    cout<<"Positive"<<endl;
  else
    cuot<<"Negative"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: expected primary-expression before '%' token
    8 |   if(a>=0%%0<=b)
      |           ^
a.cc:13:5: error: 'cuot' was not declared in this scope
   13 |     cuot<<"Negative"<<endl;
      |     ^~~~
Language: C

#include<stdio.h>

int main(){

  int a,b,mul,i;

  scanf("%d %d",&a,&b);
  mul = 1;

  if(a>0){
    printf("Positive");
  }

  else if(a==0){
    printf("Zero");
  }

  else if(b>=0){
    printf("Zero";)
  }

  else{
    if(b-a+1%2==0){
      printf("Positive");
    }
    else{
      printf("Negative");
    }
  }

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:19:18: error: expected ')' before ';' token
   19 |     printf("Zero";)
      |           ~      ^
      |                  )
main.c:19:20: error: expected ';' before '}' token
   19 |     printf("Zero";)
      |                    ^
      |                    ;
   20 |   }
      |   ~
Language: C++

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

int main(){
  int A,B;
    cin>>A>>B;
  if(A<0){
    if(B>=0){
      cout<<"Zero"<<endl;
    }
    if(A==B){
      cout<<"Negative"<<endl;
    }
    if(A!=B&&B<0){
      if(B+A%2==0){
        cout<<"Negative"<<endl;
      }
      else
        cout<<"Positive"<<endl;
      }
    }
  }
if(A==0){
  cout<<"Zero"<<endl;
}
      if(A>0){
        cout<<"Positive"<<endl;
      }
    }

Compiler output:
a.cc:23:1: error: expected unqualified-id before 'if'
   23 | if(A==0){
      | ^~
a.cc:26:7: error: expected unqualified-id before 'if'
   26 |       if(A>0){
      |       ^~
a.cc:29:5: error: expected declaration before '}' token
   29 |     }
      |     ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
    long long a,b;
    cin>>a>>b;
    if(a > 0) cout<<"Positive";
    if(a < 0 && b < 0) cout<<"Negative";
    if(a == 0 || a < 0 && b > 0) cout<<"Zero"
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:46: error: expected ';' before 'return'
    9 |     if(a == 0 || a < 0 && b > 0) cout<<"Zero"
      |                                              ^
      |                                              ;
   10 |     return 0;
      |     ~~~~~~
Language: C++

a,b=int(input().split())
if b < 0:
    if (b-a+1) % 2 == 0:
        ans = 'Positive'
    elif (b-a+1) % 2 == 1:
        ans = 'Negative'
elif a > 0:
 ans='Positive'
else
 ans='Zeros'
  
print(ans)

Compiler output:
a.cc:4:15: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 |         ans = 'Positive'
      |               ^~~~~~~~~~
a.cc:6:15: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    6 |         ans = 'Negative'
      |               ^~~~~~~~~~
a.cc:8:6: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    8 |  ans='Positive'
      |      ^~~~~~~~~~
a.cc:10:6: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
   10 |  ans='Zeros'
      |      ^~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=int(input().split())
      | ^
Language: C++

#include <bits/stdc++.h>
#define F first
#define S second
#define all(a) a.begin(),a.end()
#define setDP(arr) memset(arr,-1,sizeof arr)
#define Clear(arr) memset(arr,0,sizeof arr)
#define oo 2000000000
#define inf 1000000000000000000
#define P1 31
#define P2 37
#define M  1000000007
#define M2 1000000009
#define pii pair<ll,ll>
typedef long long ll;
using namespace std;
const int N = 255001;
const int SQRTN = 320;
const int LOGN = 20;
const long double PI = acos(-1);
const long double TAU = 2*PI;

int a,b;

string solve(int a , int b){
    if(a==0||b==0)return "Zero";
    if(a<0&&b>0)return "Zero";
    if(a>0)return "Positive";
    if((b-a)&1)return "Positive";
    return "Negative";
}
string calc(int a , int b){
    int x = 1;
    for(int i = a ; i<=b ; i++)x*=i;
    if(x>0)return "Positive";
    if(x<0)return "Negative";
    return "Zero";
}

signed main(){
    cin >> a>> b;
    cout <<solve(i,j) << endl;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:18: error: 'i' was not declared in this scope
   41 |     cout <<solve(i,j) << endl;
      |                  ^
a.cc:41:20: error: 'j' was not declared in this scope; did you mean 'jn'?
   41 |     cout <<solve(i,j) << endl;
      |                    ^
      |                    jn
Language: C++

#include <bits/stdc++.h>
#define F first
#define S second
#define all(a) a.begin(),a.end()
#define setDP(arr) memset(arr,-1,sizeof arr)
#define Clear(arr) memset(arr,0,sizeof arr)
#define oo 2000000000
#define inf 1000000000000000000
#define P1 31
#define P2 37
#define M  1000000007
#define M2 1000000009
#define pii pair<ll,ll>
typedef long long ll;
using namespace std;
const int N = 255001;
const int SQRTN = 320;
const int LOGN = 20;
const long double PI = acos(-1);
const long double TAU = 2*PI;

int a,b;

string solve(int a , int b){
    if(a==0||b==0)return "Zero";
    if(a<0&&b>0)return "Zero";
    if(a>0)return "Positive";
    if((b-a)&1)return "Positive";
    return "Negative";
}
string calc(int a , int b){
    int x = 1;
    for(int i = a ; i<=b ; i++)x*=i;
    if(x>0)return "Positive";
    if(x<0)return "Negative";
    return "Zero";
}

int main(){
    cin >> a>> b;
    cout <<solve(i,j) << endl;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:18: error: 'i' was not declared in this scope
   41 |     cout <<solve(i,j) << endl;
      |                  ^
a.cc:41:20: error: 'j' was not declared in this scope; did you mean 'jn'?
   41 |     cout <<solve(i,j) << endl;
      |                    ^
      |                    jn
Language: C++

#include<iostream>
using namespace std;
 
int main(){
	int a,b;
  	cin >> a >> b;
  	if(a>0)cout << "Positive" << endl;
  	else if(a<=0 && b>=0) << "Zero" << endl;
  	else{
    	if((a-b)%2==0)cout<<"Negative" << endl;
      	else cout << "Positive" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: expected primary-expression before '<<' token
    8 |         else if(a<=0 && b>=0) << "Zero" << endl;
      |                               ^~
Language: C++

#include<iostream>
using namespace std;
 
int main(){
	int a,b;
  	cin >> a >> b;
  	if(a>0)cout << "Positive" << endl;
  	else if(a<=0 && b>=0)cout << "Zero" << endl;
  	else{
    	if((a-b)%2==0)cout<<"Negative" << endl;
      	else cout << "Positive" << endl
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:40: error: expected ';' before '}' token
   11 |         else cout << "Positive" << endl
      |                                        ^
      |                                        ;
   12 |     }
      |     ~
Language: C++

#include<iostream>
using namespace std;

int main(){
	int a,b;
  	cin >> a >> b;
  	if(a>0)cout << "Positive" << endl;
  	else if(a<=0 && b>=0) << "Zero" << endl;
  	else{
    	if((a-b)%2==0)cout<<"Negative" << endl;
      	else cout << "Positive" << endl
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: expected primary-expression before '<<' token
    8 |         else if(a<=0 && b>=0) << "Zero" << endl;
      |                               ^~
a.cc:11:40: error: expected ';' before '}' token
   11 |         else cout << "Positive" << endl
      |                                        ^
      |                                        ;
   12 |     }
      |     ~