Link:

AGC002 传送门

A:

……

#include <bits/stdc++.h>

using namespace std;
int a,b;
int main()
{
    scanf("%d%d",&a,&b);
    if(a>0) puts("Positive");
    else if(a<=0&&b>=0) puts("Zero");
    else if((b-a)&1) puts("Positive");
    else puts("Negative"); 
    return 0;
}
Problem A

相关文章:

  • 2021-06-12
  • 2021-05-30
  • 2021-11-21
  • 2022-01-18
  • 2022-03-01
  • 2022-01-06
  • 2022-02-05
猜你喜欢
  • 2021-09-30
  • 2021-10-10
  • 2021-09-11
  • 2021-07-31
  • 2022-12-23
相关资源
相似解决方案