海航音乐dulala:求2006程序员下午题答案,急,谢谢
来源:百度文库 编辑:中科新闻网 时间:2024/05/06 09:01:26
一
(1) 001 (2) aba
010 bcb
100 aba
(3) B(j,n-i+1)
(4) C(n-i+1,n-j+1)
(5) A(n-j+1,i)
二
num>9999 or num>=10000
result=0
m/10
d*10+d
mul*100
三 @@不知道那个对
InitStack(*s_bak) OR InitStack(&s_bak)
Top(*s) OR Top(*s)
Push(s_bak,ch) OR Push(&s_bak,ch)
!IsEmpty(*s_bak) OR !IsEmpty(s_bak)
Pop(s_bak) OR Pop(&s_bak)
四
acc_qty=0
acc_qty*data[i].Price
acc_qty - acc_req[i]
tag == 1
mincost >= cost_Produce + cost_Keep
or mincost > cost_Produce + cost_Keep
自己也没想明白用那个 ,应该两个都可以
五
List1.list(List1.listindex)
list1.listcount-1
list1.list(i)
list2.listindex
list2.clear
六
估计也是没什么人选这题吧
七
true
x as single
sin(x)+2
cos(x)+2
timer.enabled=false
八
this
super
public abstract int getSum();
5
-3 2