General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
22897938 Practice:
maiquynhtruong
705B - 22 Python 2 Accepted 171 ms 5500 KB 2016-12-12 08:08:04 2016-12-12 08:08:04
→ Source
input()
a = map(int, raw_input().split())
m = 0
for x in a:
	print 2 - (m^(~x&1)),
	m = m^(~x&1)
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details