?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
46543408 |
Practice: keertanay4 |
705B - 22 | GNU C++11 | Accepted | 405 ms | 8 KB | 2018-12-03 16:15:39 | 2018-12-03 16:20:00 |
#import<iostream> int x,r,q;main(){while(std::cin>>x)if(q++)std::cout<<2-(r^=~x&1)<<' ';}
?
?
?
?