[说明] 函数print (BinTreeNode *t; DateType &x)的功能是在二叉树中查找值为x的结点,并打印该结点所有祖先结点。在此算法中,假设值为x的结点不多于一个。此算法采用后序的非递归遍历形式。函数中使用栈ST保存结点指针ptr以及标志tag,Top是栈顶指针。 [函数] void print (BinTreeNode * t; DateType &x) stack ST;int i,top;top=0; //置空栈 while (t ! =NULL && t->data ! =x || top ! =0) while (t!=NULL && t->data !=x) //寻找值为x的结点 (1) ; ST [top].ptr=t; ST[top].tag=0; (2) ; if(t!=Null && t->data==x) //找到值为x的结点 for(i=1; (3) ; i++) printf("%d", ST [top].ptr->data); else while( (4) ) top--; if(top>0) ST [top] .tag=1; (5) ;
Part B Directions: The following paragraphs are given in a wrong order. For Questions 41-45, you are required to reorganize these paragraphs into a coherent article by choosing from the list A-G to fill in each numbered box. The first and the last paragraphs have been placed for you in Boxes. Mark your answers on ANSWER SHEET 1.[A] Then came Merck’s withdrawal from the market of its blockbuster anti-in-flammatory drug, Vioxx, because of an increase in side effects, including heart attacks and strokes. This led one of FDA’s medical officers, in November testimony before the Senate Finance Committee, to accuse his own colleagues of discounting recommendations from the agency’s safety researchers, and of consistently being in denial when data indicate safety problems from an approved drug.[B] The first kind of error is highly visible, causing the regulators to be attacked by the media and patient groups, and to be investigated by Congress. But the second kind of error--keeping a potentially important product out of consumers’ hands--is usually a non-event, eliciting little attention, let alone outrage.[C] The FDA is a favorite target of critics, who variously accuse regulators of excessive risk-aversion and delay of approvals, or of too cozy a relationship with the drug industry. Sen. Charles E. Grassley (R-Iowa), the chairman of the Senate Finance Committee, recently chided the agency, "The health and safety of the public must be the FDA’s first and only concern."[D] First the FDA (Food and Drug Administration) was blindsided by Chiron Corp. ’s inability to provide flu vaccine this season because of contamination at its manufacturing facility, depriving Americans of half the usual supply.[E] Grassley is right, but particularly when governmental pre marketing approval of a product is required, greater safety is not synonymous with more stringent regulation. In fact, net benefit to patients often suffers because of an obscure regulatory anomaly: the asymmetry of outcomes from the two types of mistakes that regulators can make. A regulator can commit an error by permitting something bad to happen (approving a harmful product), or by preventing something good from becoming available (not approving a beneficial product). Both outcomes are bad for the public, but the consequences for the regulator are very different.[F] As a result, regulators make decisions defensively--in other words, to avoid approvals of harmful products at any cost--so they tend to delay or reject new products of all sorts, from fat substitutes to vaccines and painkillers. That’s bad for public health and for consumers’ freedom to choose.[G] Congress has a long and ignoble history of exaggerated legislative responses to perceived health crises. It seems to be at it again. Recent events have shifted the Congress into crisis mode once more. 41
案例分析题甲建筑工程公司承包某住宅小区建设,试验工乙依据规范要求。制作混凝土试块,并填写了混凝土抗压强度试验报告,如下所示。混凝土抗压强度试验报告编号:××-004试验编号:××-225委托编号:××-335工程名称及部位工程地板试件编号××-886委托单位甲建筑工程公司项目部试验委托人×××设计强度等级C30,P8实测坍落度、扩展度160mm水泥品种及强度等级P·S32.5试验编号××C-022砂种类中砂试验编号××S-011石种类、公称直径碎石5~10mm试验编号××G-013外加剂名称UEA试验编号××D-018掺和料名称粉煤灰Ⅱ级试验编号××F-019配合比编号××-24成型日期××年××月××日要求龄期28d要求试验日期××年××月××日养护条件标准养护收到日期××年××月××日试块制作人乙某试验结果试验日期实际龄期/d试件边长/mm受压面积/mm2荷载/kN平均抗压强度/MPa折合150mm立方体抗压强度/MPa达到设计强度等级/(%)单块值平均值××年××月××日281001000046046346.344147450480结论:合格批准×××审核×××试验×××试验单位×××试验中心报告日期××年××月××日请根据已知条件,回答下列问题。 本表()保存一份。
A. 仅由建设单位
B. 仅由施工单位
C. 由监理单位
D. 由建设单位和施工单位各