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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected primary-expression before '>>' token
    5 |         int a,b;>>a>>b;
      |                 ^~
a.cc:7:5: error: 'else' without a previous 'if'
    7 |     else if(b>=0) cout<<"Zero"<<endl;
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int a,b,t;
    long long sum=1;
    cin>>a>>b;
    t=a;
    while(t<=b)
    {
        sum=sum*t;
        t=t+1;
    }
    if (sum>0) cout<<"Postive"
    if (sum==0) cout<<"Zero";
    if (sum<0) cout<<"Negative";
    cout<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:31: error: expected ';' before 'if'
   14 |     if (sum>0) cout<<"Postive"
      |                               ^
      |                               ;
   15 |     if (sum==0) cout<<"Zero";
      |     ~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'cout' was not declared in this scope
    7 |       cout<<"Positive";
      |       ^~~~
a.cc:2:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<cstdio>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:9:7: error: 'cout' was not declared in this scope
    9 |       cout<<"Zero";
      |       ^~~~
a.cc:9:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout<<"Positive";
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:7: error: 'cout' was not declared in this scope
   14 |       cout<<"Negative";
      |       ^~~~
a.cc:14:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<stdio.h>
int main()
{
    long long a,b;
    scanf("%lld %lld",&a,&b);
    int c=a+1;
    if(a*b*c==0)printf("Zero\n");
    if(a*b*c<0)printf("Negative\n");
    if(a*b*c>0)printf("Positive\n")
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:36: error: expected ';' before 'return'
    9 |     if(a*b*c>0)printf("Positive\n")
      |                                    ^
      |                                    ;
   10 |     return 0;
      |     ~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'c' was not declared in this scope
    8 |                 c*=i;
      |                 ^
a.cc:10:12: error: 'c' was not declared in this scope
   10 |         if(c>0) cout<<"Positive";
      |            ^
a.cc:11:12: error: 'c' was not declared in this scope
   11 |         if(c==0) cout<<"Zero";
      |            ^
a.cc:12:12: error: 'c' was not declared in this scope
   12 |         if(c<0) cout<<"Negative";
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,c=1;
    cin>>a>>b;
    for(int i=a;i<=b;i++)
    c*=i;-
    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:9:5: error: expected primary-expression before 'if'
    9 |     if(c>0)cout<<"Positive"<<endl;
      |     ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   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:5:24: error: 'cout' was not declared in this scope
    5 |   if (0 < a && a <= b) cout << "Positive" << endl;
      |                        ^~~~
a.cc:5:24: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:5:46: error: 'endl' was not declared in this scope
    5 |   if (0 < a && a <= b) cout << "Positive" << 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:7:25: error: 'cout' was not declared in this scope
    7 |     if (b - a % 2 == 1) cout << "Positive" << endl;
      |                         ^~~~
a.cc:7:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:47: error: 'endl' was not declared in this scope
    7 |     if (b - a % 2 == 1) cout << "Positive" << endl;
      |                                               ^~~~
a.cc:7:47: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:8:30: error: 'cout' was not declared in this scope
    8 |     else if (b - a % 2 == 0) cout << "Negative" << endl;
      |                              ^~~~
a.cc:8:30: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:52: error: 'endl' was not declared in this scope
    8 |     else if (b - a % 2 == 0) cout << "Negative" << endl;
      |                                                    ^~~~
a.cc:8:52: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:10:30: error: 'cout' was not declared in this scope
   10 |   else if (a <= 0 && 0 <= b) cout << "Zero" << endl;
      |                              ^~~~
a.cc:10:30: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:48: error: 'endl' was not declared in this scope
   10 |   else if (a <= 0 && 0 <= b) cout << "Zero" << endl;
      |                                                ^~~~
a.cc:10:48: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm> 
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:29:22: error: expected primary-expression before '%' token
   29 |         else if(a<=0%%b==0)
      |                      ^
Language: C++

#include <iostream>
#include <cmath>
#include <string>
#include <algorithm>
#include <cstdio>
using namespace std;
int main()
{
	int a,b,c,q=0;
	int x[20];
	int s=1;
	cin>>a>>b;
	if(a<=0&&b>=0)
	cout<<"Zero"<<endl;
	if(a>0&&b>0)
	cout<<"Positive"<<endl;
	if(a<0&&b<0)
	{
		for(int i=a;i<=b;i++)
		{
			if(i<=b) q++;
		}
		if(i%2==0)
		cout<<"Positive"<<endl;
		 else cout<<"Negative"<<endl;
		
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:20: error: 'i' was not declared in this scope
   23 |                 if(i%2==0)
      |                    ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'sum' was not declared in this scope
    7 |         sum=b-a+1;
      |         ^~~
Language: Java

public class  RangeProduct{
	   public static void main(String[] args){
		int a;
		int b;
		int cul = (a*b);

		if(cul==0){
		   System.out.println("Zero");
		} else if(cul>=0){
		   System.out.println("Positive");
	        } else {
		   System.out.println("Negative");
	    }
	}
}

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

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

Compiler output:
a.cc:13:2: error: 'a' does not name a type
   13 | }a
      |  ^
Language: C++

#include<cstdio>
using namespace std;
int 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:5:9: error: 'cin' was not declared in this scope
    5 |         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;
long long a,b;
int main(){
	cin>>a>>b;
	if(a*b<=0){puts("Zero");return 0;}
	if(a>0){puts("Positive");return 0;}
	if(b<0)(b-a&1)?puts("Positive"):puts(Nagative);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:46: error: 'Nagative' was not declared in this scope
    8 |         if(b<0)(b-a&1)?puts("Positive"):puts(Nagative);
      |                                              ^~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
long long a,b;
int main(){
    cin>>a>>b;
    if(a*b<=0)puts("Zero"),return 0;
	if(a>0)puts("Positive"),return 0;
	if(b<0)(b-a&1)?puts("Positive"):puts(Nagative);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:28: error: expected primary-expression before 'return'
    6 |     if(a*b<=0)puts("Zero"),return 0;
      |                            ^~~~~~
a.cc:7:33: error: expected primary-expression before 'return'
    7 |         if(a>0)puts("Positive"),return 0;
      |                                 ^~~~~~
a.cc:8:46: error: 'Nagative' was not declared in this scope
    8 |         if(b<0)(b-a&1)?puts("Positive"):puts(Nagative);
      |                                              ^~~~~~~~
Language: C++

#include<iostream>
#include<algorithm>
//#include<Hatsune_Miku>
using namespace std;
long long  n,m,ans,bns;
int main(){
    cin>>n>>m;
   ans=max(n,m);
   bns=min(n,m)
    if(bns>0)cout<<"Positive"<<endl;
    if(bns<0)cout<<"Zero"<<endl;
    if(ans<0)cout<<"Negative"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'if'
    9 |    bns=min(n,m)
      |                ^
      |                ;
   10 |     if(bns>0)cout<<"Positive"<<endl;
      |     ~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
void read(int &x){
	int f=1;x=0;char s=getchar();
	while(s<'0'||s>'9'){if(s=='-')f=-1;s=getchar();}
	while(s>='0'&&s<='9'){x=x*10+s-'0';s=getchar();}
	x*=f;
}
void print(int x){
	if(x<9){putchar('-');x=-x;}
	if(x>9)print(x/10);putchar(x%10+'0');
}
namespace NB{
	int main(){
	int a,b;
	read(a);read(b);
	if(a>0&&b>0){
		cout<<"Positive";
		cout<<endl;
	}
	else if(max(a,b)>=0&&min(a,b)<=0||a==0||b==0){
		cout<<"Zero"<<endl;
		}
	else if(abs(min(a,b))-abs(max(a,b))%2)
	{
		cout<<"Negative"<<endl;		
	}
	else{
			cout<<"Positive"<<endl;
		}
	}
	return 0;
}
int main(){
	return NB::main();
}

Compiler output:
a.cc: In function 'int NB::main()':
a.cc:31:9: warning: no return statement in function returning non-void [-Wreturn-type]
   31 |         }
      |         ^
a.cc: At global scope:
a.cc:32:9: error: expected unqualified-id before 'return'
   32 |         return 0;
      |         ^~~~~~
Language: C++

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


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

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


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

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

int main() {
  long long a, b;
  cin >> a >> b;
  a *= b;
  if (a > 0)
    puts("Positive");
  else if (a < 0)
    puts("Negative");
  else
    puts("Zero");
  return 0;
}

Compiler output:
a.cc:2:17: error: 'sdt' is not a namespace-name
    2 | using namespace sdt;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

include<bits/stdc++.h>

#define REP(i,n) for(int (i)=0;i<(n);i++)
#define vi vector<int>

using namespace std;

int main()
{
  int n, m;
  cin >> n >> m;
  n++;
  vi v(n);
  REP(i, n) v[i] = 1;

  int aka = 200000;
  v[1] = aka;
  int x, y;
  REP (i, m) {
    cin >> x >> y;
    if (aka <= v[x])
    {
      v[x] == aka ? v[x] = 0 : v[x]--;
      v[y] < aka ? v[y] += aka : v[y]++;
    }
    else
    {
      v[x]--;
      v[y]++;
    }
  }

  int ans = 0;
  REP(i, n){
    ans += (aka <= v[i]);
  }
  cout << ans << endl;
  return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   cin >> n >> m;
      |   ^~~
a.cc:4:12: error: 'vector' was not declared in this scope
    4 | #define vi vector<int>
      |            ^~~~~~
a.cc:13:3: note: in expansion of macro 'vi'
   13 |   vi v(n);
      |   ^~
a.cc:4:19: error: expected primary-expression before 'int'
    4 | #define vi vector<int>
      |                   ^~~
a.cc:13:3: note: in expansion of macro 'vi'
   13 |   vi v(n);
      |   ^~
a.cc:14:13: error: 'v' was not declared in this scope
   14 |   REP(i, n) v[i] = 1;
      |             ^
a.cc:17:3: error: 'v' was not declared in this scope
   17 |   v[1] = aka;
      |   ^
a.cc:37:3: error: 'cout' was not declared in this scope
   37 |   cout << ans << endl;
      |   ^~~~
a.cc:37:18: error: 'endl' was not declared in this scope
   37 |   cout << ans << endl;
      |                  ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <complex>
#include <string>
#include <cmath>
using namespace std;

int min(int n, int m){
	return ((n>m) ? m : n);
}

int main(void){
	int a, b;
	cin >> a >> b;
	long long prod = 1;
	for(int i=a;i<=n;i++){
		prod *= i;
	}
	if(prod>0){
		cout << 'Positive' << endl;
	}else if(prod == 0){
		cout << 'Zero' << endl;
	}else{
		cout << "Negative" << endl;
	}

	return 0;
}

Compiler output:
a.cc:21:25: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   21 |                 cout << 'Positive' << endl;
      |                         ^~~~~~~~~~
a.cc:23:25: warning: multi-character character constant [-Wmultichar]
   23 |                 cout << 'Zero' << endl;
      |                         ^~~~~~
a.cc: In function 'int main()':
a.cc:17:24: error: 'n' was not declared in this scope
   17 |         for(int i=a;i<=n;i++){
      |                        ^
Language: C++

int main()
{
  int a, b;
  cin >> a >> b;

  int ans = 0;
  if (0 < a)
      ans = 1;
  else if (b < 0)
      ans = b - a % 2 ? -1: 1;

  cout << a << " " <<  ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> a >> b;
      |   ^~~
a.cc:12:3: error: 'cout' was not declared in this scope
   12 |   cout << a << " " <<  ans << endl;
      |   ^~~~
a.cc:12:31: error: 'endl' was not declared in this scope
   12 |   cout << a << " " <<  ans << endl;
      |                               ^~~~
Language: C++

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

Compiler output:
a.cc:16:5: error: 'cout' does not name a type
   16 |     cout<<endl;
      |     ^~~~
a.cc:17:5: error: expected unqualified-id before 'return'
   17 |     return 0;
      |     ^~~~~~
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

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


Compiler output:
a.cc:16:5: error: 'cout' does not name a type
   16 |     cout<<endl;
      |     ^~~~
a.cc:17:5: error: expected unqualified-id before 'return'
   17 |     return 0;
      |     ^~~~~~
Language: C++

#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<cstdio>
#include<climits>
using namespace std;
void File(){
	freopen("AGC02E.in","r",stdin);
	freopen("AGC02E.out","w",stdout);
}
template<typename T>bool chkmax(T &_,T __){return _<__ ? (_=__,1) : 0;}
template<typename T>bool chkmin(T &_,T __){return _>__ ? (_=__,1) : 0;}
#define REP(i,a,b) for(register int i=a;i<=b;++i)
#define DREP(i,a,b) for(register int i=a;i>=b;--i)
#define MREP(i,x) for(register int i=beg[x];i;i=E[i].last)
#define mem(a) memset(a,0,sizeof(a))
#define inf INT_MAX
const int maxn=1e5+10;
int n,a[maxn],SG[1010][1010];
bool in[maxn];
bool cmp(int _,int __){return _>__;}
bool judge(int x,int y){return x>n || y>a[x];}
int get_SG(int x,int y){
	//cerr<<x<<" "<<y<<endl;
	if(judge(x,y))return 1;
	if(judge(x+1,y+1)){
		if(get_SG(x+1,y) && get_SG(x,y+1))
			return 0;
		else return 1;
	}
	return get_SG(x+1,y+1);
}
int main(){
	int size = 256 << 20; // 256MB  
    char *p = (char*)malloc(size) + size;  
    __asm__("movl %0, %%esp\n" :: "r"(p));
	//File();
	scanf("%d",&n);
	REP(i,1,n)scanf("%d",&a[i]);
	sort(a+1,a+n+1,cmp);
	/*REP(i,1,n+1)REP(j,1,a[1]+1)
		SG[i][j]=1;
	REP(i,1,n)REP(j,1,a[i])
		SG[i][j]=0;
	DREP(i,n,1)DREP(j,a[i],1){
		mem(in);
		in[SG[i+1][j]]=1;
		in[SG[i][j+1]]=1;
		REP(k,0,5)if(!in[k]){
			SG[i][j]=k!=0;
			break;
		}
	}
	REP(i,1,n){
		REP(j,1,a[i])cout<<(SG[i][j])<<" ";
		cout<<endl;
	}
	cout<<endl<<endl;
	REP(i,1,n){
		REP(j,1,a[i])cout<<get_SG(i,j)<<" ";
		cout<<endl;
	}*/
	if(get_SG(1,1))puts("First");
	else puts("Second");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:40:13: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   40 |         REP(i,1,n)scanf("%d",&a[i]);
      |             ^
a.cc:14:37: note: in definition of macro 'REP'
   14 | #define REP(i,a,b) for(register int i=a;i<=b;++i)
      |                                     ^
a.cc: Assembler messages:
a.cc:37: Error: operand type mismatch for `mov'
Language: C++

int main(void){
    int a, b;
    cin >> a >> b;
    if(a<0 && b>0)
        cout<< 0 << endl;
    else if(a>0)
        cout << "Positive" << endl;
    else{
        int c = abs(a),d = abs(b);
        if((c%2 == 0 && d%2 == 0 )||(c%2 != 0 && d%2 != 0))
            cout << "Negative" << endl;
        else
            cout << "Positive" << endl;
    }  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> a >> b;
      |     ^~~
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout<< 0 << endl;
      |         ^~~~
a.cc:5:21: error: 'endl' was not declared in this scope
    5 |         cout<< 0 << endl;
      |                     ^~~~
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << "Positive" << endl;
      |         ^~~~
a.cc:7:31: error: 'endl' was not declared in this scope
    7 |         cout << "Positive" << endl;
      |                               ^~~~
a.cc:9:17: error: 'abs' was not declared in this scope
    9 |         int c = abs(a),d = abs(b);
      |                 ^~~
a.cc:10:25: error: 'd' was not declared in this scope
   10 |         if((c%2 == 0 && d%2 == 0 )||(c%2 != 0 && d%2 != 0))
      |                         ^
a.cc:11:13: error: 'cout' was not declared in this scope
   11 |             cout << "Negative" << endl;
      |             ^~~~
a.cc:11:35: error: 'endl' was not declared in this scope
   11 |             cout << "Negative" << endl;
      |                                   ^~~~
a.cc:13:13: error: 'cout' was not declared in this scope
   13 |             cout << "Positive" << endl;
      |             ^~~~
a.cc:13:35: error: 'endl' was not declared in this scope
   13 |             cout << "Positive" << endl;
      |                                   ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:19: error: 'ans' was not declared in this scope; did you mean 'abs'?
    5 |    cin >> a >> b, ans = 1;
      |                   ^~~
      |                   abs
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:35: error: lvalue required as left operand of assignment
   15 |         else if((abs(a) - abs(b)) % 2 = 0){
      |                 ~~~~~~~~~~~~~~~~~~^~~
Language: C++

#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <cstring>
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b;
    if(a+b<0)
    cout<<"Negative";
    if(a+b>0)
    cout<<"Positive"
    if(a+b==0)
    cout<<"Zero";
    cout<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:21: error: expected ';' before 'if'
   15 |     cout<<"Positive"
      |                     ^
      |                     ;
   16 |     if(a+b==0)
      |     ~~
Language: C++

//#include <bits/stdc++.h>
#include<iostream>
#include<cstdio>
#include<string>
#include<algorithm>
#include<vector>
#include<stack>
#include<queue>
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)
#define pb push_back
#define INF 93193111451418101
#define MIN -93193111451418101
using namespace std;
typedef long long ll;//int64
typedef unsigned long long ull;
ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
//----------program from here----------


ll flag=100;
ll a,b;

ll c,d;
ll ans;

string as;

int main(){
    
    if(a==0){
        ans=0
    }else if(b==0){
        ans==0;
    }else if(a<0 && 0<b){
        ans=0;
    }else if(0<a){
        ans=1;
    }else{
        c=b-a+1;
        ans=1;
        if(c%2==1){ans=-1;}
        
    }



    if(ans==1)as="Positive";
    if(ans==-1)as="Positive";
    if(ans==0)as="Zero";
    cout<<as<<endl;

    


    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:14: error: expected ';' before '}' token
   34 |         ans=0
      |              ^
      |              ;
   35 |     }else if(b==0){
      |     ~
Language: Java

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long head = sc.nextInt();
		long tail = sc.nextInt();
		long num = head; 
		
		for (long i = head + 1L ; i <= tail; i++){
			num *= i;
		} 
		int num2 = Long.signum(num);
			
		if(num2 == -1){
		 	System.out.println("Negative");
		 } else if(num2 == 1){
		 	System.out.println("Positive");
		 } else if(num2 == 0) {
		 	System.out.println("Zero");
		 }

	}
}

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

class at1_2016_0731_A{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long head = sc.nextInt();
		long tail = sc.nextInt();
		long num = head; 
		
		for (long i = head + 1L ; i <= tail; i++){
			num *= i;
		} 
		int num2 = Long.signum(num);
			
		if(num2 == -1){
		 	System.out.println("Negative");
		 } else if(num2 == 1){
		 	System.out.println("Positive");
		 } else if(num2 == 0) {
		 	System.out.println("Zero");
		 }

	}
}

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

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long head = sc.nextInt();
		long tail = sc.nextInt();
		long num = head;
		
		for (long i = head + 1 ; i <= tail; i++){
			num *= i;
		}
		
		if(num < 0){
		 	System.out.prlongln("Negative");
		 } else if(num > 0){
		 	System.out.prlongln("Positive");
		 } else {
		 	System.out.prlongln("Zero");
		 }
		
		
	}
}


Compiler output:
Main.java:15: error: cannot find symbol
		 	System.out.prlongln("Negative");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
Main.java:17: error: cannot find symbol
		 	System.out.prlongln("Positive");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
Main.java:19: error: cannot find symbol
		 	System.out.prlongln("Zero");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
3 errors
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long head = sc.nextlong();
		long tail = sc.nextlong();
		long num = head;
		
		for (long i = head + 1 ; i <= tail; i++){
			num *= i;
		}
		
		if(num < 0){
		 	System.out.prlongln("Negative");
		 } else if(num > 0){
		 	System.out.prlongln("Positive");
		 } else {
		 	System.out.prlongln("Zero");
		 }
		
		
	}
}


Compiler output:
Main.java:6: error: cannot find symbol
		long head = sc.nextlong();
		              ^
  symbol:   method nextlong()
  location: variable sc of type Scanner
Main.java:7: error: cannot find symbol
		long tail = sc.nextlong();
		              ^
  symbol:   method nextlong()
  location: variable sc of type Scanner
Main.java:15: error: cannot find symbol
		 	System.out.prlongln("Negative");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
Main.java:17: error: cannot find symbol
		 	System.out.prlongln("Positive");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
Main.java:19: error: cannot find symbol
		 	System.out.prlongln("Zero");
		 	          ^
  symbol:   method prlongln(String)
  location: variable out of type PrintStream
5 errors
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int head = sc.nextInt();
		int tail = sc.nextInt();
		int num = head;
		
		for (int i = head +1 ; i <= tail; i++){
			num *= i;
		}
		
		if(num < 0){
		 	System.out.println("Negative");
		 } else (num > 0){
		 	System.out.println("Positive");
		 } else {
		 	System.out.println("Zero");
		 }
		
		
	}
}


Compiler output:
Main.java:16: error: not a statement
		 } else (num > 0){
		        ^
Main.java:16: error: ';' expected
		 } else (num > 0){
		                 ^
Main.java:18: error: 'else' without 'if'
		 } else {
		   ^
3 errors
Language: C++

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

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

int n,l,sz;
int a,b;
bool canUntie2[100001];
int order[100001];
int main()
{
    cin>>n>>l>>a;
    for(int i = 2;i<=n;i++)
    {
        cin>>b;
        canUntie2[i-1]=((a+b)>=l);
        a=b;
    }
 
    for(int i = 1;i<=n-1;i++)
    {
        if(canUntie2[i]==1)
        {
            int stop = n;
            for(int j = i+1;j<=n-1;j++)
            {
                if(canUntie2[j]==1)
                {
                    stop=j;
                    break;
                }
            }
            if(stop!=n)
            {
                for(int j = i+1; j<= stop-1; j++)
                {
                    order[++sz]=j;
                }
            }
            else
            {
                for(int j = n-1; j>=i+1; j--)
                    order[++sz]=j;
            }
            i=stop-1;
        }
        else
        {
            bool ok=false;
            for(int j = i; j<=n-1;j++, i++)
            {
                if(canUntie2[j]==1)
                {
                    ok=true;
                    break;
                }
                order[++sz]=j;
            }
            i--;
            if(!ok)
            {
                cout<<"Impossible";
                return 0;
            }
        }
    }
    for(int i = 1;i<=n-1;i++)
    {
        if(canUntie2[i]==1)
            order[++sz]=i;
    }
    if(sz==n-1)
    {
        cout<<"Possible\n";
        for(int i = 1;i<=n-1;i++)
        {
            cout<<order[i]<<'\n';
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>n>>l>>a;
      |     ^~~
a.cc:57:17: error: 'cout' was not declared in this scope
   57 |                 cout<<"Impossible";
      |                 ^~~~
a.cc:69:9: error: 'cout' was not declared in this scope
   69 |         cout<<"Possible\n";
      |         ^~~~
Language: C++

#include <bits/stdc++.h>

#define pout(n)  printf ("%d\n", n)

#define rep(i,a,n) for (int i = a;i < n;i++)
#define per(i,n,a) for (int i = n-1;i >= a;i--)
#define SORT(v, n) sort(v, v+n);
#define VSORT(v) sort(v.begin(), v.end());

const int d4x[4] = {1, 0, -1, 0};
const int d4y[4] = {0, 1, 0, -1};
const int d8x[8] = { 1,1,0,-1,-1,-1,0,1 };
const int d8y[8] = { 0,1,1,1,0,-1,-1,-1 };

#define MAX_N (int)2e5+20
#define INF 1e12+20

typedef long long ll;
using namespace std;

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

Compiler output:
a.cc:39:9: error: expected unqualified-id before 'return'
   39 |         return 0;
      |         ^~~~~~
a.cc:40:1: error: expected declaration before '}' token
   40 | }
      | ^
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <cmath>
#include <map>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:29: error: lvalue required as left operand of assignment
   14 |                 if(((a - b) % 2) = 0) cout << "Negative" << endl;
      |                    ~~~~~~~~~^~~~
Language: Java

import java.util.Scanner;

public class AMain {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
		sc.close();
		if(a <= 0 && b >= 0){
            System.out.println("Zero");
        }else if(a > 0 || (a < 0 && (b-a)%2 == 1)){
            System.out.println("Positive");
        }else{
        	System.out.println("Negative");
        }
	}
}


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

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
		sc.close();
		if(a <= 0 && b >= 0){
            System.out.println("Zero");
        }else if(a > 0 (a < 0 && (a-b)%2 == 1)){
            System.out.println("Positive");
        }else{
        	System.out.println("Negative");
        }
	}
}


Compiler output:
Main.java:11: error: ')' expected
        }else if(a > 0 (a < 0 && (a-b)%2 == 1)){
                      ^
Main.java:11: error: not a statement
        }else if(a > 0 (a < 0 && (a-b)%2 == 1)){
                       ^
Main.java:11: error: ';' expected
        }else if(a > 0 (a < 0 && (a-b)%2 == 1)){
                                              ^
Main.java:13: error: 'else' without 'if'
        }else{
         ^
4 errors
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:19:23: error: expected ';' before '}' token
   19 |     cout << "Negative"
      |                       ^
      |                       ;
   20 |   }
      |   ~
Language: C++

#include <iostream>
using namespace std;

int main() {

  int a,b;
  //Positive
    if((a > 0 && b > 0) || (a < 0 && b < 0) && ((b - a) % 2 == 0 )){
    cout << "Positive";
  }

  //Zero
  if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
    cout << "Zero";
  }

  //Negative
  if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
    cout << "Negative"
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:25: error: expected identifier before '(' token
   18 |   if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
      |                         ^
Language: C++

#include <iostream>

int main() {
  
  //Positive
    if((a > 0 && b > 0) || (a < 0 && b < 0) && ((b - a) % 2 == 0 )){
    cout << "Positive";
  }

  //Zero
  if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
    cout << "Zero";
  }

  //Negative
  if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
    cout << "Negative"
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'a' was not declared in this scope
    6 |     if((a > 0 && b > 0) || (a < 0 && b < 0) && ((b - a) % 2 == 0 )){
      |         ^
a.cc:6:18: error: 'b' was not declared in this scope
    6 |     if((a > 0 && b > 0) || (a < 0 && b < 0) && ((b - a) % 2 == 0 )){
      |                  ^
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << "Positive";
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:7: error: 'a' was not declared in this scope
   11 |   if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
      |       ^
a.cc:11:16: error: 'b' was not declared in this scope
   11 |   if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
      |                ^
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout << "Zero";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:6: error: 'a' was not declared in this scope
   16 |   if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
      |      ^
a.cc:16:15: error: 'b' was not declared in this scope
   16 |   if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
      |               ^
a.cc:16:25: error: expected identifier before '(' token
   16 |   if(a < 0 && b < 0) && ((b - a) % 2 != 0 ){
      |                         ^
Language: C++

#include <iostream>

int main() {
  
  //Positive
  if(a > 0 && b > 0){
    if(a < 0 && b > 0) && ((b - a) % 2 == 0 )
    cout << "Positive";
  }

  //Zero
  if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
    cout << "Zero";
  }

  //Negative
  if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
    cout << "Negative"
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: 'a' was not declared in this scope
    6 |   if(a > 0 && b > 0){
      |      ^
a.cc:6:15: error: 'b' was not declared in this scope
    6 |   if(a > 0 && b > 0){
      |               ^
a.cc:7:27: error: expected identifier before '(' token
    7 |     if(a < 0 && b > 0) && ((b - a) % 2 == 0 )
      |                           ^
a.cc:12:7: error: 'a' was not declared in this scope
   12 |   if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
      |       ^
a.cc:12:16: error: 'b' was not declared in this scope
   12 |   if((a > 0 && b < 0) || (a < 0 && b > 0) || (a == 0) || (b == 0)){
      |                ^
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout << "Zero";
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:6: error: 'a' was not declared in this scope
   17 |   if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
      |      ^
a.cc:17:15: error: 'b' was not declared in this scope
   17 |   if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
      |               ^
a.cc:17:25: error: expected identifier before '(' token
   17 |   if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
      |                         ^
Language: C++

#include <iostream>

int int main(int argc, char const *argv[]) {
  int a,;
  cin >> a >> b;

  //Positive
  if(a > 0 && b > 0){
    if(a < 0 && b > 0) && ((b - a) % 2 = 0 )
    cout << "Positive";
  }

  //Zero
  if((a > 0 && b < 0) || (a < 0 && b > 0) || (a = 0) || (b = 0)){
    cout << "Zero";
  }

  //Negative
  if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
    cout << "Negative"
  }
  return 0;
}

Compiler output:
a.cc:3:1: error: two or more data types in declaration of 'main'
    3 | int int main(int argc, char const *argv[]) {
      | ^~~
Language: C++

include <iostream>

int main(int argc, char const *argv[]) {


  if(a > 0 && b > 0){
    if(a < 0 && b > 0) && ((b - a) % 2 = 0 )
    cout << "Positive";
  }


  if((a > 0 && b < 0) || (a < 0 && b > 0) || (a = 0) || (b = 0)){
    cout << "Zero";
  }


  if(a < 0 && b > 0) && ((b - a) % 2 != 0 ){
    cout << "Negative"
  }
  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
void out(int po)
{
cout<<"Possible\n";
for(int i=1;i<n;++i)if(i!=po)cout<<i<<"\n";
cout<<po;
exit(0);
}
int n,l,a[100001];
int main()
{
cin>>n>>l;
for(int i=1;i<=n;++i)
{
cin>>a[i];
if(i==1)continue;
if(a[i]+a[i-1]>=l)out(i-1);
}
cout<<"Impossible";
}

Compiler output:
a.cc: In function 'void out(int)':
a.cc:6:15: error: 'n' was not declared in this scope
    6 | for(int i=1;i<n;++i)if(i!=po)cout<<i<<"\n";
      |               ^
Language: C++

test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test 

Compiler output:
a.cc:1:1: error: 'test' does not name a type
    1 | test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
      | ^~~~
Language: C++

var
a,b,c : integer;
begin
read(a,b);
c:=a*(a+1)*b;

if (c<0) then begin
write('Negative');
end
else
if(c>0) then begin
write('Positive');
end
else if(c=0) then
 begin
write('Zero');
end;


end.

Compiler output:
a.cc:8:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    8 | write('Negative');
      |       ^~~~~~~~~~
a.cc:12:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   12 | write('Positive');
      |       ^~~~~~~~~~
a.cc:16:7: warning: multi-character character constant [-Wmultichar]
   16 | write('Zero');
      |       ^~~~~~
a.cc:1:1: error: 'var' does not name a type
    1 | var
      | ^~~
a.cc:3:1: error: 'begin' does not name a type
    3 | begin
      | ^~~~~
a.cc:5:1: error: 'c' does not name a type
    5 | c:=a*(a+1)*b;
      | ^
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if (c<0) then begin
      | ^~
a.cc:9:1: error: 'end' does not name a type
    9 | end
      | ^~~
a.cc:13:1: error: 'end' does not name a type
   13 | end
      | ^~~
a.cc:17:1: error: 'end' does not name a type
   17 | end;
      | ^~~
a.cc:20:1: error: 'end' does not name a type
   20 | end.
      | ^~~
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define INF 1000000005
#define MOD 1000000007
#define EPS 1e-10
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define rrep(i,n) for(int i=(int)(n)-1;i>=0;--i)
#define srep(i,s,t) for(int i=(int)(s);i<(int)(t);++i)
#define each(a,b) for(auto (a): (b))
#define all(v) (v).begin(),(v).end()
#define len(v) (int)(v).size()
#define zip(v) sort(all(v)),v.erase(unique(all(v)),v.end())
#define fi first
#define se second
#define pb push_back
#define show(x) cout<<#x<<" = "<<(x)<<endl
#define spair(p) cout<<#p<<": "<<p.fi<<" "<<p.se<<endl
#define svec(v) cout<<#v<<":";rep(kbrni,v.size())cout<<" "<<v[kbrni];cout<<endl
#define sset(s) cout<<#s<<":";each(kbrni,s)cout<<" "<<kbrni;cout<<endl
#define smap(m) cout<<#m<<":";each(kbrni,m)cout<<" {"<<kbrni.first<<":"<<kbrni.second<<"}";cout<<endl

using namespace std;

typedef pair<int,int> P;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<double> vd;
typedef vector<P> vp;

const int MAX_N = 100005;

int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    int n;
    cin >> a >> b;
    if(a == 0 || b == 0){
        cout << "Zero\n";
    }else if(a < 0 && b > 0){
        cout << "Zero\n";
    }else if(a > 0 && b > 0){
        cout << "Positive\n";
    }else if((b-a)%2 == 0){
        cout << "Negative\n";
    }else{
        cout << "Positive\n";
    }
    return 0;
}


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

#!/usr/bin/env python3
# -*- coding: utf-8 -*-



def main():
    A, B = map(int, input().split())

    if 0 < A:
        sign = 1
    elif A <= 0 <= B:
        sign = 0
    else: # B < 0
        even = (B-A+1) % 2 == 0
        sign = 1 if even else -1

    if sign > 0:
        print("Positive")
    elif sign == 0:
        print("Zero")
    else:
        print("Negative")

if __name__ == "__main__": main()


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/env python3
      |  ^
a.cc:2:3: error: invalid preprocessing directive #-
    2 | # -*- coding: utf-8 -*-
      |   ^
a.cc:13:11: error: stray '#' in program
   13 |     else: # B < 0
      |           ^
a.cc:6:1: error: 'def' does not name a type
    6 | def main():
      | ^~~
Language: C++

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


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

#include <stdio.h>

int main(void) {
    int a,b;
    scanf("%d %d",&a,&b);
    if (a > 0) {
        printf("Positive\n");
    } else if (b >= 0) {
        printf("Zero\n");
    } else if((a - b) % 2 = 0) {
        printf("Negative\n");
    } else {
        printf("Positive\n");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:27: error: lvalue required as left operand of assignment
   10 |     } else if((a - b) % 2 = 0) {
      |                           ^
Language: C++

// 簡易競プロテンプレ
#include <bits/stdc++.h>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:2: error: 'll' was not declared in this scope
    6 |  ll a, b;
      |  ^~
a.cc:7:6: error: 'a' was not declared in this scope
    7 |  if (a>0) {cout << "Positive" << endl; return 0;}
      |      ^
a.cc:8:6: error: 'b' was not declared in this scope
    8 |  if (b>=0) {cout << "Zero" << endl; return 0;}
      |      ^
a.cc:9:7: error: 'b' was not declared in this scope
    9 |  if ((b-a)%2) cout << "Positive" << endl; else cout << "Negative" << endl;
      |       ^
a.cc:9:9: error: 'a' was not declared in this scope
    9 |  if ((b-a)%2) cout << "Positive" << endl; else cout << "Negative" << endl;
      |         ^