mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 5882.cpp
This commit is contained in:
parent
6650b9c93f
commit
0befcff854
17
HDOJ/5882.cpp
Normal file
17
HDOJ/5882.cpp
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int T, n;
|
||||||
|
scanf("%d", &T);
|
||||||
|
while(T--)
|
||||||
|
{
|
||||||
|
scanf("%d", &n);
|
||||||
|
if(n&1)printf("Balanced\n");
|
||||||
|
else printf("Bad\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user