# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
102442346 |
Practice:
anythink |
705B
- 22
|
GNU C++11
|
Accepted
|
404 ms
|
4 KB
|
2020-12-27 08:10:19 |
2020-12-27 08:10:19 |
|
#import<iostream>
int x,r,q;main(){while(std::cin>>x)if(q++)std::cout<<2-(r^=~x&1)<<' ';}
Click to see test details