General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
19873225 Practice:
kefaa
705B - 22 GNU C++11 Accepted 46 ms 1844 KB 2016-08-14 20:35:25 2016-08-14 20:35:25
→ Source
#include<cstdio>
main(){int n,x,r=0;scanf("%d",&n);while(n--){scanf("%d",&x);r^=x&1^1;printf("%d\n",2-r);}}
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details