Create 5882.cpp

This commit is contained in:
Kirigaya Kazuto 2016-09-18 09:07:35 +08:00 committed by GitHub
parent 6650b9c93f
commit 0befcff854

17
HDOJ/5882.cpp Normal file
View 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;
}