200000
2 526767110
2 724642759
2 567837900
2 104106873
2 357915481
2 33997211
2 444788944
2
<1586974 bytes omitted>
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#259 | #1001. A. 神秘谜题 | Time Limit Exceeded | 0 | 2076 ms | 35292 K | Python 3 / 281 B | wahahah | 2019-06-23 15:24:35 |
t=input()
t=int(t)
i=0
y=0
l=[]
while i<t:
str=input()
s=str.split()
if int(s[0])==2:
l.insert(0,int(s[1]))
elif int(s[0])==1:
for x in range(0,len(l)):
l[x]=l[x]+1
i=i+1
for j in l:
y=y^j
print(j)
print(y)
200000
2 526767110
2 724642759
2 567837900
2 104106873
2 357915481
2 33997211
2 444788944
2
<1586974 bytes omitted>