| ||||||||||
| 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 | |||||||||
Re:我来说一下几种不可能的情况:如下:In Reply To:能不能给几个测试数据?我能想到的都过了 Posted by:fans at 2008-10-18 22:56:29 1:N为偶数不可能. 2:N为奇数时,N%2==0位的字符串一定是数字,N%2==1位时的字符串一定是操作符. 3:根据首位就能判断是数字还是操作符 4:可以不用栈,因为只有两个操作符,且没有括号.可以先算*,再算+ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator