diff --git a/HDOJ/5882.cpp b/HDOJ/5882.cpp new file mode 100644 index 0000000..8608b5d --- /dev/null +++ b/HDOJ/5882.cpp @@ -0,0 +1,17 @@ +#include + +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; +}