皮皮学,免费搜题
登录
搜题
【单选题】
下列算法的时间复杂度是( )。 void combi(int n) { int i,j,k; for ( i=1; i<=n; i++) for ( j=i+1; j<=n; j++) for ( k=j+1; k<=n; k++) cout<
A.
O(log2n)
B.
O(n3)
C.
O(n/2)
D.
O(n2)
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】有以下程序#include void prt(int *x,int*y,int*z){ printf('%d,%d,%d\n',++*x,++*y,*z++);}main(){ int a=10,b=40,c=20; prt(&a,&b,&c); prt(&a,&b,&c);}程序的输出结果是
【单选题】有以下程序 #include int fun(int x) { printf("x=%d",++x); } int main() { fun(12+5); return 0; }
A.
x=12
B.
x=13
C.
x=17
D.
x=18
【简答题】We danced __1__ the years. One night when I was fif, __2__ in some painful __3__, my father asked me to dance with him. He put his hand on my __4_ and I jumped out of the chair __5__, “Don’t touch...
【简答题】Use the words and phrases you have learned in unit 1 to fill in the following blanks. The students ______ (向---走去 ) the cafeteria when the classes were over. Up to now the researchers __________(还没有找到...
【判断题】预算单位应向中国人民银行申请开立零余额账户。( )
A.
正确
B.
错误
【简答题】Complete the sentences with the correct form of the words in brackets. 1).After playing football all afternoon, Philip felt complete and total ­­­­­_______.(exhausted) 2).Stadiums filled with thousand...
【单选题】【 15 年】预算单位应向( )申请开立零余额账户
A.
中国人民银行
B.
财政部门
C.
上级主管部门
D.
社保部门
【简答题】(7)有以下程序 #include main() { int x scanf('%d',&x) if(x>15) printf('%d',x-5) if(x>10) printf('%d',x) if(x>5) printf('%d/n',x+5) } 若程序运行时从键盘输入12,则输出结果为 【7】 。
【简答题】Vocabulary and Structure Complete the sentences with the correct form of the words in brackets. 1). After playingfootball all afternoon, Philip felt complete and total ­­­­­_______.(exhausted) 2). Sta...
【单选题】根据支付结算支付制度的规定,预算单位应向( )申请开立零余额账户
A.
中国人民银行
B.
财政部
C.
上级主管部门
D.
社保部门
相关题目: