| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
+-号序列转为最终答案的最简单方法while 序列长度大于二 do
if 序列第三个是+ then
输出2
删除序列第三个
else
输出1
删除序列第二个
end if
end while
输出1
注意最后输出的那个1!
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator