diff --git a/Codeforces/705B_2.cpp b/Codeforces/705B_2.cpp new file mode 100644 index 0000000..8955e81 --- /dev/null +++ b/Codeforces/705B_2.cpp @@ -0,0 +1,36 @@ +#include +#include +#include +using namespace std; +int main() +{ + int n; + scanf("%d",&n); + int tmp; + int a0=0; + int a1=0; + int laststate=2; + for(int i=0; i