题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=5882
#include<iostream>
using namespace std;
int main()
{int T,n; cin>>T;while(T--){cin>>n;if(n%2) cout<<"Balanced"<<endl;else cout<<"Bad"<<endl;}return 0;
}
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=5882
#include<iostream>
using namespace std;
int main()
{int T,n; cin>>T;while(T--){cin>>n;if(n%2) cout<<"Balanced"<<endl;else cout<<"Bad"<<endl;}return 0;
}