diff --git a/BestCoder/Round-80/1001.cpp b/BestCoder/Round-80/1001.cpp new file mode 100644 index 0000000..c61d4ab --- /dev/null +++ b/BestCoder/Round-80/1001.cpp @@ -0,0 +1,33 @@ +#include +#include +#include +using namespace std; +// +int main() +{ + int t; + scanf("%d",&t); + while(t--) + { + int n; + scanf("%d",&n); + int tmp; + bool haveone=false; + bool havezero=false; + for(int i=0;i